cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install Activiti 6 Beta package

muthuskumar
Champ in-the-making
Champ in-the-making
Hi,
I followed the user guide and tried to install the new Activiti 6 beta version but it is throwing the following error when I restart my tomcat engine. Can someone please help?

30-Nov-2015 22:32:43.214 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class com.activiti.servlet.WebConfigurer
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bootstrapper': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.activiti.service.editor.ModelInternalService com.activiti.conf.Bootstrapper.modelService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'modelServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.activiti.service.api.DeploymentService com.activiti.service.editor.ModelServiceImpl.deploymentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deploymentServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.activiti.service.runtime.RuntimeAppDefinitionInternalService com.activiti.service.runtime.DeploymentServiceImpl.runtimeAppDefinitionService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'runtimeAppDefinitionServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.activiti.engine.runtime.Clock com.activiti.service.runtime.RuntimeAppDefinitionServiceImpl.clock; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: couldn't check if tables are already present using metadata: Connections could not be acquired from the underlying database!
   at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
   at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
   at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
   at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
   at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
   at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
   at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
   at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
   at com.activiti.servlet.WebConfigurer.contextInitialized(WebConfigurer.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4793)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236)
   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:717)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:945)
   at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1795)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)
1 REPLY 1

vasile_dirla
Star Contributor
Star Contributor
As I can see there is a problem connecting to the database server.
1. check if the database server is started and reachable from the machine where Activiti is installed
2. check if the database configuration is properly set (database name / user & password , port etc)
3. check if you have in the classpath the proper jdbc driver (according to your database server)