cancel
Showing results for 
Search instead for 
Did you mean: 

deploying activiti into jboss 7.x.x

odemwingie
Champ in-the-making
Champ in-the-making
Hello, everyone!
I'm just a beginner in java, so can't understand a lot, but in any case I have to deploy Activiti on JBoss 7. After reading different posts here I've understood that this task is not impossible. I tried to do like written in this post - http://www.mastertheboss.com/activiti-bpmn/activiti-bpmn-on-jboss-as-7/page-2, but  in vain. Here I've also found several posts about the process, but nothing of them was complete. So if anyone could explain how to deploy activiti-explorer and activiti-rest on JBoss 7.1.1 step by step, that would save me!
Hope, anyone will be able to help me.
Best regards,
Arsene
21 REPLIES 21

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
For €1000 payed to my paypal account I'll write this…

odemwingie
Champ in-the-making
Champ in-the-making
For €1000 payed to my paypal account I'll write this…
Clean jokeSmiley Happy This sum is my 2-months' salary!

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Then try things yourself and come with explicit errors/questions with which we can help…

I refuse (and this is a serious answer, just like the previous one) to help writing a full manual for free for someone that, with low hourly rates, takes work away from us…

odemwingie
Champ in-the-making
Champ in-the-making
Then try things yourself and come with explicit errors/questions with which we can help…

I refuse (and this is a serious answer, just like the previous one) to help writing a full manual for free for someone that, with low hourly rates, takes work away from us…

Ok. So my task is not exactly like in that post above. There the author explains how to deploy with MySQL DB, but I have to make the same thing but with Postgres.
Firstly, I've installed Postgres and created DB mydb. Secondly, I've deployed Postgres JDBC driver module like written here - http://stackoverflow.com/questions/12403428/how-to-connect-jboss-as-7-1-1-with-postgresql.
Unfortunately the command
/subsystem=datasources/jdbc-driver=postgresql-driver:add(driver-name=postgresql-driver, driver-class-name=org.postgresql.Driver, driver-module-name=org.postgresql)failed with the following error
Failed to get the list of the operation properties: "JBAS010850: No
    handler for operation read-operation-description at address [
    ("subsystem" => "datasources"),
    ("jdbc-driver" => "postgresql-driver") ]"
but I've continued.
After it I have added the following strings into standalone.xml and domain.xml:
<datasource jndi-name="java:jboss/PostgresDS" pool-name="PostgresDS" enabled="true" use-java-context="true">
    <connection-url>jdbcSmiley Tongueostgresql://localhost:5432/mydb</connection-url>
    <driver>postgresql</driver>
    <security>
      <user-name>postgres</user-name>
      <password>root</password>
    </security>
    <validation>
      <valid-connection-checker class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker"></valid-connection-checker>
      <exception-sorter class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter"></exception-sorter>
    </validation>
  </datasource>
  <drivers>
    <driver name="postgresql" module="org.postgresql">
      <xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
    </driver>
  </drivers>
Then I have edited db settings in \WEB-INF\classes\db.properties:
db=postgresql
jdbc.driver=org.postgresql
jdbc.url=java:jboss/PostgresDS;DB_CLOSE_DELAY=1000
jdbc.username=postgres
jdbc.password=root
and \WEB-INF\activiti-standalone-context.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jee="http://www.springframework.org/schema/jee"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
       http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
       http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd">

    <bean id="dbProperties"
        class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="location" value="classpath:db.properties" />

        <property name="ignoreUnresolvablePlaceholders" value="true" />
    </bean>

    <bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator">
        <property name="processEngine" ref="processEngine" />
    </bean>

    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
        <property name="driverClassName" value="org.postgresql.Driver" />
        <property name="url"
            value="jdbcSmiley Tongueostgresql://localhost:5432/mydb" />
        <property name="username" value="postgres" />
        <property name="password" value="root" />
        <property name="defaultAutoCommit" value="false" />
    </bean>

     <!– process engine configuration –>
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
  <property name="dataSourceJndiName" value="java:jboss/PostgresDS" />
  <property name="databaseType" value="postgresql" />
  <property name="transactionManager" ref="transactionManager" />
  <property name="transactionsExternallyManaged" value="true" />
  <property name="databaseSchemaUpdate" value="true" />
