I'm getting a WARN when I deploy EJB modules into a SAR module.
The warning is the following: 


  | 2004-04-05 12:44:17,093 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.
  | 

This interceptor (CachedConnectionInterceptor) is used in all the EJB containers, but 
it uses the jboss.jca:service=CachedConnectionManager MBean that it is not still 
loaded at this point.
The exception is thrown in the constructor of the CachedConnectionManager object when 
it tries to access to this MBean via the MBeanServer.

The EJBDeployer doesn't depends explecitly on this MBean, although one of the 
interceptor it used (this one) depends on it. But if I explicitly declare this 
dependency, then the EJBLoader is not started and the SARLoader starts loading other 
services without waiting to the EJBLoader, and therefore the EJB modules of the SAR 
don't get deployed.


I think this problem should not be new for somebody. Is there a different ways to 
deploy EJB jars from a SAR? Is there any way to solve this dependencies problem?

Regards, David Lopez


P.D. If I rename the .SAR as .JAR, then it gets deployed correctly, but this is a 
dirty trick I'm trying to avoid!

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to