9 个解决方案
#1
查tomcat日志
#2
请问哪个日志文件?
tomcat 目录下:tomcat /bin/logs 目录下的日志
还是
tomcat/logs目录下的日志
?
#3
这个 tomcat/logs 下面,查找对于启动失败有利的信息
#4
tomcat/logs 下面有4个文件;
#5
localhost.2014-06-27.log文件内容:
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-6-27 14:59:54 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-6-27 14:59:54 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
#6
catalina.2014-06-27.log文件内容:
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2014-6-27 14:59:52 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
2014-6-27 14:59:52 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2014-6-27 14:59:52 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2014-6-27 14:59:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1510 ms
2014-6-27 14:59:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-6-27 14:59:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.39
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor .xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory test
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2014-6-27 14:59:52 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
2014-6-27 14:59:52 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2014-6-27 14:59:52 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2014-6-27 14:59:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1510 ms
2014-6-27 14:59:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-6-27 14:59:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.39
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor .xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory test
#7
还有系统的其他的日志吗?不在tomcat日志下面的
看看 tomcat /bin/logs 下面的日志,看这个是哪里的日志,看是否是项目启动的日志信息
看看 tomcat /bin/logs 下面的日志,看这个是哪里的日志,看是否是项目启动的日志信息
#8
tomcat /bin/logs 下面的日志pclweb.log,内容如下:
前面的省略了.....
2014-06-27 15:01:14,377 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tismaintenance on table TISMAINTENANCE
2014-06-27 15:01:14,391 [main] INFO [AnnotationBinder org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:529)] - Binding entity from annotated class: com.test.serviceweb.entity.work.Tispartused
2014-06-27 15:01:14,395 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tispartused on table TISPARTUSED
然后就没有了
另外,bin目录下生存了:hs_err_pid7324.log 文件
前面的省略了.....
2014-06-27 15:01:14,377 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tismaintenance on table TISMAINTENANCE
2014-06-27 15:01:14,391 [main] INFO [AnnotationBinder org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:529)] - Binding entity from annotated class: com.test.serviceweb.entity.work.Tispartused
2014-06-27 15:01:14,395 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tispartused on table TISPARTUSED
然后就没有了
另外,bin目录下生存了:hs_err_pid7324.log 文件
#9
hs_err_pid7324.log 这个应该是错误日志文件,打开看看里面什么信息?是缺少配置文件呢还是?
#1
查tomcat日志
#2
请问哪个日志文件?
tomcat 目录下:tomcat /bin/logs 目录下的日志
还是
tomcat/logs目录下的日志
?
#3
这个 tomcat/logs 下面,查找对于启动失败有利的信息
#4
tomcat/logs 下面有4个文件;
#5
localhost.2014-06-27.log文件内容:
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-6-27 14:59:54 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2014-6-27 14:59:53 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2014-6-27 14:59:54 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
#6
catalina.2014-06-27.log文件内容:
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2014-6-27 14:59:52 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
2014-6-27 14:59:52 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2014-6-27 14:59:52 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2014-6-27 14:59:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1510 ms
2014-6-27 14:59:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-6-27 14:59:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.39
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor .xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory test
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2014-6-27 14:59:51 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2014-6-27 14:59:52 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
2014-6-27 14:59:52 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2014-6-27 14:59:52 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2014-6-27 14:59:52 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1510 ms
2014-6-27 14:59:52 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2014-6-27 14:59:52 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.39
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor .xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2014-6-27 14:59:52 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2014-6-27 14:59:53 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory test
#7
还有系统的其他的日志吗?不在tomcat日志下面的
看看 tomcat /bin/logs 下面的日志,看这个是哪里的日志,看是否是项目启动的日志信息
看看 tomcat /bin/logs 下面的日志,看这个是哪里的日志,看是否是项目启动的日志信息
#8
tomcat /bin/logs 下面的日志pclweb.log,内容如下:
前面的省略了.....
2014-06-27 15:01:14,377 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tismaintenance on table TISMAINTENANCE
2014-06-27 15:01:14,391 [main] INFO [AnnotationBinder org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:529)] - Binding entity from annotated class: com.test.serviceweb.entity.work.Tispartused
2014-06-27 15:01:14,395 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tispartused on table TISPARTUSED
然后就没有了
另外,bin目录下生存了:hs_err_pid7324.log 文件
前面的省略了.....
2014-06-27 15:01:14,377 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tismaintenance on table TISMAINTENANCE
2014-06-27 15:01:14,391 [main] INFO [AnnotationBinder org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:529)] - Binding entity from annotated class: com.test.serviceweb.entity.work.Tispartused
2014-06-27 15:01:14,395 [main] INFO [EntityBinder org.hibernate.cfg.annotations.EntityBinder.bindTable(EntityBinder.java:501)] - Bind entity com.test.serviceweb.entity.work.Tispartused on table TISPARTUSED
然后就没有了
另外,bin目录下生存了:hs_err_pid7324.log 文件
#9
hs_err_pid7324.log 这个应该是错误日志文件,打开看看里面什么信息?是缺少配置文件呢还是?