tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Latest-version TomEE 1.5.2-SNAPSHOT (Tomcat 7.0.34?) just died on me, nothing in server logs
Date Thu, 31 Jan 2013 13:55:37 GMT
wow -XX:MaxPermSize=4096m
that might be a bit huge ^^

Permanent Generation Space is used for loaded classes and stuff. Usually 256m is plenty!
In our production with 16 fat webapps we have 384m or so...

LieGrue,
strub




----- Original Message -----
> From: "Howard W. Smith, Jr." <smithh032772@gmail.com>
> To: users@tomee.apache.org
> Cc: 
> Sent: Thursday, January 31, 2013 2:14 PM
> Subject: Re: Latest-version TomEE 1.5.2-SNAPSHOT (Tomcat 7.0.34?) just died on me, nothing
in server logs
> 
> Interesting, I ran tomcat7w.exe from d:\tomcat7.0.35\bin folder, and I 
> am
> accessing the 'tomee' windows service config. So, I can use tomcat7w.exe 
> to
> configure tomee's window service's java options. Below, is what is
> populated (most likely, by default) on Java options tab of tomee windows
> service.  :)
> 
> -Dcatalina.base=D:\apache-tomee-plus-1.5.2-SNAPSHOT
> -Dcatalina.home=D:\apache-tomee-plus-1.5.2-SNAPSHOT
> -Djava.endorsed.dirs=D:\apache-tomee-plus-1.5.2-SNAPSHOT\endorsed
> -Djava.io.tmpdir=D:\apache-tomee-plus-1.5.2-SNAPSHOT\temp
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=D:\apache-tomee-plus-1.5.2-SNAPSHOT\conf\logging.properties
> -Djava.awt.headless=true
> -XX:+UseParallelGC
> -XX:MaxPermSize=256M
> -Xss2048k
> -Xmx1024m
> 
> I don't usually use the following, but maybe I can start using them, now.
> please advise.
> 
> -XX:+UseParallelGC
> -Xss2048k
> 
> some time has passed since I wrote, all that I mentioned above, so I
> configured the following on production server via tomcat7w.exe:
> 
> Java Options (final):
> -Dcatalina.base=D:\apache-tomee-plus-1.5.2-SNAPSHOT
> -Dcatalina.home=D:\apache-tomee-plus-1.5.2-SNAPSHOT
> -Djava.endorsed.dirs=D:\apache-tomee-plus-1.5.2-SNAPSHOT\endorsed
> -Djava.io.tmpdir=D:\apache-tomee-plus-1.5.2-SNAPSHOT\temp
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=D:\apache-tomee-plus-1.5.2-SNAPSHOT\conf\logging.properties
> -Djava.awt.headless=true
> -Dtomee.keep-server-info=true
> -Xmx4096m
> -XX:MaxPermSize=4096m
> -XX:+UseTLAB
> -XX:+UseConcMarkSweepGC
> -XX:+CMSClassUnloadingEnabled
> 
> On Java tab of tomcat7w.exe, have the following specified:
> 
> Initial memory pool = 512
> Maximum memory pool = 4096
> Thread stack size   =
> 
> The web app via TomEE windows service is running. will continue to keep you
> posted on this issue related to atmosphere and tcnative.
> 
> 
> On Thu, Jan 31, 2013 at 7:43 AM, Howard W. Smith, Jr. <
> smithh032772@gmail.com> wrote:
> 
>>  I'm attempting to use tomee service exe. It installed correctly.
>> 
>>  what is tomee's equivalent to tomcat7w.exe? I'm trying to figure 
> out how
>>  to configure the service, populate java options like java options are
>>  populated on the Java tab of the tomcat7w.exe dialog?
>> 
>> 
>>  On Thu, Jan 31, 2013 at 6:20 AM, Romain Manni-Bucau 
> <rmannibucau@gmail.com
>>  > wrote:
>> 
>>> 
>>>  maybe try using tomee service exe instead of tomcat ones too
>>> 
>> 
> 

Mime
View raw message