tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miriam esteve <miesvesa...@gmail.com>
Subject Re: Tomcat generate empty 0 kb logs
Date Wed, 03 Mar 2010 15:49:15 GMT
I change -XX:MaxPermSize=2160m to 256m on JAVA_OPTS of enviorement
variables, and now, catalina.bat run works, and start tomcat, but, the log
is even empty.


2010/3/3 Miriam esteve <miesvesakai@gmail.com>

> How can the tomcat start with: start tomcat5, and I can access to my web
> application and with startup.sh don't start???
>
> Anyway,
> I'm on Windows Vista and I have two setting of JAVA_OPTS,
> one in the enviorement variables:
> -server -XX:+UseParallelGC -Xmx876m -XX:MaxPermSize=2160m
> -Djava.awt.headless=true
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> -Dfile.encoding=UTF-8 -Dsakai.demo=true
>
> and the other ones in the GUI of tomcat5w:
> -Dcatalina.base=E:\opt\tomcat
> -Dcatalina.home=E:\opt\tomcat
> -Djava.endorsed.dirs=E:\opt\tomcat\common\endorsed
> -Djava.io.tmpdir=E:\opt\tomcat\temp
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=E:\opt\tomcat\conf\logging.properties
> -Xmx768m
> -Xms768m
> -XX:PermSize=128m
> -XX:MaxPermSize=256m
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
>
> (One question about that,are these the same JAVA_OPTS??)
>
> And I don't have CATALINA_OPTS
>
> 2010/3/3 Caldarale, Charles R <Chuck.Caldarale@unisys.com>
>
>> > From: Miriam esteve [mailto:miesvesakai@gmail.com]
>>
>> > Subject: Re: Tomcat generate empty 0 kb logs
>> >
>> > Error occurred during initialization of VM
>> > Could not reserve enough space for object heap
>> > Could not create the Java virtual machine.
>>
>> The above would explain why your logs are empty - Tomcat isn't even
>> starting.  You apparently are requesting more heap space than your OS allows
>> for the process type.  What platform are you on, and what do you have set in
>> JAVA_OPTS or CATALINA_OPTS?
>>
>> > the Tomcat works fine
>>
>> Please reconcile that statement with the above error messages...
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message