quartz 在windows下运行正常 在linux下运行不了

问题描述

求大神指教: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

时间: 2024-07-28 23:26:35

quartz 在windows下运行正常 在linux下运行不了的相关文章

exception-myeclipse导出Runnable,在windows下可执行,linux下报错

问题描述 myeclipse导出Runnable,在windows下可执行,linux下报错 mmap failed for CEN and END part of zip file Exception in thread "main" java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Z

win7 eclipse hadoop-win7下eclipse开发虚拟机linux 下hadoop中的问题

问题描述 win7下eclipse开发虚拟机linux 下hadoop中的问题 本人心血来潮买了hadoop权威指南第二版学习hadoop. linux虚拟机下安装了伪分布模式下的hadoop_0.20.2版本.进过多方努力发现了eclipse的版本3.3才能使用自带的hadoop插件.又经过多方努力在win7的eclipse下成功的完成了wordcount的测试程序.中间一堆错误. 现在想测试maxtemperature确保了以前的错误,不明白这是什么原因.现将错误内容贴出,忘大神不吝赐教.

quartz的定时功能在windows下有效,在linux下无效

问题描述 如题,除了操作系统不一样之外,其他环境(jdk版本,数据库版本,tomcat等)都一样.使用quartz开发的动态定时任务,在windows下定时执行功能有效,但是将项目部署到linux下的时候,定时执行功能就无效了,望高手予以援手 解决方案 解决方案二:持续关注,最近项目也用到这东西解决方案三:昨天在linux下定时任务还无效,代码没做过任何修改,今天定时任务又生效了,问题暂不关闭,望高手能解释一下原因解决方案四:和操作系统无关的你把JOB的时间调小点断点看看每次job执行的时候最好

windows下java代码在linux下运行

问题描述 代码在win下面可以正常运行,一个eclipse插件,但在linux报错,如下Multiplemarkersatthisline-implementsjava.lang.Runnable.run-Themethodrun()oftypeConsoleSimulatormustoverrideasuperclassmethod代码大体如下:publicclassConsoleSimulatorimplementsRunnable{@Overridepublicvoidrun(){....

iReport导出在WINDOWS下没错,在LINUX下报错!!!

问题描述 Font'宋体'isnotavailabletotheJVM.SeetheJavadocformoredetails.net.sf.jasperreports.engine.util.JRFontNotFoundException:Font'宋体'isnotavailabletotheJVM.SeetheJavadocformoredetails.atnet.sf.jasperreports.engine.util.JRStyledText.getAwtAttributedString

boost在linux下序列化然后在windows反序列的问题

问题描述 boost在linux下序列化然后在windows反序列的问题 在linux下使用了boost的序列化,发现序列化的文件是 开始: &(此处有7个空格)serialization::archive& 正方形的符号我打不出来,用&代替 而我在windows下执行反序列化的时候 发现在读取文件头的时候错误,然后我最终代码,发现在读取serialization::archive的时候,之前多了4个0值 在windows下,正确的序列化文件应该是 &(此处有3个空格)se

python在windows和linux下获得本机本地ip地址方法小结_python

本文实例总结了python在windows和linux下获得本机本地ip地址方法.分享给大家供大家参考.具体分析如下: python的socket包含了丰富的函数和方法可以获得本机的ip地址信息,socket对象的gethostbyname方法可以根据主机名获得本机ip地址,socket对象的gethostbyname_ex方法可以获得本机所有ip地址列表 第一种方法:通过socket.gethostbyname方法获得 import socket localIP = socket.gethos

Linux下使用Ruby进行GTK桌面开发

简介:Ruby 是一门灵活的动态编程语言.GTK2 是开源的跨平台图像处理库.通过Ruby-GTK2 进行快 速的 Linux 桌面图形应用开发. 介绍 Ruby-GTK2 是 GTK+ 的 ruby 绑定.Ruby 与 GTK2 的结合,带来了新的 GUI 开发方式. GTK(GIMP Toolkit) 是一套跨多种平台的图形工具包,按 LGPL 许可协议发布的.虽然最初是为 GIMP 写的,但目前已发展为一个功能强大.设计灵活的一个通用图形库.特别是被 GNOME 选中使得 GTK+ 广 为

Linux下多进程/多线程编程

linux下多进程.多线程编程 linux下进程   (一) 理解Linux下进程的结构  Linux下一个进程在内存里有三部份的数据,就是"数据段","堆栈段"和"代码段",其实学过汇编语言的人一定知道,一般的CPU象I386,都有上述三种段寄存器,以方便操作系统的运行."代码段",顾名思义,就是存放了程序代码的数据,假如机器中有数个进程运行相同的一个程序,那么它们就可以使用同一个代码段.  堆栈段存放的就是子程序的返回地址