Can';t在调试模式下启动Liferay6.2 Tomcat7服务器
我的liferay服务器工作正常,除了在调试模式下…它只是在控制台中打印Can';t在调试模式下启动Liferay6.2 Tomcat7服务器,tomcat,liferay,portlet,Tomcat,Liferay,Portlet,我的liferay服务器工作正常,除了在调试模式下…它只是在控制台中打印 Jun 25, 2014 1:32:05 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not fou
Jun 25, 2014 1:32:05 PM org.apache.catalina.core.AprLifecycleListener init
INFO:
The APR based Apache Tomcat Native library which allows optimal performance in production environments
was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib
/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
Jun 25, 2014 1:32:06 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
INFO: Deploys configuration descripter
Starts loading jar files
Starts Loading portal-setup-wizard.properties,portal-ide.properties,portal-developer.properties
...........
Jun 25, 2014 1:32:29 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
13:32:40,161 INFO [localhost-startStop-1][DialectDetector:71] Determine dialect for MySQL 5
13:32:40,340 INFO [localhost-startStop-1][DialectDetector:136] Found dialect org.hibernate.dialect.MySQLDialect
并在控制台中停止打印,并且从不开始………Sweta。
在调试模式下启动tomcat时,它需要比正常启动时多得多的内存。您可以尝试增加已提供给tomcat的内存。
另外,请确保在重新启动tomcat时,没有调试断点元素。这可以通过进入调试模式进行检查。
希望这对您有所帮助。可能是因为2GB内存,当我升级到4GB内存时没有问题。我也增加了内存,这些是liferay服务器配置设置中的内存参数…-Xmx1024m XX:MaxPermSize=512m,并且我已经删除了所有断点。仍然无法工作…可能是因为2GB内存,当我升级到4GB内存时,没有任何问题。在这种情况下它能保持多久?超过十分钟,十五分钟?超过这个时间…直到我重新启动…同样,你可以在非调试模式下启动它吗?是的…它在非调试模式下工作正常。。。。