02-15-2013 03:32 PM
02-20-2013 04:23 PM
02-20-2013 11:36 PM
02-21-2013 04:53 PM
02-21-2013 05:22 PM
02-22-2013 03:08 AM
02-22-2013 04:00 AM
<?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.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd">
<!– This Spring config file is NOT used in Alfresco, as the Activiti engine is wired in a different way there –>
<bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator" init-method="init">
<property name="processEngine" ref="processEngine" />
<property name="createDemoUsersAndGroups" value="true" />
<property name="createDemoProcessDefinitions" value="true" />
<property name="createDemoModels" value="true" />
</bean>
<bean id="dbProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:db.properties" />
<!– Allow other PropertyPlaceholderConfigurer to run as well –>
<property name="ignoreUnresolvablePlaceholders" value="true" />
</bean>
<!–<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
<property name="driverClassName" value="${jdbc.driver}" />
<property name="url" value="${jdbc.url}" />
<property name="username" value="${jdbc.username}" />
<property name="password" value="${jdbc.password}" />
<property name="defaultAutoCommit" value="false" />
</bean>
<bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource" />
</bean>–>
<!– 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>
<!–<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="true" />
<property name="customFormTypes">
<list>
<bean class="org.activiti.explorer.form.UserFormType"/>
</list>
</property>
</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>
</beans>
2. Then I've edited WEB-INF\classes\db.propertiesdb=postgres
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbcostgresql://localhost:5432/mydb
jdbc.username=postgres
jdbc.password=root
3. After it I've gone to META-INF\maven\org.activiti\activiti-webapp-explorer2\ and edited pom.xml:<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.camunda.example.activiti.cdi</groupId>
<artifactId>programmatic-config</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Activiti - Webapp - Explorer V2</name>
<artifactId>activiti-webapp-explorer2</artifactId>
<packaging>war</packaging>
<parent>
<groupId>org.activiti</groupId>
<artifactId>activiti-root</artifactId>
<relativePath>../..</relativePath>
<version>5.11</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<configuration>
<warSourceDirectory>src/main/webapp</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!– http://maven.apache.org/plugins/maven-compiler-plugin/ –>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>jrebel-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/ui-jar.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<!– A simple Jetty test server at http://localhost:8080/activiti-webapp-explorer2 can be launched with the Maven goal jetty:run
and stopped with jetty:stop –>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.24</version>
<configuration>
<stopPort>9966</stopPort>
<stopKey>activiti-webapp-explorer2</stopKey>
<!– Redeploy every x seconds if changes are detected, 0 for no automatic redeployment –>
<scanIntervalSeconds>0</scanIntervalSeconds>
<!– make sure Jetty also finds the widgetset –>
<webAppConfig>
<contextPath>/activiti-explorer2</contextPath>
<baseResource implementation="org.mortbay.resource.ResourceCollection">
<!– Workaround for Maven/Jetty issue http://jira.codehaus.org/browse/JETTY-680 –>
<!– <resources>src/main/webapp,${project.build.directory}/${project.build.finalName}</resources> –>
<resourcesAsCSV>src/main/webapp</resourcesAsCSV>
</baseResource>
</webAppConfig>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!–This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.–>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.zeroturnaround
</groupId>
<artifactId>
jrebel-maven-plugin
</artifactId>
<versionRange>
[1.0.7,)
</versionRange>
<goals>
<goal>generate</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<!– Activiti –>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring</artifactId>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-explorer</artifactId>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-modeler</artifactId>
</dependency>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-cdi</artifactId>
<version>5.11</version>
<exclusions>
<exclusion>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>2.0.0.Final</version>
<scope>provided</scope>
<type>pom</type>
<exclusions>
<exclusion>
<artifactId>xalan</artifactId>
<groupId>org.apache.xalan</groupId>
</exclusion>
</exclusions>
</dependency>
<!– Database –>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.0.3.RELEASE</version>
</dependency>
<!– Running example processes –>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
</dependency>
<!– Testing –>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>repository.jboss.org</id>
<url>http://repository.jboss.org/nexus/content/groups/public-jboss</url>
</repository>
<repository>
<id>Jboss Groups Public</id>
<url>http://repository.jboss.org/nexus/content/groups/public</url>
</repository>
<repository>
<id>Activiti</id>
<url>http://maven.alfresco.com/nexus/content/repositories/activiti</url>
</repository>
<repository>
<id>buzzmedia</id>
<url>http://maven.thebuzzmedia.com</url> <!– ImageScalr –>
</repository>
<repository>
<id>Alfresco thirdparty</id>
<url>https://maven.alfresco.com/nexus/content/repositories/thirdparty/</url>
</repository>
</repositories>
</project>
4. Finally into WEB-INF/libs I've added activiti-cdi.jar
02-22-2013 04:30 PM
02-22-2013 05:05 PM
02-24-2013 05:17 AM
03-13-2013 10:59 AM
18:49:39,843 INFO [org.jboss.as.configadmin] (ServerService Thread Pool – 26) JBAS016200: Activating ConfigAdmin Subsystem
18:49:39,859 INFO [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 3.2.3.GA
18:49:39,843 INFO [org.jboss.as.naming] (ServerService Thread Pool – 38) JBAS011800: Activating Naming Subsystem
18:49:39,921 INFO [org.jboss.as.osgi] (ServerService Thread Pool – 39) JBAS011940: Activating OSGi Subsystem
18:49:39,952 INFO [org.jboss.as.security] (ServerService Thread Pool – 44) JBAS013101: Activating Security Subsystem
18:49:40,015 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool – 31) JBAS010280: Activating Infinispan subsystem.
18:49:40,015 INFO [org.jboss.as.security] (MSC service thread 1-8) JBAS013100: Current PicketBox version=4.0.7.Final
18:49:40,030 INFO [org.jboss.as.webservices] (ServerService Thread Pool – 48) JBAS015537: Activating WebServices Extension
18:49:40,062 INFO [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
18:49:40,124 INFO [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
18:49:40,140 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
18:49:40,171 INFO [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
18:49:40,218 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010404: Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 9.2)
18:49:40,249 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool – 27) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
18:49:40,452 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-6) JBoss Web Services - Stack CXF Server 4.0.2.GA
18:49:40,999 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-8) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Test\Desktop\jboss-as-7.1.1.Final\standalone\deployments
18:49:41,265 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
18:49:41,280 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http–127.0.0.1-8080
18:49:41,327 INFO [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on /127.0.0.1:9999
18:49:41,499 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
18:49:41,499 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:/mysqlDS]
18:49:41,515 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:/postgresDS]
18:49:41,609 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
18:49:41,609 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 3969ms - Started 141 of 218 services (74 services are passive or on-demand)
18:49:51,063 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "activiti-explorer.war"
18:50:04,831 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry xbean.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/batik-js-1.7.jar" does not point to a valid jar for a Class-Path reference.
18:50:04,831 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry vaadin-6.8.7.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/dcharts-widget-0.10.0.jar" does not point to a valid jar for a Class-Path reference.
18:50:04,831 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry commons-lang3-3.1.jar in "/C:/Users/Test/Desktop/jboss-as-7.1.1.Final/bin/content/activiti-explorer.war/WEB-INF/lib/dcharts-widget-0.10.0.jar" does not point to a valid jar for a Class-Path reference.
18:50:04,846 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,846 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,846 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,846 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,846 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,862 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,862 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,862 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,862 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,878 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,878 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,878 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,878 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,878 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:04,893 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) 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.
18:50:05,003 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'moduleName=groovy-all' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
18:50:05,018 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'moduleVersion=2.0.4' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
18:50:05,018 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'extensionClasses=org.codehaus.groovy.jsr223.ScriptExtensions,org.codehaus.groovy.runtime.SqlGroovyMethods,org.codehaus.groovy.runtime.SwingGroovyMethods,org.codehaus.groovy.runtime.XmlGroovyMethods' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
18:50:05,018 WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015893: Encountered invalid class name 'staticExtensionClasses=org.codehaus.groovy.jsr223.ScriptStaticExtensions' for service type 'org.codehaus.groovy.runtime.ExtensionModule'
18:50:05,440 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
18:50:05,518 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-6) No Spring WebApplicationInitializer types detected on classpath
18:50:05,565 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-6) Initializing Spring root WebApplicationContext
18:50:05,565 INFO [org.springframework.web.context.ContextLoader] (MSC service thread 1-6) Root WebApplicationContext: initialization started
18:50:05,643 INFO [org.springframework.web.context.support.XmlWebApplicationContext] (MSC service thread 1-6) Refreshing Root WebApplicationContext: startup date [Wed Mar 13 18:50:05 MSK 2013]; root of context hierarchy
18:50:05,721 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-6) Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
18:50:05,987 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-6) Loading XML bean definitions from ServletContext resource [/WEB-INF/activiti-standalone-context.xml]
18:50:06,065 INFO [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-6) Loading XML bean definitions from ServletContext resource [/WEB-INF/activiti-ui-context.xml]
18:50:06,268 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-6) Loading properties file from class path resource [db.properties]
18:50:06,268 INFO [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer] (MSC service thread 1-6) Loading properties file from class path resource [ui.properties]
18:50:06,331 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-6) Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6fe52143: defining beans [demoDataGenerator,dbProperties,dataSource,transactionManager,processEngineConfiguration,processEngine,repositoryService,runtimeService,taskService,historyService,managementService,identityService,activitiLoginHandler,activitiUiPropertyPlaceholder,navigatorManager,attachmentRendererManager,formPropertyRendererManager,variableRendererManager,componentFactories,processDefinitionFilterFactory,deploymentFilterFactory,userCache,navigationFragmentChangeListener,mainWindow,explorerApp,i18nManager,scopedTarget.messageSource,messageSource,notificationManager,viewManager,workflowDefinitionConversionFactory]; root of factory hierarchy
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429)
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371)
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
18:50:06,737 ERROR [stderr] (MSC service thread 1-6) at org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:224)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at sun.proxy.$Proxy11.getMetaData(Unknown Source)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDatabaseType(ProcessEngineConfigurationImpl.java:587)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.initDataSource(ProcessEngineConfigurationImpl.java:548)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:393)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:371)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:64)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:56)
18:50:06,753 ERROR [stderr] (MSC service thread 1-6) at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:305)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
18:50:06,768 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
18:50:06,784 ERROR [stderr] (MSC service thread 1-6) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at java.lang.Thread.run(Thread.java:722)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver from [Module "deployment.activiti-explorer.war:main" from Service Module Loader]
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
18:50:06,799 ERROR [stderr] (MSC service thread 1-6) at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420)
18:50:06,815 ERROR [stderr] (MSC service thread 1-6) … 41 more
18:50:07,690 INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] (MSC service thread 1-6) Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6fe52143: defining beans [demoDataGenerator,dbProperties,dataSource,transactionManager,processEngineConfiguration,processEngine,repositoryService,runtimeService,taskService,historyService,managementService,identityService,activitiLoginHandler,activitiUiPropertyPlaceholder,navigatorManager,attachmentRendererManager,formPropertyRendererManager,variableRendererManager,componentFactories,processDefinitionFilterFactory,deploymentFilterFactory,userCache,navigationFragmentChangeListener,mainWindow,explorerApp,i18nManager,scopedTarget.messageSource,messageSource,notificationManager,viewManager,workflowDefinitionConversionFactory]; root of factory hierarchy
18:50:07,690 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-6) 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': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
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': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:305) [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.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:240) [spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40) [activiti-spring-5.12.jar:]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:76) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:372) [activiti-engine-5.12.jar:5.12]
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:64) [activiti-spring-5.12.jar:]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:56) [activiti-spring-5.12.jar:]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32) [activiti-spring-5.12.jar:]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 28 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) [commons-dbcp-1.4.jar:1.4]
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:202) [spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 38 more
Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver 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.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420) [commons-dbcp-1.4.jar:1.4]
… 41 more
18:50:07,768 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-6) 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': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
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': FactoryBean threw exception on object creation; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:305) [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.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:240) [spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:371) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:127) [spring-tx-3.1.2.RELEASE.jar:3.1.2.RELEASE]
at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40) [activiti-spring-5.12.jar:]
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.ProcessEngineImpl.<init>(ProcessEngineImpl.java:76) [activiti-engine-5.12.jar:5.12]
at org.activiti.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:372) [activiti-engine-5.12.jar:5.12]
at org.activiti.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:64) [activiti-spring-5.12.jar:]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:56) [activiti-spring-5.12.jar:]
at org.activiti.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:32) [activiti-spring-5.12.jar:]
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) [spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 28 more
Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
at org.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1429) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1371) [commons-dbcp-1.4.jar:1.4]
at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044) [commons-dbcp-1.4.jar:1.4]
at org.springframework.jdbc.datasource.DataSourceTransactionManager.doBegin(DataSourceTransactionManager.java:202) [spring-jdbc-3.1.2.RELEASE.jar:3.1.2.RELEASE]
… 38 more
Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver 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.apache.commons.dbcp.BasicDataSource.createConnectionFactory(BasicDataSource.java:1420) [commons-dbcp-1.4.jar:1.4]
… 41 more
18:50:07,909 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-6) Error listenerStart
18:50:07,909 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-6) Context [/activiti-explorer] startup failed due to previous errors
18:50:07,925 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/activiti-explorer]] (MSC service thread 1-6) Closing Spring root WebApplicationContext
18:50:07,940 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) 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]
18:50:08,175 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"}}
What's wrong?Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.