启动ngrinder报错

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

启动ngrinder报错

tantan
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2019-07-12 14:03:23,641 ERROR SpringApplication.java:837 : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseUpdater': Invocation of init method failed; nested exception is org.ngrinder.common.exception.NGrinderRuntimeException: Exception occurs while Liquibase update DB
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1686)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:573)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1087)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:857)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:548)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
        at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
        at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
        at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
        at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
        at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1720)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
        at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
        at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
12-Jul-2019 14:03:23.642 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Gradle___org_ngrinder___ngrinder_controller_3_5_0_SNAPSHOT_war__exploded_]]
        at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
        at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
                at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1720)
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.security.AccessController.doPrivileged(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:498)
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
        at java.lang.reflect.Method.invoke(Method.java:498)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.rmi.transport.Transport$1.run(Transport.java:200)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at sun.rmi.transport.Transport$1.run(Transport.java:197)
                at java.lang.reflect.Method.invoke(Method.java:498)
        at java.security.AccessController.doPrivileged(Native Method)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
                at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
                at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
        at java.security.AccessController.doPrivileged(Native Method)
                at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
                at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.security.AccessController.doPrivileged(Native Method)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
        at java.lang.Thread.run(Thread.java:748)
                at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
Caused by: org.ngrinder.common.exception.NGrinderRuntimeException: Exception occurs while Liquibase update DB
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at org.ngrinder.common.util.ExceptionUtils.processException(ExceptionUtils.java:53)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at org.ngrinder.infra.init.DatabaseUpdater.init(DatabaseUpdater.java:83)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.lang.reflect.Method.invoke(Method.java:498)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at sun.rmi.transport.Transport$1.run(Transport.java:200)
        at java.lang.reflect.Method.invoke(Method.java:498)
                at sun.rmi.transport.Transport$1.run(Transport.java:197)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
                at java.security.AccessController.doPrivileged(Native Method)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:309)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
        at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
        ... 67 common frames omitted
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
Caused by: liquibase.exception.LockException: liquibase.exception.DatabaseException: Error executing SQL UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.613' WHERE ID = 1 AND LOCKED = FALSE: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
                at java.security.AccessController.doPrivileged(Native Method)
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WH at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
ERE ID = 1 AND LOCKED = FALSE [22001-197]
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:242)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:170)
                at java.lang.Thread.run(Thread.java:748)
        at liquibase.Liquibase.update(Liquibase.java:196)
        Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'databaseUpdater': Invocation of init method failed; nested exception is org.ngrinder.common.exception.NGrinderRuntimeException: Exception occurs while Liquibase update DB
        at liquibase.Liquibase.update(Liquibase.java:192)
                at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:139)
        at liquibase.Liquibase.update(Liquibase.java:188)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)
        at liquibase.Liquibase.update(Liquibase.java:181)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1686)
        at org.ngrinder.infra.init.DatabaseUpdater.init(DatabaseUpdater.java:81)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:573)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:495)
                at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315)
        at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:304)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
        at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
                at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1087)
Caused by: liquibase.exception.DatabaseException: Error executing SQL UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.613' WHERE ID = 1 AND LOCKED = FALSE: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WHERE ID = 1 AND LOCKED = FALSE [22001-197]
                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:857)
        at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:68)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:548)
        at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:231)
                at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
        at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:205)
                at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
        at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:215)
                at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
        ... 13 common frames omitted
                at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
