Wednesday, March 25, 2015

Tomcat Can not start after installation

No log is generated,  Tomcat cat just wouldn't start.

When modify startup.bat file, be careful in modifying the scripts.
following error occur because one of the setting copied is got cut into 3 lines.

Please add them add into a single line in notepad.


c:\apache-tomee-plus-1.7.1\bin\startup.bat

rem ----------- Joe ADDED ----------------
Set JAVA_HOME=C:\Java\jdk1.7.0_76
set LANG=C
set NLS_LANG=_.UTF8
set JAVA_OPTS=-server -Xmn384m -Xms768m -Xmx768m -Xss512k -XX:PermSize=32m -XX:MaxPermSize=256m -XX:SurvivorRatio=4 -XX:+DisableExplicitGC -XX:+UseTLAB -XX:+ResizeTLAB -Dfile.encoding=UTF8
rem ----------- Joe ADDED ----------------

No comments:

Post a Comment