tomcat - 无法在 Debug模式下启动 Liferay 6.2 Tomcat 7 服务器

标签 tomcat liferay portlet

除了在 Debug模式下,我的 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

并在此处停止在控制台中打印并且永远不会开始......................

最佳答案

斯维塔。 在 Debug模式下启动 tomcat 时,它需要比正常启动更多的内存。您可以尝试增加已分配给 tomcat 的内存。 还请确保在您重新启动 tomcat 时,没有调试断点元素。这可以通过进入 Debug模式来检查。 希望这对您有所帮助。

关于tomcat - 无法在 Debug模式下启动 Liferay 6.2 Tomcat 7 服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24410648/

相关文章:

java - 从 2.6 升级到 3.7 时出现 BIRT JDBCException "Cannot load JDBC Driver class: com.mysql.jdbc.Driver"

java - 从 tomcat 服务器中的 war 文件运行 java 类

spring - Liferay 中 Spring MVC portlet 中的多个呈现和操作方法

java - 如何确定应用程序上下文中的对象?

Apache Tomcat UNIX 已关闭,但 Web 应用程序仍在运行

Java Web 服务创建大量 Tomcat session

html - Liferay 避免从/html/文件夹加载文件

java - 我可以在 Sharepoint 2007 中添加 Java portlet 吗?

java - href 和 iframe webcenter 上的动态值

java - 组件位置 (Vaadin)