2014-06-25 72 views
0

我的Liferay服務器工作正常,除了在調試模式......它只是打印此控制檯....無法啓動Liferay6.2 Tomcat7服務器在調試模式

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 

,並在控制檯停止打印這裏永遠不會開始............

+0

這種情況會持續多久?十幾分鍾,十五分鐘? – brandizzi

+0

不僅如此...直到我重新啓動...再次它將是相同的 – SwethaHarshini

+0

你可以在非調試模式下啓動它嗎? – brandizzi

回答

0

Sweta。 在調試模式下啓動tomcat時,它需要比正常啓動更多的內存。你可以嘗試增加給tomcat的內存。 另外請確保在你重新啓動tomcat時,沒有調試斷點元素。這可以通過進入調試模式來檢查。 希望這可以幫助你。

+0

我也增加了內存,這些都是liferay服務器配置設置中的內存參數...- Xmx1024m-XX:MaxPermSize = 512m,我已經刪除了所有斷點早些時候自己..不工作... – SwethaHarshini

+0

可能是由於2 GB的RAM,當我升級到4 GB的RAM沒有問題。 – SwethaHarshini

+1

你爲什麼不把它標記爲答案? – Danish

0

可能是因爲2 GB內存,當我升級到4 GB RAM時沒有問題。

相關問題