Our sar requires some JBOSS components to load first But the sar gets loaded first and fails. The server.log shows the following errors. Our sar depends on JMS,JMX and DefaultDS. How can I control the loading sequence.
WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.resource.connectionmanager.CachedConnectionInterceptor interceptor for this container javax.management.InstanceNotFoundException: jboss.jca:service=CachedConnectionManager is not registered.
org.jboss.deployment.DeploymentException: Error: can't find data source: java:/DefaultDS; - nested throwable: (javax.naming.NameNotFoundException: DefaultDS not bound)
at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.init(JDBCEntityBridge.java:139)
Thanks,
Babu