</bean>

<bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean">
  <property name="jndiName" value="java:jboss/TransactionManager"></property>
  <property name="resourceRef" value="true" />
</bean>

    <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean"
        destroy-method="destroy">
        <property name="processEngineConfiguration" ref="processEngineConfiguration" />
    </bean>

    <bean id="repositoryService" factory-bean="processEngine"
        factory-method="getRepositoryService" />
    <bean id="runtimeService" factory-bean="processEngine"
        factory-method="getRuntimeService" />
    <bean id="taskService" factory-bean="processEngine"
        factory-method="getTaskService" />
    <bean id="historyService" factory-bean="processEngine"
        factory-method="getHistoryService" />
    <bean id="managementService" factory-bean="processEngine"
        factory-method="getManagementService" />
    <bean id="identityService" factory-bean="processEngine"
        factory-method="getIdentityService" />

    <bean id="activitiLoginHandler" class="org.activiti.explorer.ui.login.DefaultLoginHandler">
        <property name="identityService" ref="identityService" />
    </bean>

    <import resource="activiti-ui-context.xml" />

    <bean id="userFormType" class="org.activiti.explorer.form.UserFormType" />

</beans>
Then I've copied the contents of programmatic folder of https://bitbucket.org/meyerd/activiti-cdi-jbossas7.1.1-setup to my war.
Finally I've deployed my activiti-explorer.war but the deploying failed. Here is the log:
02:00:56,149 INFO  [org.jboss.as.naming] (MSC service thread 1-8) JBAS011802: Starting Naming Service
02:00:56,164 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
02:00:56,324 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
02:00:56,530 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA
02:00:57,036 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Test\Desktop\jboss-as-7.1.1.Final\standalone\deployments
02:00:57,340 INFO  [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:4447
02:00:57,341 INFO  [org.jboss.as.remoting] (MSC service thread 1-6) JBAS017100: Listening on /127.0.0.1:9999
02:00:57,360 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-7) Starting Coyote HTTP/1.1 on http–127.0.0.1-8080
02:00:57,627 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
02:00:57,849 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.jdbc-driver.postgresql (missing) dependents: [service jboss.data-source.java:jboss/PostgresDS]

