可以在调试模式下启动Liferay 6.2 Tomcat 7服务器

时间:2014-06-25 13:53:53

标签: 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 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

并在此处停止在控制台中打印,永不启动............

2 个答案:

答案 0 :(得分:0)

Sweta。 在调试模式下启动tomcat时,它需要比正常启动时更多的内存。您可以尝试增加已经给tomcat的内存。 另外请确保在重新启动tomcat时没有调试断点元素。这可以通过进入调试模式来检查。 希望这会帮助你。

答案 1 :(得分:0)

可能是因为2 GB RAM,当我升级到4 GB RAM时没有问题。