Hi, Thanks for this useful information. I changed the httpd.conf file as suggested and it started working.
Thanks again, Reema. -----Original Message----- From: ext Zeinert, Holger [mailto:[EMAIL PROTECTED]] Sent: 19 November, 2002 19:24 To: Bangar Reema (NIC/Hyderabad); [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Problem in opening .ttml file under Windows NT Hi, your first e-mail did not ring a bell, but now the second. I had the same problems with mod_dtcl on Windows when using two frames on a page. The reason seemed to be, that neither Tcl nor mod_dtcl per se are thread safe. But default configuration of Apache on NT is: ...\Apache Group\Apache\conf\httpd.conf: MaxRequestsPerChild 0 ThreadsPerChild 50 which means: only one process is used (MaxRequestsPerChild would terminate a certain process after that amount of requests) and in this process a maximum of 50 threads are used. I changed this to MaxRequestsPerChild 1 ThreadsPerChild 1 This works fine now, although sometimes on slow machines the second frame takes some time to be loaded (not on my laptop: 1.2GHz, 1GB :-)). The configuration forces Apache to handle only one request per process and in that process don't use threads. The drawback is, that for every request a new process is created and your log file gets filled with [Thu Nov 14 14:01:52 2002] [error] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting But then frames work fine for me. Best regards Holger ____________________________________________________________________ | | Holger Zeinert - Development Manager CAE Division |____________________________________________________________________ | LMS Deutschland GmbH - tel +49 631 4166-180, fax -166 | Luxemburger Str. 7, 67657 Kaiserslautern, GERMANY | mailto:[EMAIL PROTECTED] http://www.lmsintl.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 19, 2002 2:31 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: RE: Problem in opening .ttml file under Windows NT > > > Hi, > I tried after removing cgi_eval but still getting same error. > There seems to be a problem of calling multiple frames in a > file. When i tried with only one frame, it worked fine. > Here's the code: > > ************************* > <? > source cgi.tcl > cgi_title "Demo page for IP51" > > cgi_frameset border=0 frameborder=0 framespacing=0 rows=49,* { > cgi_frameset border=0 frameborder=0 framespacing=0 cols=219,* { > cgi_frame =gif1.ttml scrolling=no noresize TARGET=contents > marginwidth=0 marginheight=1 name=banner > } > } > ?> > ****************************** > > Any idea why is it behaving in this manner ? > > Regards, > Reema. > > -----Original Message----- > From: ext yahalom emet [mailto:[EMAIL PROTECTED]] > Sent: 19 November, 2002 18:16 > To: Bangar Reema (NIC/Hyderabad) > Cc: mod_dtcl > Subject: Re: Problem in opening .ttml file under Windows NT > > > hello > > I don't know if this will solve it but you should remove the > cgi_eval as > mod_dtcl can handle errors by itself. > > Thanks > > Yahalom Emet > Software Developer > Xor Technologies Ltd. > > Tel: +972 (0)4-6619164 > E-mail: [EMAIL PROTECTED] > Web: http://www.xortechnologies.com > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 19, 2002 2:35 PM > Subject: RE: Problem in opening .ttml file under Windows NT > > > > Hi, > > Now I am facing another problem. I am using cgi.tcl to > convert into html > format. My ttml file is like this: > > > > *************************************************** > > <? > > > > source cgi.tcl > > cgi_eval { > > cgi_title "Demo page for IP51" > > > > cgi_frameset border=0 frameborder=0 framespacing=0 rows=49,* { > > cgi_frameset border=0 frameborder=0 framespacing=0 cols=219,* { > > cgi_frame =gif1.ttml scrolling=no noresize TARGET=contents > marginwidth=0 marginheight=1 name=banner > > cgi_frameset border=0 frameborder=0 framespacing=0 > cols=*,112 { > > cgi_frame =catg.ttml scrolling=no marginwidth=0 > marginheight=0 > noresize Target=main name=banner2 > > cgi_frame =ip51.ttml scrolling=no marginwidth=0 > marginheight=0 > noresize Target=main name=banner1 > > } > > > > } > > cgi_frameset rows=*,39 { > > cgi_frameset cols=123,* { > > cgi_frameset rows=50,535* { > > cgi_frame =topleft.ttml scrolling=no marginwidth=0 > marginheight=0 noresize Target=main name=contents > > cgi_frame =left.ttml scrolling=auto marginwidth=0 > marginheight=0 > noresize Target=main name=contents2 > > } > > cgi_frameset border=0 frameborder=0 framespacing=0 > marginwidth=0 marginheight=0 rows=20,* > > { > > cgi_frame =menus.ttml scrolling=no noresize > TARGET=contents > marginwidth=0 marginheight=0 name=menu > > cgi_frame =status.ttml scrolling=auto marginwidth=0 > marginheight=0 noresize Target=main name=main > > } > > } > > > > cgi_frameset cols=123,* { > > cgi_frame =bottomleft.ttml scrolling=no marginwidth=0 > marginheight=0 name=contents1 > > cgi_frameset rows=*,38% { > > cgi_frame =statusdisp.ttml scrolling=auto marginwidth=0 > marginheight=0 noresize Target=main name=serverstdout > > cgi_frame =onelinehelp.ttml scrolling=no marginwidth=0 > marginheight=0 noresize Target=main name=onelinehelpbar > > } > > } > > } > > } > > } > > ?> > > *********************************************** > > > > On opening this ttml file i get the following errro: > > > > The instruction at "0x0075d326" referenced memory at > 0x000000004. The > memory could not be read. > > > > Why is apache accessing this memory? > > > > Reply, > > Reema. > > > > -----Original Message----- > > From: ext [mailto:[EMAIL PROTECTED]] > > Sent: 19 November, 2002 11:41 > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: RE: Problem in opening .ttml file under Windows NT > > > > > > >.ttml files shouldn't be in the cgi-bin as they aren't > executable in that > > >way. Move the file into a regular, non-executable directory. As > > >far as the "module is already added" message, this seems > more like a > general > > >apache > > >config issue. Not sure what's causing that. The module > will *most likely* > > >work despite that error message. > > > > >- David Brancato > > > > You are right. I placed .ttml file in htdocs directory and > it started > working. > > Thanks, > > Reema. > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
