根据配置说明配置启动时候出错
@S2JH 你好,想跟你请教个问题:
maven install都成功完成.
启动server还是出错启动不起来.
11:06:29,831 |-INFO in ch.qos.logback.core.db.JNDIConnectionSource@188b41 - Looking up [java:comp/env/jdbc/s2jh] in JNDI
11:06:29,837 |-ERROR in ch.qos.logback.core.db.JNDIConnectionSource@188b41 - Error while getting data source javax.naming.NameNotFoundException: Name [jdbc/s2jh] is not bound in this Context. Unable to find [jdbc].
at javax.naming.NameNotFoundException: Name [jdbc/s2jh] is not bound in this Context. Unable to find [jdbc].
at at org.apache.naming.NamingContext.lookup(NamingContext.java:818)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:166)
at at org.apache.naming.factory.ResourceLinkFactory.getObjectInstance(ResourceLinkFactory.java:92)
at at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:841)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:829)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:829)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:829)
at at org.apache.naming.NamingContext.lookup(NamingContext.java:166)
at at org.apache.naming.SelectorContext.lookup(SelectorContext.java:157)
at at javax.naming.InitialContext.lookup(InitialContext.java:411)
at at ch.qos.logback.core.db.JNDIConnectionSource.lookupDataSource(JNDIConnectionSource.java:100)
at at ch.qos.logback.core.db.JNDIConnectionSource.getConnection(JNDIConnectionSource.java:58)
at at ch.qos.logback.core.db.ConnectionSourceBase.discoverConnectionProperties(ConnectionSourceBase.java:47)
at at ch.qos.logback.core.db.JNDIConnectionSource.start(JNDIConnectionSource.java:50)
at at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:167)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
at at lab.s2jh.core.web.listener.ApplicationContextPreListener.<init>(ApplicationContextPreListener.java:16)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at at java.lang.Class.newInstance(Class.java:374)
at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4693)
at at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
at at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
at at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at at java.lang.Thread.run(Thread.java:745)
11:06:29,840 |-WARN in ch.qos.logback.core.db.JNDIConnectionSource@188b41 - Could not discover the dialect to use. java.sql.SQLException: NamingException while looking up DataSource: Name [jdbc/s2jh] is not bound in this Context. Unable to find [jdbc].
at java.sql.SQLException: NamingException while looking up DataSource: Name [jdbc/s2jh] is not bound in this Context. Unable to find [jdbc].
at at ch.qos.logback.core.db.JNDIConnectionSource.getConnection(JNDIConnectionSource.java:66)
at at ch.qos.logback.core.db.ConnectionSourceBase.discoverConnectionProperties(ConnectionSourceBase.java:47)
at at ch.qos.logback.core.db.JNDIConnectionSource.start(JNDIConnectionSource.java:50)
at at ch.qos.logback.core.joran.action.NestedComplexPropertyIA.end(NestedComplexPropertyIA.java:167)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
at at lab.s2jh.core.web.listener.ApplicationContextPreListener.<init>(ApplicationContextPreListener.java:16)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at at java.lang.Class.newInstance(Class.java:374)
at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4693)
at at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
at at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
at at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at at java.lang.Thread.run(Thread.java:745)
11:06:29,871 |-ERROR in ch.qos.logback.core.joran.spi.Interpreter@17 :13 - RuntimeException in Action for tag [appender] java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect
at java.lang.IllegalStateException: DBAppender cannot function if the JDBC driver does not support getGeneratedKeys method *and* without a specific SQL dialect
at at ch.qos.logback.core.db.DBAppenderBase.start(DBAppenderBase.java:62)
at at ch.qos.logback.classic.db.DBAppender.start(DBAppender.java:93)
at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106)
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56)
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148)
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:54)
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:129)
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:108)
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:302)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:276)
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:288)
at at lab.s2jh.core.web.listener.ApplicationContextPreListener.<init>(ApplicationContextPreListener.java:16)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at at java.lang.Class.newInstance(Class.java:374)
at at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4693)
at at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
at at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
at at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at at java.lang.Thread.run(Thread.java:745)
11:06:29,875 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.struts2.dispatcher] to WARN
11:06:29,875 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [org.apache.struts2.dispatcher] to false
11:06:29,875 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[org.apache.struts2.dispatcher]
11:06:29,879 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to Logger[org.apache.struts2.dispatcher]
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [lab] to DEBUG
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [lab] to false
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[lab]
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to Logger[lab]
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [jdbc.sqlonly] to DEBUG
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [jdbc.sqlonly] to false
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[jdbc.sqlonly]
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [jdbc.resultsettable] to WARN
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting additivity of logger [jdbc.resultsettable] to false
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[jdbc.resultsettable]
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
11:06:29,880 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to Logger[ROOT]
11:06:29,880 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:06:29,888 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@2726a3 - Registering current configuration as safe fallback point
11:06:30.019 INFO l.s.c.s.PropertiesConfigService[61] - System runnging at web.root.real.path=D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instancewtpwebappsprototype
11:06:30.045 DEBUG l.s.c.w.l.ApplicationContextPreListener[23] - Invoke ApplicationContextPreListener contextInitialized
十二月 09, 2014 11:06:30 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Spring root WebApplicationContext
11:06:38.507 INFO l.s.c.ExtPropertyPlaceholderConfigurer[172] - Loading properties file from class path resource [application.properties]
11:06:38.531 INFO l.s.c.ExtPropertyPlaceholderConfigurer[24] - Putting PropertyPlaceholder 12 datas into cache...
11:06:43.384 WARN org.hibernate.ejb.Ejb3Configuration[1132] - HHH000144: hibernate.connection.autocommit = false breaks the EJB3 specification
11:06:49.649 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [org.hibernate.cache.spi.UpdateTimestampsCache]; using defaults.
11:06:49.710 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [org.hibernate.cache.internal.StandardQueryCache]; using defaults.
11:06:53.408 WARN org.hibernate.id.UUIDHexGenerator[59] - HHH000409: Using org.hibernate.id.UUIDHexGenerator which does not generate IETF RFC 4122 compliant UUID values; consider using org.hibernate.id.UUIDGenerator instead
11:06:54.218 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.Role]; using defaults.
11:06:54.315 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.demo.entity.Demo]; using defaults.
11:06:54.358 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.sys.entity.DataDict]; using defaults.
11:06:54.374 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.rpt.entity.ReportDef]; using defaults.
11:06:54.394 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.finance.entity.AccountSubject]; using defaults.
11:06:54.418 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.sys.entity.AttachmentFile]; using defaults.
11:06:54.441 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.finance.entity.BizTradeUnit]; using defaults.
11:06:54.470 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.sale.entity.SaleDeliveryDetail]; using defaults.
11:06:54.499 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.schedule.entity.JobRunHist]; using defaults.
11:06:54.518 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.profile.entity.ProfileParamVal]; using defaults.
11:06:54.534 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.profile.entity.ProfileParamDef]; using defaults.
11:06:54.596 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.purchase.entity.PurchaseOrderDetail]; using defaults.
11:06:54.616 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.stock.entity.CommodityStock]; using defaults.
11:06:54.661 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.profile.entity.SimpleParamVal]; using defaults.
11:06:54.672 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.sys.entity.ConfigProperty]; using defaults.
11:06:54.708 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.UserR2Role]; using defaults.
11:06:54.782 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.sys.entity.PubPost]; using defaults.
11:06:54.803 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.rpt.entity.ReportDefR2Role]; using defaults.
11:06:54.824 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.Department]; using defaults.
11:06:54.841 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.sys.entity.PubPostRead]; using defaults.
11:06:54.863 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.sale.entity.SaleDelivery]; using defaults.
11:06:54.893 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.PersistentLogin]; using defaults.
11:06:54.900 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.purchase.entity.PurchaseOrder]; using defaults.
11:06:54.931 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.RoleR2Privilege]; using defaults.
11:06:54.956 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.stock.entity.StorageLocation]; using defaults.
11:06:54.965 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.schedule.entity.JobBeanCfg]; using defaults.
11:06:54.978 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.biz.md.entity.Commodity]; using defaults.
11:06:54.988 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.rpt.entity.ReportParam]; using defaults.
11:06:55.041 WARN o.h.c.e.AbstractEhcacheRegionFactory[180] - HHH020003: Could not find a specific ehcache configuration for cache named [lab.s2jh.auth.entity.User]; using defaults.
11:07:03.304 DEBUG jdbc.sqlonly[232] - org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:56)
4. select * from ACT_GE_PROPERTY where NAME_ = 'schema.version'
11:07:04.223 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
5. select * from ACT_RE_DEPLOYMENT D where NAME_='SpringAutoDeployment' order by D.DEPLOY_TIME_
desc
11:07:04.400 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
5. select * from ACT_GE_BYTEARRAY where DEPLOYMENT_ID_ = '1' order by NAME_ asc
11:07:11.812 INFO l.s.schedule.ExtSchedulerFactoryBean[547] - Loading Quartz config from [class path resource [quartz-cluster.properties]]
11:07:12.186 DEBUG l.s.schedule.ExtSchedulerFactoryBean[57] - Invoking registerJobsAndTriggers...
11:07:12.387 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
7. select jobbeancfg0_.id as id28_, jobbeancfg0_.acl_code as acl2_28_, jobbeancfg0_.acl_type as
acl3_28_, jobbeancfg0_.created_by as created4_28_, jobbeancfg0_.created_dt as created5_28_,
jobbeancfg0_.updated_by as updated6_28_, jobbeancfg0_.updated_dt as updated7_28_, jobbeancfg0_.version
as version28_, jobbeancfg0_.auto_startup as auto9_28_, jobbeancfg0_.cron_expression as cron10_28_,
jobbeancfg0_.description as descrip11_28_, jobbeancfg0_.job_class as job12_28_, jobbeancfg0_.log_run_hist
as log13_28_, jobbeancfg0_.result_template as result14_28_, jobbeancfg0_.run_within_cluster
as run15_28_ from tbl_job_bean_cfg jobbeancfg0_
11:07:12.490 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME
= 'lab.s2jh.schedule.job.DatabaseMonitorJob.Trigger' AND TRIGGER_GROUP = 'DEFAULT'
11:07:12.505 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT * FROM QRTZ_LOCKS WHERE SCHED_NAME = 'quartzClusterScheduler' AND LOCK_NAME = 'TRIGGER_ACCESS'
FOR UPDATE
11:07:12.508 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT JOB_NAME FROM QRTZ_JOB_DETAILS WHERE SCHED_NAME = 'quartzClusterScheduler' AND JOB_NAME
= 'lab.s2jh.schedule.job.DatabaseMonitorJob' AND JOB_GROUP = 'DEFAULT'
11:07:12.548 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. UPDATE QRTZ_JOB_DETAILS SET DESCRIPTION = NULL, JOB_CLASS_NAME = 'lab.s2jh.schedule.job.DatabaseMonitorJob',
IS_DURABLE = 1, IS_NONCONCURRENT = 0, IS_UPDATE_DATA = 0, REQUESTS_RECOVERY = 0, JOB_DATA =
'<byte[]>' WHERE SCHED_NAME = 'quartzClusterScheduler' AND JOB_NAME = 'lab.s2jh.schedule.job.DatabaseMonitorJob'
AND JOB_GROUP = 'DEFAULT'
11:07:12.570 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT * FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME
= 'lab.s2jh.schedule.job.DatabaseMonitorJob.Trigger' AND TRIGGER_GROUP = 'DEFAULT'
11:07:12.583 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT * FROM QRTZ_LOCKS WHERE SCHED_NAME = 'quartzClusterScheduler' AND LOCK_NAME = 'TRIGGER_ACCESS'
FOR UPDATE
11:07:12.592 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. DELETE FROM QRTZ_SIMPLE_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME
= 'lab.s2jh.schedule.job.DatabaseMonitorJob.Trigger' AND TRIGGER_GROUP = 'DEFAULT'
11:07:12.603 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. DELETE FROM QRTZ_CRON_TRIGGERS WHERE SCHED_NAME = 'quartzClusterScheduler' AND TRIGGER_NAME
= 'lab.s2jh.schedule.job.DatabaseMonitorJob.Trigger' AND TRIGGER_GROUP = 'DEFAULT'
11:07:12.761 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT TRIGGER_GROUP FROM QRTZ_PAUSED_TRIGGER_GRPS WHERE SCHED_NAME = 'quartzClusterScheduler'
AND TRIGGER_GROUP = 'DEFAULT'
11:07:12.766 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. SELECT TRIGGER_GROUP FROM QRTZ_PAUSED_TRIGGER_GRPS WHERE SCHED_NAME = 'quartzClusterScheduler'
AND TRIGGER_GROUP = '_$_ALL_GROUPS_PAUSED_$_'
11:07:12.788 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
8. INSERT INTO QRTZ_CRON_TRIGGERS (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, CRON_EXPRESSION, TIME_ZONE_ID)
VALUES('quartzClusterScheduler', 'lab.s2jh.schedule.job.DatabaseMonitorJob.Trigger', 'DEFAULT',
'0 0 0 * * ?', 'Asia/Shanghai')
11:07:12.825 INFO l.s.schedule.ExtSchedulerFactoryBean[547] - Loading Quartz config from [class path resource [quartz-ram.properties]]
11:07:12.853 DEBUG l.s.schedule.ExtSchedulerFactoryBean[57] - Invoking registerJobsAndTriggers...
11:07:12.857 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
9. select jobbeancfg0_.id as id28_, jobbeancfg0_.acl_code as acl2_28_, jobbeancfg0_.acl_type as
acl3_28_, jobbeancfg0_.created_by as created4_28_, jobbeancfg0_.created_dt as created5_28_,
jobbeancfg0_.updated_by as updated6_28_, jobbeancfg0_.updated_dt as updated7_28_, jobbeancfg0_.version
as version28_, jobbeancfg0_.auto_startup as auto9_28_, jobbeancfg0_.cron_expression as cron10_28_,
jobbeancfg0_.description as descrip11_28_, jobbeancfg0_.job_class as job12_28_, jobbeancfg0_.log_run_hist
as log13_28_, jobbeancfg0_.result_template as result14_28_, jobbeancfg0_.run_within_cluster
as run15_28_ from tbl_job_bean_cfg jobbeancfg0_
11:07:17.188 WARN o.h.hql.internal.ast.HqlSqlWalker[929] - [DEPRECATION] Encountered positional parameter near line 1, column 48. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
11:07:17.190 WARN o.h.hql.internal.ast.HqlSqlWalker[929] - [DEPRECATION] Encountered positional parameter near line 1, column 63. Positional parameter are considered deprecated; use named parameters or JPA-style positional parameters instead.
11:07:17.635 WARN o.s.b.f.a.AutowiredAnnotationBeanPostProcessor[355] - Autowired annotation is not supported on static methods: public static void lab.s2jh.core.service.PropertiesConfigService.setWebRootRealPath(java.lang.String)
11:07:17.642 INFO l.s.c.s.PropertiesConfigService[46] - System runnging at demo.mode=false
11:07:17.643 INFO l.s.c.s.PropertiesConfigService[52] - System runnging at dev.mode=true
11:07:18.079 WARN o.s.aop.framework.CglibAopProxy[262] - Unable to proxy method [public final void org.springframework.jdbc.core.support.JdbcDaoSupport.setDataSource(javax.sql.DataSource)] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
11:07:18.079 WARN o.s.aop.framework.CglibAopProxy[262] - Unable to proxy method [public final org.springframework.jdbc.core.JdbcTemplate org.springframework.jdbc.core.support.JdbcDaoSupport.getJdbcTemplate()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
11:07:18.080 WARN o.s.aop.framework.CglibAopProxy[262] - Unable to proxy method [public final void org.springframework.jdbc.core.support.JdbcDaoSupport.setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate)] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
11:07:18.080 WARN o.s.aop.framework.CglibAopProxy[262] - Unable to proxy method [public final javax.sql.DataSource org.springframework.jdbc.core.support.JdbcDaoSupport.getDataSource()] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
11:07:18.080 WARN o.s.aop.framework.CglibAopProxy[262] - Unable to proxy method [public final void org.springframework.dao.support.DaoSupport.afterPropertiesSet() throws java.lang.IllegalArgumentException,org.springframework.beans.factory.BeanInitializationException] because it is final: All calls to this method via a proxy will NOT be routed to the target instance.
11:07:19.071 DEBUG l.s.a.s.FilterInvocationSecurityMetadataSourceImpl[32] - Just return null for getAllConfigAttributes...
11:07:19.072 WARN l.s.a.s.ExtSecurityInterceptor[141] - Could not validate configuration attributes as the SecurityMetadataSource did not return any attributes from getAllConfigAttributes()
11:07:19.302 INFO l.s.schedule.ExtSchedulerFactoryBean[648] - Will start Quartz Scheduler [quartzRAMScheduler] in 30 seconds
11:07:19.307 INFO l.s.schedule.ExtSchedulerFactoryBean[648] - Will start Quartz Scheduler [quartzClusterScheduler] in 10 seconds
11:07:19.342 DEBUG l.s.s.service.SystemSechduleService[22] - Timely check and refresh PubPost spring cache...
11:07:19.360 DEBUG l.s.c.w.l.ApplicationContextPostListener[36] - Invoke ApplicationContextPostListener contextInitialized
11:07:19.365 INFO l.s.c.w.l.ApplicationContextPostListener[45] - [Prototype] init context ...
11:07:19.396 DEBUG lab.s2jh.sys.service.PubPostService[36] - Finding published post message...
11:07:19.469 INFO l.s.c.w.l.ApplicationContextPostListener[99] - Put enums data to ServletContext:
11:07:19.470 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - privilegeTypeEnum = {URL=URL, BTN=按钮, MENU=菜单}
11:07:19.470 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - voucherTypeEnum = {JHD=采购订单, JH=采购(入库)单, XSD=销售订单, XS=销售单, DH=调拨单, FKD=付款单, PC=盘存, TH=退货, SKD=收款单}
11:07:19.470 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - loggingHandleStateEnum = {TBD=TBD, FIXED=FIXED, TODO=TODO, CANCELED=CANCELED, IGNORE=IGNORE}
11:07:19.470 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - reportTypeEnum = {EXCEL_JAVA=Excel(JXLS), EXCEL_VBS=Excel(VBS), JASPER=JasperReport}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - dynamicParameterTypeEnum = {DATE=日期, TIMESTAMP=日期时间, FLOAT=浮点数, INTEGER=整数, BOOLEAN=是否布尔型, ENUM=枚举数据定义, DATA_DICT_LIST=数据字典下拉列表, SQL_LIST=SQL查询下拉列表, OGNL_LIST=OGNL语法键值对, MULTI_TEXT=多行文本, HTML_TEXT=HTML文本, STRING=单行文本}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - menuTypeEnum = {RELC=相对上下文, RELD=相对域名, ABS=绝对路径}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - booleanLabel = {true=是, false=否}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - purchaseOrderStatusEnum = {S10N=待提交, S20S=提交待审, S30AP=审核通过, S40ANP=审核未过, S50EX=已下单, S60RECVS=部分收货, S65RECVE=完成收货, S75FIE=完成付款, S80C=已关闭, S90CNC=已取消}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - voucherStateEnum = {DRAFT=草稿, POST=提交, REDW=红冲}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - bizTradeUnitTypeEnum = {CUSTOMER=客户, SUPPLIER=供应商}
11:07:19.471 INFO l.s.c.w.l.ApplicationContextPostListener[101] - - purchaseOrderPayModeEnum = {PREV=预付, POST=到付}
11:07:19.482 DEBUG l.s.c.w.filter.HttpRequestLogFilter[35] - Invoking HttpRequestLogFilter init method...
11:07:19.554 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
11. select pubpost0_.id as id37_, pubpost0_.acl_code as acl2_37_, pubpost0_.acl_type as acl3_37_,
pubpost0_.created_by as created4_37_, pubpost0_.created_dt as created5_37_, pubpost0_.updated_by
as updated6_37_, pubpost0_.updated_dt as updated7_37_, pubpost0_.version as version37_, pubpost0_.attachment_size
as attachment9_37_, pubpost0_.backend_show as backend10_37_, pubpost0_.expire_time as expire11_37_,
pubpost0_.external_link as external12_37_, pubpost0_.frontend_show as frontend13_37_, pubpost0_.html_content
as html14_37_, pubpost0_.html_title as html15_37_, pubpost0_.order_rank as order16_37_, pubpost0_.publish_time
as publish17_37_, pubpost0_.read_user_count as read18_37_ from tbl_sys_pub_post pubpost0_ where
(pubpost0_.publish_time is not null) and pubpost0_.publish_time<'12/09/2014 11:07:19.396' and
(pubpost0_.expire_time>'12/09/2014 11:07:19.396' or pubpost0_.expire_time is null) order by
pubpost0_.publish_time desc
11:07:23.708 WARN c.o.x.c.p.XmlConfigurationProvider[64] - Result class [org.apache.struts2.views.jasperreports.ExtJasperReportsResult] doesn't exist (ClassNotFoundException) at result-type - file:/D:/spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32/sts-bundle/pivotal-tc-server-developer-3.0.2.RELEASE/base-instance/wtpwebapps/prototype/WEB-INF/classes/struts.xml:55:115, ignoring
java.lang.ClassNotFoundException: org.apache.struts2.views.jasperreports.ExtJasperReportsResult
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1295) ~[catalina.jar:8.0.15.A]
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1147) ~[catalina.jar:8.0.15.A]
at com.opensymphony.xwork2.util.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:152) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.ObjectFactory.getClassInstance(ObjectFactory.java:128) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.spring.SpringObjectFactory.getClassInstance(SpringObjectFactory.java:233) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.verifyResultType(XmlConfigurationProvider.java:604) [xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addResultTypes(XmlConfigurationProvider.java:574) [xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:530) [xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292) [xwork-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) [struts2-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:258) [xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) [xwork-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4615) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5222) [catalina.jar:8.0.15.A]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) [catalina.jar:8.0.15.A]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) [catalina.jar:8.0.15.A]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683) [catalina.jar:8.0.15.A]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
11:07:23.834 ERROR o.a.struts2.dispatcher.Dispatcher[38] - Dispatcher initialization failed
com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445) ~[struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489) ~[struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57) [struts2-core-2.3.16.1.jar:2.3.16.1]
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4615) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5222) [catalina.jar:8.0.15.A]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701) [catalina.jar:8.0.15.A]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) [catalina.jar:8.0.15.A]
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581) [catalina.jar:8.0.15.A]
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683) [catalina.jar:8.0.15.A]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
Caused by: com.opensymphony.xwork2.config.ConfigurationException: There is no result type defined for type 'extJasper' mapped with name 'jasperResult'. Did you mean 'extJasper'?
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:721) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadGlobalResults(XmlConfigurationProvider.java:883) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:542) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112) ~[struts2-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:258) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67) ~[xwork-core-2.3.16.1.jar:2.3.16.1]
... 20 common frames omitted
11:07:23.842 DEBUG l.s.c.w.filter.HttpRequestLogFilter[40] - Invoking HttpRequestLogFilter destroy method...
11:07:23.843 INFO l.s.a.s.AuthLogonHistRefreshListener[60] - ServletContext destroy force setup session user logout time...
十二月 09, 2014 11:07:23 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter struts2
Unable to load configuration. - result - file:/D:/spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32/sts-bundle/pivotal-tc-server-developer-3.0.2.RELEASE/base-instance/wtpwebapps/prototype/WEB-INF/classes/struts.xml:109:58
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:501)
at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4615)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5222)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1683)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: Unable to load configuration. - result - file:/D:/spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32/sts-bundle/pivotal-tc-server-developer-3.0.2.RELEASE/base-instance/wtpwebapps/prototype/WEB-INF/classes/struts.xml:109:58
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:445)
at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:489)
... 18 more
Caused by: There is no result type defined for type 'extJasper' mapped with name 'jasperResult'. Did you mean 'extJasper'? - result - file:/D:/spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32/sts-bundle/pivotal-tc-server-developer-3.0.2.RELEASE/base-instance/wtpwebapps/prototype/WEB-INF/classes/struts.xml:109:58
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildResults(XmlConfigurationProvider.java:721)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadGlobalResults(XmlConfigurationProvider.java:883)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:542)
at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:292)
at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:112)
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:258)
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
... 20 more
十二月 09, 2014 11:07:23 上午 org.apache.catalina.core.StandardContext startInternal
严重: Error filterStart
十二月 09, 2014 11:07:23 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/prototype] startup failed due to previous errors
11:07:25.591 DEBUG jdbc.sqlonly[232] - sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
12. select userlogonl0_.id as id20_, userlogonl0_.acl_code as acl2_20_, userlogonl0_.acl_type as
acl3_20_, userlogonl0_.created_by as created4_20_, userlogonl0_.created_dt as created5_20_,
userlogonl0_.updated_by as updated6_20_, userlogonl0_.updated_dt as updated7_20_, userlogonl0_.version
as version20_, userlogonl0_.authentication_failure as authenti9_20_, userlogonl0_.http_session_id
as http10_20_, userlogonl0_.local_addr as local11_20_, userlogonl0_.local_name as local12_20_,
userlogonl0_.local_port as local13_20_, userlogonl0_.logon_time as logon14_20_, userlogonl0_.logon_time_length
as logon15_20_, userlogonl0_.logon_times as logon16_20_, userlogonl0_.logout_time as logout17_20_,
userlogonl0_.remote_addr as remote18_20_, userlogonl0_.remote_host as remote19_20_, userlogonl0_.remote_port
as remote20_20_, userlogonl0_.serverip as serverip20_, userlogonl0_.user_agent as user22_20_,
userlogonl0_.userid as userid20_, userlogonl0_.username as username20_, userlogonl0_.xforward_for
as xforward25_20_ from tbl_auth_logon_log userlogonl0_ where userlogonl0_.logout_time is null
11:07:25.598 DEBUG l.s.c.w.l.ApplicationContextPostListener[112] - Invoke ApplicationContextPostListener contextDestroyed
十二月 09, 2014 11:07:25 上午 org.apache.catalina.core.ApplicationContext log
信息: Closing Spring root WebApplicationContext
11:07:25.630 INFO l.s.schedule.ExtSchedulerFactoryBean[753] - Shutting down Quartz Scheduler
11:07:25.632 INFO l.s.schedule.ExtSchedulerFactoryBean[753] - Shutting down Quartz Scheduler
11:07:25.819 DEBUG l.s.c.w.l.ApplicationContextPreListener[28] - Invoke ApplicationContextPreListener contextDestroyed
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [prototype] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [prototype] registered the JDBC driver [net.sf.log4jdbc.DriverSpy] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [prototype] registered the JDBC driver [org.h2.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [prototype] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:40)
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [prototype] appears to have started a thread named [Quartz Scheduler [quartzRAMScheduler]] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Thread.sleep(Native Method)
org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:655)
十二月 09, 2014 11:07:25 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [prototype] appears to have started a thread named [Quartz Scheduler [quartzClusterScheduler]] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Thread.sleep(Native Method)
org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:655)
十二月 09, 2014 11:07:25 上午 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deployment of configuration descriptor D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instanceconfCatalinalocalhostprototype.xml has finished in 71,056 ms
十二月 09, 2014 11:07:25 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instancewebappsmanager
十二月 09, 2014 11:07:26 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十二月 09, 2014 11:07:26 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instancewebappsmanager has finished in 459 ms
十二月 09, 2014 11:07:26 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instancewebappsROOT
十二月 09, 2014 11:07:26 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十二月 09, 2014 11:07:26 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory D:spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32sts-bundlepivotal-tc-server-developer-3.0.2.RELEASEbase-instancewebappsROOT has finished in 463 ms
十二月 09, 2014 11:07:26 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
十二月 09, 2014 11:07:26 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 72107 ms
11:07:29.314 INFO l.s.schedule.ExtSchedulerFactoryBean[661] - Starting Quartz Scheduler now, after delay of 10 seconds
Exception in thread "Quartz Scheduler [quartzClusterScheduler]" org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler after delay; nested exception is org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:667)
Caused by: org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:557)
at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:664)
11:07:49.332 INFO l.s.schedule.ExtSchedulerFactoryBean[661] - Starting Quartz Scheduler now, after delay of 30 seconds
Exception in thread "Quartz Scheduler [quartzRAMScheduler]" org.springframework.scheduling.SchedulingException: Could not start Quartz Scheduler after delay; nested exception is org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:667)
Caused by: org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:557)
at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
at org.springframework.scheduling.quartz.SchedulerFactoryBean$1.run(SchedulerFactoryBean.java:664)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这里的logback报错是没有关系的,logback报错是因为你在项目中没有配置jndi信息,这个错误并不影响系统的运行,真正影响系统运行的错误是这个
11:07:23.708 WARN c.o.x.c.p.XmlConfigurationProvider[64] - Result class [org.apache.struts2.views.jasperreports.ExtJasperReportsResult] doesn't exist (ClassNotFoundException) at result-type - file:/D:/spring-tool-suite-3.6.3.RELEASE-e4.4.1-win32/sts-bundle/pivotal-tc-server-developer-3.0.2.RELEASE/base-instance/wtpwebapps/prototype/WEB-INF/classes/struts.xml:55:115, ignoring
是因为在struts文件中配置了ExtJasperReportsResult的结果类,但是结果类对应的实体没有找到,所以报错了,要解决这个问题,你要在项目的pom.xml文件里面将作者注释的一个依赖加上才行
<!-- 为了在有限内存的演示环境部署应用注释掉Jasper相关依赖,在本地开发环境取消注释开启JasperReport相关功能 -->
<dependency>
<groupId>lab.s2jh</groupId>
<artifactId>jasper-service</artifactId>
<version>${s2jh.version}</version>
</dependency>
注意是prototype/pom.xml文件里面大概43行开始
弄了2天了 还是没有运行起来