Caused by: org.h2.jdbc.JdbcSQLException: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
                at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:157)
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WHERE ID = 1 AND LOCKED = FALSE [22001-197]
                at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:137)
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:357)
                at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
        at org.h2.message.DbException.get(DbException.java:179)
                at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172)
        at org.h2.table.Column.validateConvertUpdateSequence(Column.java:398)
                at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)
        at org.h2.table.Table.validateConvertUpdateSequence(Table.java:798)
                at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.h2.command.dml.Update.update(Update.java:157)
                ... 44 more
        at org.h2.command.CommandContainer.update(CommandContainer.java:102)
        Caused by: org.ngrinder.common.exception.NGrinderRuntimeException: Exception occurs while Liquibase update DB
                at org.ngrinder.common.util.ExceptionUtils.processException(ExceptionUtils.java:53)
        at org.h2.command.Command.executeUpdate(Command.java:261)
                at org.ngrinder.infra.init.DatabaseUpdater.init(DatabaseUpdater.java:83)
        at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:169)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:126)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
        at liquibase.executor.jvm.JdbcExecutor$1UpdateStatementCallback.doInStatement(JdbcExecutor.java:222)
                at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:309)
        at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
                at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
        ... 16 common frames omitted
                ... 67 more
        Caused by: liquibase.exception.LockException: liquibase.exception.DatabaseException: Error executing SQL UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.613' WHERE ID = 1 AND LOCKED = FALSE: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WHERE ID = 1 AND LOCKED = FALSE [22001-197]
                at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:242)
                at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:170)
                at liquibase.Liquibase.update(Liquibase.java:196)
                at liquibase.Liquibase.update(Liquibase.java:192)
                at liquibase.Liquibase.update(Liquibase.java:188)
                at liquibase.Liquibase.update(Liquibase.java:181)
                at org.ngrinder.infra.init.DatabaseUpdater.init(DatabaseUpdater.java:81)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
        Caused by: liquibase.exception.DatabaseException: Error executing SQL UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.613' WHERE ID = 1 AND LOCKED = FALSE: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WHERE ID = 1 AND LOCKED = FALSE [22001-197]
                at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:68)
                at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:231)
                at liquibase.executor.jvm.JdbcExecutor.update(JdbcExecutor.java:205)
                at liquibase.lockservice.StandardLockService.acquireLock(StandardLockService.java:215)
                ... 13 more
        Caused by: org.h2.jdbc.JdbcSQLException: Value too long for column "LOCKED CHAR(1) NOT NULL": "'TRUE' (4)"; SQL statement:
UPDATE PUBLIC.DATABASECHANGELOGLOCK SET LOCKED = TRUE, LOCKEDBY = 'bogon (10.112.96.44)', LOCKGRANTED = '2019-07-12 14:03:23.604' WHERE ID = 1 AND LOCKED = FALSE [22001-197]
                at org.h2.message.DbException.getJdbcSQLException(DbException.java:357)
                at org.h2.message.DbException.get(DbException.java:179)
                at org.h2.table.Column.validateConvertUpdateSequence(Column.java:398)
                at org.h2.table.Table.validateConvertUpdateSequence(Table.java:798)
                at org.h2.command.dml.Update.update(Update.java:157)
                at org.h2.command.CommandContainer.update(CommandContainer.java:102)
                at org.h2.command.Command.executeUpdate(Command.java:261)
                at org.h2.jdbc.JdbcStatement.executeUpdateInternal(JdbcStatement.java:169)
                at org.h2.jdbc.JdbcStatement.executeUpdate(JdbcStatement.java:126)
                at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
                at liquibase.executor.jvm.JdbcExecutor$1UpdateStatementCallback.doInStatement(JdbcExecutor.java:222)
                at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
                ... 16 more
12-Jul-2019 14:03:23.644 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method manageApp
        java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Gradle___org_ngrinder___ngrinder_controller_3_5_0_SNAPSHOT_war__exploded_]]
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
                at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1720)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
                at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
                at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
                at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
                at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
                at sun.rmi.transport.Transport$1.run(Transport.java:200)
                at sun.rmi.transport.Transport$1.run(Transport.java:197)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)
12-Jul-2019 14:03:23.645 严重 [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method createStandardContext
        javax.management.RuntimeOperationsException: Exception invoking method manageApp
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:295)
[2019-07-12 02:03:23,655] Artifact Gradle : org.ngrinder : ngrinder-controller-3.5.0-SNAPSHOT.war (exploded): Error during artifact deployment. See server log for details.
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:483)
                at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:432)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
                at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
                at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
                at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
                at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
                at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
                at sun.rmi.transport.Transport$1.run(Transport.java:200)
                at sun.rmi.transport.Transport$1.run(Transport.java:197)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)
        Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Gradle___org_ngrinder___ngrinder_controller_3_5_0_SNAPSHOT_war__exploded_]]
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:747)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
                at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1720)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
                ... 35 more
Reply | Threaded
Open this post in threaded view
|

Re: 启动ngrinder报错

junoyoon
Administrator
Please do not report stacktrace without any explanation.
It's a  just trash if there is no proper context.