|
From: Leif M. <le...@ta...> - 2008-10-30 13:40:29
|
Uwe, Yes I understand that. But I am trying to find out what is different when you run under the Wrapper. By running with the following property, we can see the full generated Java command to try and track down the problem. wrapper.java.command.loglevel=INFO One thing I noticed in the wrapper.conf file was that there was a line feed after the "=-" of wrapper.java.additional.5=- Is that in the copy you are working with as well? Cheers, Leif 2008/10/30 Uwe Lynen <uw...@ly...>: > I'm not sure if I was clear enough. When I run Tomcat using STARTUP - no > wrapper at all- everything works fine. It has been up now for 4 days without > any memory error. > As I mentioned earlier the XMS memory is 128m, XMX is 1024, and > XX:MAXPERMSIZE=256. > When I attempt to run Tomcat using either console mode or as a service with > Wrapper I get the memory error, it just appears more quickly in service > mode. Again, I'm attaching the wrapper.conf file. > > > Regards, > Uwe Lynen > > -----Original Message----- > From: Leif Mortenson [mailto:le...@ta...] > Sent: October 29, 2008 12:27 PM > To: uw...@ly... > Cc: wra...@li... > Subject: Re: [Wrapper-user] java.lang.OutOfMemoryError: PermGen space > > Uwe, > Could you please set the wrapper.java.command.loglevel=INFO property > then run both as a service and as a console App. I am wondering if > your JRE_HOME environment variable is the same in both cases. One > common cause of problems like this is when the SYSTEM environment is > different than the user environment. This can lead to a different JVM > version being run causing unexpected errors. > > Other than that, they should run identically as a service or as a > console application. > > Cheers, > Leif > > On Mon, Oct 27, 2008 at 10:22 PM, Uwe Lynen <uw...@ly...> wrote: >> I thought that I had it resolved; however, it appears that when in Service >> mode the memory error appears right away but when in console mode the > memory >> error appears after a while. >> I ran Tomcat using the Startup batch file that comes with Tomcat and the >> error does not appear. The memory settings in the setenv batch file are as >> follows: XMS=128m, XMX=1024m, and XX:MAXPERMSIZE=256. >> I'm attaching the wrapper.conf file for your review. >> If you wish I can generate the wrapper log file running both under console >> and service mode and the command window using the startup batch file. >> >> >> Regards, >> Uwe Lynen >> >> >> -----Original Message----- >> From: Leif Mortenson [mailto:le...@ta...] >> Sent: October 26, 2008 1:51 AM >> To: uw...@ly...; wra...@li... >> Subject: Re: [Wrapper-user] java.lang.OutOfMemoryError: PermGen space >> >> Uwe, >> Most likely this is being caused by a difference in the memory >> configuration in the tomcat.bat file and wrapper.conf file. >> >> Please try adding the following to your wrapper.conf and then compare >> the generated java command line to that generated by tomcat.bat: >> wrapper.java.command.loglevel=INFO >> >> If you post back with both generated java command lines, and the >> contents of your wrapper.conf, I should be able to point out the >> problem. >> >> Cheers, >> Leif >> >> On Sun, Oct 26, 2008 at 12:00 PM, Uwe Lynen <uw...@ly...> wrote: >>> When I run Tomcat using the TOMCAT.bat in console mode this error does > not >>> happen. When I run Tomcat as a service this error happens almost >>> immediately. >>> >>> >>> >>> >>> >>> >>> >>> Regards, >>> >>> Uwe Lynen____________________ >>> >>> Tel: 416 690-1973 >>> >>> Fx: 416 690-2434 >>> >>> Cell: 647 272-6740 >>> >>> Personal e-mail: uw...@ly... >>> >>> Office: uw...@p-... >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> >> > > > > -- > Leif Mortenson > President > Tanuki Software, Ltd. > 6-16-7-1001 Nishi-Kasai, Edogawa-ku > Tokyo 134-0088 Japan > Tel/Fax: +81-3-3878-0415 > モートンソン リーフ > 取締役 > タヌキソフトウェア有限会社 > 〒134-0088 東京都江戸川区西葛西6-16-7-1001 第2 白子ビル > Tel/Fax: 03-3878-0415 > http://www.tanukisoftware.com > lei...@ta... > -- Leif Mortenson President Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-0415 モートンソン リーフ 取締役 タヌキソフトウェア有限会社 〒134-0088 東京都江戸川区西葛西6-16-7-1001 第2 白子ビル Tel/Fax: 03-3878-0415 http://www.tanukisoftware.com lei...@ta... |