02:00:57,876 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "activiti-explorer.war"
02:01:07,704 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry avalon-framework-4.2.0.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,708 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry batik-all-1.6.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,713 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry commons-io-1.3.1.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,715 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry commons-logging-1.0.4.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,722 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry fop-hyph.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,726 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry jai_codec.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,732 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry jai_core.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,736 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry jimi.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,740 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry serializer-2.7.0.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,834 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry servlet-2.2.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,837 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xalan-2.7.0.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,840 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xercesImpl-2.7.1.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,843 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xml-apis-1.3.02.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,847 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xmlunit1.0.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/fop-0.94.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,852 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry activation.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/mail-1.4.1.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,859 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xercesImpl.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/xalan-2.6.0.jar"  does not point to a valid jar for a Class-Path reference.
02:01:07,862 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-7) Class Path entry xml-apis.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/xalan-2.6.0.jar"  does not point to a valid jar for a Class-Path reference.
02:01:08,343 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
02:01:08,442 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-7) No Spring WebApplicationInitializer types detected on classpath
02:01:08,483 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-7) Initializing Spring root WebApplicationContext
02:01:08,486 INFO  [org.springframework.web.context.ContextLoader] (MSC service thread 1-7) Root WebApplicationContext: initialization started
02:01:08,556 INFO  [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-7) Refreshing Root WebApplicationContext: startup date [Sat Feb 16 02:01:08 MSK 2013]; root of context hierarchy
02:01:08,618 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-7) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
02:01:08,902 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-7) Loading XML bean definitions from ServletContext resource [/WEB-INF/activiti-standalone-context.xml]
02:01:08,974 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-7) Loading XML bean definitions from ServletContext resource [/WEB-INF/activiti-ui-context.xml]
02:01:09,034 INFO  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-7) Loading XML bean definitions from ServletContext resource [/WEB-INF/activiti-ui-context.xml]
02:01:09,076 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'activitiUiPropertyPlaceholder': replacing [Generic bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,085 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'navigatorManager': replacing [Generic bean: class [org.activiti.explorer.navigation.NavigatorManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.navigation.NavigatorManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,097 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'attachmentRendererManager': replacing [Generic bean: class [org.activiti.explorer.ui.content.AttachmentRendererManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.content.AttachmentRendererManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,108 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'formPropertyRendererManager': replacing [Generic bean: class [org.activiti.explorer.ui.form.FormPropertyRendererManager]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.form.FormPropertyRendererManager]; scope=; abstract=false; lazyInit=true; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,115 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'variableRendererManager': replacing [Generic bean: class [org.activiti.explorer.ui.variable.VariableRendererManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.variable.VariableRendererManager]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,129 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'componentFactories': replacing [Generic bean: class [org.activiti.explorer.ComponentFactories]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ComponentFactories]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,136 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'processDefinitionFilterFactory': replacing [Generic bean: class [org.activiti.explorer.ui.process.ProcessDefinitionFilterFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.process.ProcessDefinitionFilterFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,144 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'deploymentFilterFactory': replacing [Generic bean: class [org.activiti.explorer.ui.management.deployment.DeploymentFilterFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.management.deployment.DeploymentFilterFactory]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,152 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'userCache': replacing [Generic bean: class [org.activiti.explorer.cache.UserCacheFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.cache.UserCacheFactoryBean]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,158 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'navigationFragmentChangeListener': replacing [Generic bean: class [org.activiti.explorer.navigation.NavigationFragmentChangeListener]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.navigation.NavigationFragmentChangeListener]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,166 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'mainWindow': replacing [Generic bean: class [org.activiti.explorer.ui.MainWindow]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ui.MainWindow]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,174 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'explorerApp': replacing [Generic bean: class [org.activiti.explorer.ExplorerApp]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ExplorerApp]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,183 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'i18nManager': replacing [Generic bean: class [org.activiti.explorer.I18nManager]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.I18nManager]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,189 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'notificationManager': replacing [Generic bean: class [org.activiti.explorer.NotificationManager]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.NotificationManager]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,194 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Overriding bean definition for bean 'viewManager': replacing [Generic bean: class [org.activiti.explorer.ViewManagerFactoryBean]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]] with [Generic bean: class [org.activiti.explorer.ViewManagerFactoryBean]; scope=session; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in ServletContext resource [/WEB-INF/activiti-ui-context.xml]]
02:01:09,299 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-7) Loading properties file from class path resource [db.properties]
02:01:09,304 INFO  [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-7) Loading properties file from class path resource [ui.properties]
02:01:09,323 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a93c3aa: defining beans [dbProperties,demoDataGenerator,dataSource,processEngineConfiguration,transactionManager,processEngine,repositoryService,runtimeService,taskService,historyService,managementService,identityService,activitiLoginHandler,activitiUiPropertyPlaceholder,navigatorManager,attachmentRendererManager,formPropertyRendererManager,variableRendererManager,componentFactories,processDefinitionFilterFactory,deploymentFilterFactory,userCache,navigationFragmentChangeListener,mainWindow,explorerApp,i18nManager,notificationManager,viewManager,userFormType]; root of factory hierarchy
02:01:09,333 INFO  [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-7) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@a93c3aa: defining beans [dbProperties,demoDataGenerator,dataSource,processEngineConfiguration,transactionManager,processEngine,repositoryService,runtimeService,taskService,historyService,managementService,identityService,activitiLoginHandler,activitiUiPropertyPlaceholder,navigatorManager,attachmentRendererManager,formPropertyRendererManager,variableRendererManager,componentFactories,processDefinitionFilterFactory,deploymentFilterFactory,userCache,navigationFragmentChangeListener,mainWindow,explorerApp,i18nManager,notificationManager,viewManager,userFormType]; root of factory hierarchy
02:01:09,336 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-7) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoDataGenerator' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngine' while setting bean property 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngineConfiguration' while setting bean property 'processEngineConfiguration'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngineConfiguration' while setting bean property 'processEngineConfiguration'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 23 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 33 more
Caused by: java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258) [spring-core-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 39 more

02:01:09,390 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-7) 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 'demoDataGenerator' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngine' while setting bean property 'processEngine'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngineConfiguration' while setting bean property 'processEngineConfiguration'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) [spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [spring-web-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]: Cannot resolve reference to bean 'processEngineConfiguration' while setting bean property 'processEngineConfiguration'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 23 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 33 more
Caused by: java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:258) [spring-core-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 39 more

02:01:09,489 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-7) Error listenerStart
02:01:09,490 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-7) Context [/activiti-explorer] startup failed due to previous errors
02:01:09,505 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-7) Closing Spring root WebApplicationContext
02:01:09,513 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.web.deployment.default-host./activiti-explorer: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./activiti-explorer: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]

02:01:09,520 INFO  [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on http://127.0.0.1:9990
02:01:09,521 ERROR [org.jboss.as] (MSC service thread 1-4) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 15684ms - Started 180 of 262 services (4 services failed or missing dependencies, 76 services are passive or on-demand)
02:01:09,722 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "activiti-explorer.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./activiti-explorer" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./activiti-explorer: JBAS018040: Failed to start context"}}
02:01:21,688 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment activiti-explorer.war in 11966ms
02:01:21,690 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./activiti-explorer: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./activiti-explorer: JBAS018040: Failed to start context

02:01:21,692 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.web.deployment.default-host./activiti-explorer" => "org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./activiti-explorer: JBAS018040: Failed to start context"}}}}
02:01:26,969 INFO  [org.apache.catalina.core.StandardContext] (MSC service thread 1-7) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
02:01:26,975 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010409: Unbound data source [java:jboss/PostgresDS]
02:01:26,975 INFO  [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011942: Stopping OSGi Framework

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Your problem seems to be with the datasource… Try to get that configured correctly first, without activiti. When using jboss, configure a jndi datasource in activiti, don't use the db.properties way…

odemwingie
Champ in-the-making
Champ in-the-making
With dataSource in JBoss done. But now I have the error which is described in the post http://www.mastertheboss.com/activiti-bpmn/activiti-bpmn-on-jboss-as-7/page-2 in the bottom of the page.
Cannot find class [org.activiti.cdi.CdiJtaProcessEngineConfiguration] for bean with name 'processEngineConfiguration' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: org.activiti.cdi.CdiJtaProcessEngineConfiguration from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]I have downloaded the archive from https://bitbucket.org/meyerd/activiti-cdi-jbossas7.1.1-setup but don't understand what should I do with it. There are 2 folders - spring and programmatic, in each of them there are the file called pom.xml and the folder src.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
That is a small demo app… Have you used the conrrect config and used the activiti-cdi jar?

odemwingie
Champ in-the-making
Champ in-the-making
No. I haven't used activiti-cdi.jar.
I have installed and configured Postgresql, created DB. Deployed jdbc driver as module and created DataSource java:/postresDS in the web-console.
Now I should configure activiti-standalone-context.xml (if the information in the post with the instruction is right)
So I don't understand what I should do now. How should I edit the config of activiti-standalone-context.xml?
I tried like in the post:
<!– process engine configuration –>
<bean id="processEngineConfiguration" class="org.activiti.cdi.CdiJtaProcessEngineConfiguration">
    <property name="dataSourceJndiName" value="java:/postgresDS" />
    <property name="databaseType" value="postgresql" />
    <property name="transactionManager" ref="transactionManager" />
    <property name="transactionsExternallyManaged" value="true" />
    <property name="databaseSchemaUpdate" value="true" />
</bean>
<bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean">
    <property name="jndiName" value="java:jboss/TransactionManager"></property>
    <property name="resourceRef" value="true" />
</bean>
And while deploying I got that error above

odemwingie
Champ in-the-making
Champ in-the-making
Tried to deploy activiti-cdi.jar before deploying activiti-explorer. Got an impressive number of errors…