Foros de discusión

Tomcat dosen't start when I do the following changes in catalina.bat

thumbnail
saurabh joshi, modificado hace 16 años.

Tomcat dosen't start when I do the following changes in catalina.bat

Junior Member Mensajes: 47 Fecha de incorporación: 6/08/07 Mensajes recientes
Hi All,

My server is on Windows-2003. I am trying to integrate alfresco to my liferay4.3
My catalina.bat has the following entry----

set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config

I change it to the following(as the documentation says)

set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:MaxPermSize=128m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config=%CATALINA_HOME%/conf/jaas.config

And then the Tomcat dosen't run.

Please suggest me so that I can get rid of this.

Thanks & Regards,
Saurabh.
thumbnail
Renato Losio, modificado hace 16 años.

RE: Tomcat dosen't start when I do the following changes in catalina.bat

Regular Member Mensajes: 124 Fecha de incorporación: 25/10/06 Mensajes recientes
Hello Saurabh.

What do you mean by "does not start"? What's the error message?

One of the changes you are doing is increasing the initial (-Xms1024m) heap size to 1GB. What are the specs of your server?

Those changes have to be tuned according to your (production) environment.

cheers

r
thumbnail
saurabh joshi, modificado hace 16 años.

RE: Tomcat dosen't start when I do the following changes in catalina.bat

Junior Member Mensajes: 47 Fecha de incorporación: 6/08/07 Mensajes recientes
Hi Renato,

Thanks for your response.
When I do the changes I mentioned in catalina.bat, and try to start the server again(run startup.bat). The Tomcat will popup and vanish away, no error is shown.

My server specs are:
Win2003-sp1
2.99GHz, 2GB RAM
Intel Pentium4 CPU, 3GHz
avaliable space on HDD 109GB

Waiting for your further guidance.

Regards,
Saurabh.