[jboss-user] [Installation, Configuration & Deployment] - Deployment order - dependencies

georgesberscheid do-not-reply at jboss.com
Mon Aug 28 12:13:49 EDT 2006


How do I force the Deployment service to deploy a EJB JAR file before a resource adapter RAR file?

I have a EAR file that contains a .jar file with EJB3s and a @Service MBean. The EAR file also contains a RAR file with a resource adapter that looks up that service MBean when it starts. Therefore the .jar file needs to be deployed before the .rar file which is not possible using the standard DeploymentSorter.
So I set up jboss-service.xml to use the PrefixDeploymentSorter instead and renamed my RAR file 9_MyResourceAdapter.rar.

However, the RAR file is still deployed before the JAR file. Could it be because the JAR file also contains the message endpoint for the incoming resource adapter?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967858#3967858

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967858



More information about the jboss-user mailing list