ec side启动错误
hyzhangjun
2008-04-07
2008-4-7 13:38:28 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.5\bin;D:\tomcat5.5\bin 2008-4-7 13:38:29 org.apache.coyote.http11.Http11BaseProtocol init 信息: Initializing Coyote HTTP/1.1 on http-80 2008-4-7 13:38:29 org.apache.catalina.startup.Catalina load 信息: Initialization processed in 1610 ms 2008-4-7 13:38:29 org.apache.catalina.core.StandardService start 信息: Starting service Catalina 2008-4-7 13:38:29 org.apache.catalina.core.StandardEngine start 信息: Starting Servlet Engine: Apache Tomcat/5.5.20 2008-4-7 13:38:29 org.apache.catalina.core.StandardHost start 信息: XML validation disabled 2008-4-7 13:38:31 org.apache.catalina.core.ApplicationContext log 信息: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]] 2008-4-7 13:38:31 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 2008-4-7 13:38:31 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 2008-4-7 13:38:31 org.apache.catalina.core.ApplicationContext log 信息: ContextListener: contextInitialized() 2008-4-7 13:38:31 org.apache.catalina.core.ApplicationContext log 信息: SessionListener: contextInitialized() 2008-4-7 13:38:32 demo.common.H2DBListener contextInitialized 信息: h2Listener initialize... 2008-4-7 13:38:32 org.apache.catalina.core.ApplicationContext log 信息: Initializing Spring root WebApplicationContext 2008-4-7 13:38:32 org.springframework.web.context.ContextLoader initWebApplicationContext 信息: Root WebApplicationContext: initialization started 2008-4-7 13:38:32 org.springframework.context.support.AbstractApplicationContext prepareRefresh 信息: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1531164: display name [Root WebApplicationContext]; startup date [Mon Apr 07 13:38:32 CST 2008]; root of context hierarchy 2008-4-7 13:38:33 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions 信息: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml] 2008-4-7 13:38:34 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory 信息: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1531164]: org.springframework.beans.factory.support.DefaultListableBeanFactory@d9cbcb 2008-4-7 13:38:34 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons 信息: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@d9cbcb: defining beans [myEasyDA,userInfoDAO,userInfoList,exportUserInfo,test_datasource]; root of factory hierarchy 2008-4-7 13:38:35 org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName 信息: Loaded JDBC driver: org.h2.Driver 2008-4-7 13:38:48 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons 信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@d9cbcb: defining beans [myEasyDA,userInfoDAO,userInfoList,exportUserInfo,test_datasource]; root of factory hierarchy 2008-4-7 13:38:48 org.springframework.web.context.ContextLoader initWebApplicationContext 严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myEasyDA' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'test_datasource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test_datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test_datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] Caused by: org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] at org.h2.message.Message.getSQLException(Message.java:65) at org.h2.message.Message.convert(Message.java:370) at org.h2.message.TraceObject.logAndConvert(TraceObject.java:206) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:936) at org.h2.Driver.connect(Driver.java:52) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:140) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:240) at org.ecside.common.H2DriverManagerDataSource.afterPropertiesSet(H2DriverManagerDataSource.java:81) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by: java.lang.Error: rowcount remaining=-1 SYS at org.h2.message.Message.getInternalError(Message.java:98) at org.h2.table.TableData.addIndex(TableData.java:173) at org.h2.engine.Database.open(Database.java:469) at org.h2.engine.Database.<init>(Database.java:378) at org.h2.engine.Engine.openSession(Engine.java:49) at org.h2.engine.Engine.getSession(Engine.java:92) at org.h2.engine.Session.createSession(Session.java:140) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:923) ... 53 more 2008-4-7 13:38:48 org.apache.catalina.core.StandardContext listenerStart 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myEasyDA' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'test_datasource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test_datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'test_datasource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] Caused by: org.h2.jdbc.JdbcSQLException: General error: java.lang.Error: rowcount remaining=-1 SYS [HY000-46] at org.h2.message.Message.getSQLException(Message.java:65) at org.h2.message.Message.convert(Message.java:370) at org.h2.message.TraceObject.logAndConvert(TraceObject.java:206) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:936) at org.h2.Driver.connect(Driver.java:52) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:140) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:291) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:277) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:259) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:240) at org.ecside.common.H2DriverManagerDataSource.afterPropertiesSet(H2DriverManagerDataSource.java:81) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) Caused by: java.lang.Error: rowcount remaining=-1 SYS at org.h2.message.Message.getInternalError(Message.java:98) at org.h2.table.TableData.addIndex(TableData.java:173) at org.h2.engine.Database.open(Database.java:469) at org.h2.engine.Database.<init>(Database.java:378) at org.h2.engine.Engine.openSession(Engine.java:49) at org.h2.engine.Engine.getSession(Engine.java:92) at org.h2.engine.Session.createSession(Session.java:140) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:923) ... 53 more 2008-4-7 13:38:48 org.apache.catalina.core.StandardContext start 严重: Error listenerStart 2008-4-7 13:38:48 org.apache.catalina.core.StandardContext start 严重: Context [/tag] startup failed due to previous errors 2008-4-7 13:38:48 org.apache.catalina.core.ApplicationContext log 信息: Closing Spring root WebApplicationContext 2008-4-7 13:38:49 demo.common.H2DBListener contextDestroyed 信息: h2db stoped... 2008-4-7 13:38:52 org.apache.coyote.http11.Http11BaseProtocol start 信息: Starting Coyote HTTP/1.1 on http-80 2008-4-7 13:38:53 org.apache.jk.common.ChannelSocket init 信息: JK: ajp13 listening on /0.0.0.0:8009 2008-4-7 13:38:53 org.apache.jk.server.JkMain start 信息: Jk running ID=0 time=0/157 config=null 2008-4-7 13:38:53 org.apache.catalina.storeconfig.StoreLoader load 信息: Find registry server-registry.xml at classpath resource 2008-4-7 13:38:53 org.apache.catalina.startup.Catalina start 信息: Server startup in 24797 ms Exception in thread "H2 Log Writer TESTDB" java.lang.NullPointerException at org.h2.util.TempFileDeleter.deleteUnused(TempFileDeleter.java:46) at org.h2.store.WriterThread.run(WriterThread.java:99) |
|
mhere
2008-04-07
你环境配的有问题吧,仔细一点吧
|
|
zghorse
2008-04-09
你把工程重新发布一次应该就对了。大概是:你在测试的过程中修改了H2中的数据。具体的原因不太清楚,应该需要进一步了解H2的原理哈
|