Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ofer, > > On 2/27/12 6:11 AM, Ofer Israeli wrote: >> Christopher Schultz wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> >>> Ofer, >>> >>> On 2/23/12 1:57 PM, Ofer Israeli wrote: >>>> Felix Schumacher wrote: >>>>> Am 23.02.2012 19:32, schrieb Ofer Israeli: >>>>>> Caldarale, Charles R wrote: >>>>>>>> From: Caldarale, Charles R Subject: RE: Tomcat with mod_jk >>>>>>>> becomes irresponsive after working for awhile >>>>>>> >>>>>>>> You might want to take a thread dump of Tomcat and see just >>>>>>>> what is going on. >>>>>>> >>>>>>> Also look in the Tomcat logs (there are several) to see if >>>>>>> errors are being reported there. >>>>>>> >>>>>>> - Chuck >>>>>> >>>>>> Which logs are you referring to? I've turned on org.apache logs >>>>>> via log4j and haven't found anything related. >>>>> Normally they can be found under $CATALINA_BASE/logs. The most >>>>> important ones are usually catalina.out and localhost*log. >>>>> >>>>> Regards Felix >>>> >>>> I don't see these logs in the server. Could it be that this is due >>>> to Tomcat being embedded? >>> >>> Wait, you are running Tomcat as an embedded service? That seems liek >>> it would be reasonable information to include in your original post. >>> Why did it take 6 posts to get this information out of you? >>> >>> If you are embedding Tomcat, you should have control over the >>> logging setup. Where are you redirecting stdout? >>> >>> - -chris >> >> Hi Chris, >> >> Guess it's my bad for not including this information in previous >> posts - I didn't know if this is related to the problem at hand or >> not. On startup we redirect stdout and stderr to the same log file >> that we log other information. > > How exactly do you do that? > > - -chris
In our code, on startup, we close stdout and stderr via the System class. Then we set the output and error streams to a propietary class which uses Log4J to write out to our file. /Ofer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org