"kukeltje" wrote : I'm no jboss service /.sar specialist, but afaik, it should wait until the datasource is deployed.
| At least is does this for JBoss AS 5 in distro/src/main/files/install/src/jboss/config.jboss5/deploy/jbpm/jbpm-service.sar/jbpm-service-jboss-beans.xml
| for 4 in distro/src/main/files/install/src/jboss/config.jboss4/deploy/jbpm/jbpm-service.sar/jboss-beans.xml this seams missing. Can you try adding something similar in this file and see if it works then.
I had been trying this initially, somewhat unintentionally, and injecting the datasource there didn't make a difference. I also tried various configurations of adding the state attribute to the JbpmDS injection and the demand and depends elements, none of which worked.
I don't know if it is a difference with the microcontainer, because all the links to version 1.x of that on jboss.org seem to be broken. Perhaps, there is some low-level configuration with the microcontainer that will make it wait?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257924#4257924
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257924
We are working in a clustered environment and the application server we use is JBoss. We have an MDB which listens to a queue. We want the MDB to filter the messages based on the hostname.
i.e., I have Server A and Server B. I want the messages sent from Server A to be received only by the MDBs in Server A and vice versa.
I was thinking of using message selectors for filtering the messages. i.e., before sending the message, I'll set node name as the property in the message and use that name as the message selector for the MDB. But I guess dynamic message-selector is not possible. How can I handle this? Can this be implemented?
Please help me out. This is very urgent!!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257919#4257919
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257919
"kukeltje" wrote : It should be on the classpath.
What do you mean by "on the classpath" ?
I launch my project with this command :
| /home/config/hibernate.cfg.xml smartagsw.smartouch.appTCP.Server
I have the config file in the classpath (in bold), but the problem still exixts.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257912#4257912
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257912