I have a war file that includes a dependency of dao.jar.
I have created an ESB archive that i deploy seperate into jboss-5.1.0.GA.
The problem is this
I can make calls from the war file to the esb deployment using the ServiceInvoker and the listeners on the queues created in jboss-esb.xml work fine until I add some dao logic. I get a classnotfound exception when attempting to lookup an object from the esb action class that was deployed in the dao.jar with the war file. If I move the dao.jar into the JBOSS_HOME/server/default/lib directory it works fine but I cannot do that in the deployment. Is there a reason/solution why I cant pick objects from the classpath in the esb action handler deployed by the war file?
Thanks