Hi,

I have this:

app1.ear
    app1-ejb.jar


app2.ear
    app2.war
        web-inf
            lib


app2 contains a servlet which connects through a remote ejb interface included 
in app1-ejb.jar, so app2.ear needs to have app1-ejb.jar (or really a subset of 
it but let's say it is the same jar) in its classpath.

Both applications use the isolation in jboss-app.xml 

 <loader-repository>
  myapp1:loader=myapp1.ear   
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
 
  </loader-repository>


I have tried to put app1-ejb.jar directly under the ear (noclassdeffounderror) 
and in the war/web-inf/lib (classcastexception).

If I check in jmx-console (displayClassInfo) for the "repository myapp1 I can 
see all the jars and I can search for a classname and get which jar it is in. 

But here is the strange part, if I check in jmx-console for myapp2 the jars 
that are included in the ear are not listed and if I search for the remote 
interface class it is not found in the repository.


What decides if a jar is listed in the jmx-console?

Thanks



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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to