[jboss-user] [jBPM] - Re: jbpm-console don't start in jBPM 5.2
Rogelio Di Pasquale
do-not-reply at jboss.com
Wed Jan 11 14:42:50 EST 2012
Rogelio Di Pasquale [https://community.jboss.org/people/roger0681] created the discussion
"Re: jbpm-console don't start in jBPM 5.2"
To view the discussion, visit: https://community.jboss.org/message/646121#646121
--------------------------------------------------------------
Hi all,
I faced the same problems, when trying to install jbpm5 on a fresh JBoss 7. After lots of googling, reading forums, and editing xmls, I made it work.
It is not a problem of files, but a configuration problem. When running ant install.demo, JBoss config files are edited.
If you try to copy war files to a fresh JBoss 7, you need to do some editing to standalone.xml:
a) Add a deployment timeout value, because, at least using a slow computer, JBoss times out trying to deploy our war files:
+<deployment-scanner name="default" path="deployments" scan-enabled="true"+
+scan-interval="5000" relative-to="jboss.server.base.dir" *deployment-timeout="600"*/>+
b) Add a security domain for jbpm-console, because it relies on JBoss security (just search for the default security-domain, and add this tag after it):
<security-domain name="jbpm-console" cache-type="default">
<authentication>
<login-module code="UsersRoles" flag="required"/>
</authentication>
</security-domain>
c) Also, you need to configure the datasource for jbpm (just add it after Example datasource):
<datasource jndi-name="java:jboss/datasources/jbpmDS" pool-name="H2DS" enabled="true" jta="true" use-java-context="true" use-ccm="true">
<connection-url>
jdbc:h2:tcp://localhost/~/test
</connection-url>
<driver>
h2
</driver>
<pool>
<prefill>
false
</prefill>
<use-strict-min>
false
</use-strict-min>
<flush-strategy>
FailingConnectionOnly
</flush-strategy>
</pool>
<security>
<user-name>
sa
</user-name>
<password>
</password>
</security>
</datasource>
d) At last, I commented jpa subsystem, because jbpm-gwt-console-server would never run (I don't know why).
*<!--*
* <subsystem xmlns="urn:jboss:domain:jpa:1.0">*
<jpa default-datasource=""/>
</subsystem>
*-->*
Thats all, folks.
Then, when you run JBoss and log into jbpm-console, you need to have a task-server running.
Here is a link that addresses some of this problems: http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html http://kverlaen.blogspot.com/2011/07/jbpm5-on-as7-lightning.html (yes, mr krisv)
Roger
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/646121#646121]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120111/b3c9a143/attachment.html
More information about the jboss-user
mailing list