|
From: Scott W. R. <sr...@in...> - 2004-01-05 05:05:59
|
Leif, I'm not getting anywhere with this - it seems to be an environmental issue. Perhaps you can take a look at the wrapper.conf file (attached)? I'm using the same configuration, installation directory and binaries on the two different OS's. The only difference is the OS and the hardware. The Win2K system is a dual CPU machine. I get no output to the wrapper.log file regardless of whether I enable debugging or not. If I run the app via the wrapper console mode (wrapper.exe -c), I see the console output (of course) - and it gets logged to the wrapper.log file (attached). If I run "wrapper -t" to start the app, I get no output beyond the standard 3 log statements from Wrapper itself. If I start it from the Windows Management Console, *no* wrapper.log file gets created at all. I searched the filesystems to see if it's getting created somewhere else, but it's not... Any thoughts? Thanks much, Scott > -----Original Message----- > From: wra...@li... > [mailto:wra...@li...] On Behalf > Of Leif Mortenson > Sent: Saturday, January 03, 2004 11:23 AM > To: wra...@li... > Subject: Re: [Wrapper-user] Tomcat console logging: Win XP > vs. Win 2K [faked-from][mx] > > > Scott, > There are no problems that I am aware of on Win 2K with logging. > Version 3.0.5 simply redirects all stdout and stderr output > from the JVM > process into the wrapper.log file. Are you sure that the JVM is not > redirecting > that output to another location? It is possible to redirect > System.out > to another > stream. > > Try setting the wrapper.debug=true property in the > wrapper.conf file > and restart your > application. You should see debug ping output from the JVM > and Wrapper > every 5-6 > seconds. If you are only seeing the output from the Wrapper then the > JVM output may > be getting redirected. Check any other log files to see if > the output > is showing up in > them. If you are unable to get this figured out then post back with > the above wrapper.log > output with debug enabled. I may be able to give you some > further clues. > > Cheers, > Leif > > > Scott W. Ruch wrote: > > >Wrapper version: win32 3.0.5 > > > >I'm running Tomcat 4.1.29 as an NT service on Win 2K > >and Win XP with the following logging configuration. > >On XP, the Tomcat console log is directed to wrapper.log > >as expected, but on Win 2K it is not. On 2K, all I get > >is the initial STATUS & INFO logging from Wrapper. > > > >Any ideas what would be causing this? > > |