jbpm-6.1.0.Final-installer-full - Issues with deploying jbpm-console.war
nairmano Feb 20, 2015 7:55 AMHi,
I downloaded the latest jbpm-6.1.0.Final-installer-full.zip. I am trying to install it and start the demo when i get this error in server.log which is attached for your reference.
Cause is
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.h2 (missing) dependents: [service jboss.data-source.java:jboss/datasources/ExampleDS, service jboss.driver-demander.java:jboss/datasources/ExampleDS]
service jboss.jdbc-driver.postgresql (missing) dependents: [service jboss.driver-demander.java:jboss/datasources/jbpmDS, service jboss.data-source.java:jboss/datasources/jbpmDS]
I am trying to use a postgresql DB for persistence. I am doing these changes by following the guide.
1. build.properties - uncomment these lines
db.name=postgresql
db.driver.module.prefix=org/postgresql
db.driver.jar.name=${db.name}-jdbc.jar
db.driver.download.url=https://repository.jboss.org/nexus/content/repositories/thirdparty-uploads/postgresql/postgresql/9.1-902.jdbc4/postgresql-9.1-902.jdbc4.jar
2. Changed the dialect inside
jbpm-persistence-JPA2.xml
And creatred a file called postgresql_module.xml in the folder where jbpm-persistence-JPA2.xml exists
3. Inside my standalone.xml configuration file made the changes below for DS
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true">
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
<driver>h2</driver>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
</datasource>
<datasource jta="true" jndi-name="java:jboss/datasources/jbpmDS" pool-name="POSTDS" enabled="true" use-java-context="true" use-ccm="true">
<connection-url>jdbc:postgresql://localhost:5432/jbpm</connection-url>
<driver>postgresql</driver>
<security>
<user-name>postgres</user-name>
<password>postgres</password>
</security>
</datasource>
<drivers>
<driver name="postgresql" module="org.postgresql">
<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class>
</driver>
</drivers>
</datasources>
But getting that error and jbpm-console.war is failing deployment. Do i need the 'ExampleDS' datasource in the conf file or i can remove it?
Is the deloyment failing because its not able to find the postgresql driver jar?
I am stuck on this from yesterday and unable to get the console launched, any help will be highly appreciated.
Thanks and regards,
Manoj
-
server.log.zip 6.4 KB