@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-win32\sts-bundle\pivotal-tc-server-developer-3.0.2.RELEASE\base-instance\wtpwebapps\prototype
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 = 'DEFA
弄了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行开始
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。