问题描述
求大神指教:quartz 在windows下运行正常 在linux下启动服务的时候报下面异常,弄了好久还是不知原因,烦啊,请求好心人帮助!!!信息: Stopping Coyote HTTP/1.1 on http-90002013-8-30 10:08:22 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.2013-8-30 10:08:22 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'trusted' to 'false' did not find a matching property.2013-8-30 10:08:22 org.apache.catalina.core.AprLifecycleListener init信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_10/jre/lib/i386/client:/usr/java/jdk1.6.0_10/jre/lib/i386:/usr/java/jdk1.6.0_10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib2013-8-30 10:08:22 org.apache.coyote.http11.Http11Protocol init信息: Initializing Coyote HTTP/1.1 on http-90002013-8-30 10:08:22 org.apache.catalina.startup.Catalina load信息: Initialization processed in 1140 ms2013-8-30 10:08:22 org.apache.catalina.core.StandardService start信息: Starting service Catalina2013-8-30 10:08:22 org.apache.catalina.core.StandardEngine start信息: Starting Servlet Engine: Apache Tomcat/6.0.202013-8-30 10:08:22 org.apache.catalina.loader.WebappClassLoader validateJarFile信息: validateJarFile(/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the log4j system properly.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-jdk14-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-simple-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.2013-8-30 10:08:25 org.quartz.impl.StdSchedulerFactory instantiate信息: Using default implementation for ThreadExecutor2013-8-30 10:08:25 org.quartz.simpl.SimpleThreadPool initialize信息: Job execution threads will use class loader of thread: main2013-8-30 10:08:25 org.quartz.core.SchedulerSignalerImpl <init>信息: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl2013-8-30 10:08:25 org.quartz.core.QuartzScheduler <init>信息: Quartz Scheduler v.1.8.6 created.2013-8-30 10:08:25 org.quartz.impl.jdbcjobstore.JobStoreSupport initialize信息: Using db table-based data access locking (synchronization).2013-8-30 10:08:25 org.quartz.core.QuartzScheduler shutdown信息: Scheduler SchedulerName_$_NON_CLUSTERED shutting down.2013-8-30 10:08:25 org.quartz.core.QuartzScheduler standby信息: Scheduler SchedulerName_$_NON_CLUSTERED paused.2013-8-30 10:08:25 org.quartz.core.QuartzScheduler shutdown信息: Scheduler SchedulerName_$_NON_CLUSTERED shutdown complete.服务器启动2013-8-30 10:08:25 org.apache.catalina.core.StandardContext start严重: Error listenerStart2013-8-30 10:08:25 org.apache.catalina.core.StandardContext start严重: Context [] startup failed due to previous errors服务器停止2013-8-30 10:08:26 org.apache.catalina.startup.HostConfig deployWAR信息: Deploying web application archive proxy.war2013-8-30 10:08:28 org.apache.catalina.startup.HostConfig deployWAR信息: Deploying web application archive ssh.war2013-8-30 10:08:28 org.apache.catalina.loader.WebappClassLoader validateJarFile信息: validateJarFile(/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.classlog4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).log4j:WARN Please initialize the log4j system properly.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-jdk14-1.6.6.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-log4j12-1.6.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/home/apache-tomcat-emp660/webapps/ssh/WEB-INF/lib/slf4j-simple-1.5.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.2013-8-30 10:08:30 org.quartz.impl.StdSchedulerFactory instantiate信息: Using default implementation for ThreadExecutor2013-8-30 10:08:30 org.quartz.simpl.SimpleThreadPool initialize信息: Job execution threads will use class loader of thread: main2013-8-30 10:08:30 org.quartz.core.SchedulerSignalerImpl <init>信息: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl2013-8-30 10:08:30 org.quartz.core.QuartzScheduler <init>信息: Quartz Scheduler v.1.8.6 created.2013-8-30 10:08:30 org.quartz.impl.jdbcjobstore.JobStoreSupport initialize信息: Using db table-based data access locking (synchronization).2013-8-30 10:08:30 org.quartz.core.QuartzScheduler shutdown信息: Scheduler SchedulerName_$_NON_CLUSTERED shutting down.2013-8-30 10:08:30 org.quartz.core.QuartzScheduler standby信息: Scheduler SchedulerName_$_NON_CLUSTERED paused.2013-8-30 10:08:30 org.quartz.core.QuartzScheduler shutdown信息: Scheduler SchedulerName_$_NON_CLUSTERED shutdown complete.
解决方案
启动错误在tomcat的logs下,名字记不起了但不是catalina.out,你ls -ltr一下看看最新修改的排除catalina.out就是
解决方案二:
这明显是你启动时报错,看一看tomcat后台日志catalina.out
解决方案三:
spring中的quartz配置贴一下,http://stackoverflow.com/questions/10998335/quartz-1-8-3-and-jboss-7-1-1
解决方案四:
testtest