-
1. java:/jbpmDS not bound issue
whizkid.samrat Mar 23, 2011 1:17 AM (in response to bensonfungjava)Yes it can be ealiy deployed to server/default/deploy folder
however there are couple of requisites:
1. Check if the jbpm-{dbName}-ds.xml file is present in {server.home}\server\default\deploy\jbpm folder or {server.home}\server\default\deploy
2. When the jbossAS is booting up search for the name JbpmDS. (ctrl-f) in the ApplicationServer logs. it will tell you the name to which the datasource bound to . It is assigned to java:JbpmDS (without the /) in my case.
3. Open up jmx console @ localhost:8080 and look up for the datasource bindings. Enable the jbpmDS if it is not previously enabled.
-
2. java:/jbpmDS not bound issue
bensonfungjava Mar 23, 2011 4:14 AM (in response to whizkid.samrat)Hi Sam,
Thanks for your reply. My issues happened in SOA-P platform. i.e. the jbpm-ds.xml is in jbpm.esb folder. I am sure jbpmDS is enabled because the jbpm console is up and running without any problem. Just if my application is deployed at deploy folder, my application cannot find java:/jbpmDS datasource. But if my application is deployed in jbpm.esb folder, it works fine. Do you have any clues or why?
Thanks
-
3. java:/jbpmDS not bound issue
mputz Mar 23, 2011 12:48 PM (in response to bensonfungjava)My issues happened in SOA-P platform.
In this case you could probably open up a support case to get this resolved.
Anyway, if this happens on server start, it sounds like a timing issue - your application being deployed before jbpm.esb which contains the JbpmDS definition. Adding a dependency on this datasource should help to address this.
-
4. java:/jbpmDS not bound issue
bensonfungjava Mar 23, 2011 1:02 PM (in response to mputz)Thanks Martin and sorry for my request again.
Could you tell me how to load the jbpm.esb first and then my own application?
Thanks
-
5. java:/jbpmDS not bound issue
mputz Mar 25, 2011 9:07 AM (in response to bensonfungjava)There are multiple ways to influence the deployment order. A simple one would be to create a $SOA_HOME/jboss-as/server/$CONFIG/deploy/deploy.last/ directory, and put your own application in this sub directory.
-
6. java:/jbpmDS not bound issue
bensonfungjava Mar 26, 2011 5:28 AM (in response to mputz)Thanks. It works. Thank you very much.