Thanks a lot for your support. Meanwhile I figured out the reason for the exception: there was a j2ee.jar somewhere within a subdirectory of my ejb-archive. I thought that jboss would only grap jar files located at the root level directory of a jar or ear...
Isolating deployments from one another works well now. Thanks as well for the artical you posted. Yes, I have the need to let several isolated deployments talk to one another. I tested the approach from the artical and it worked, however, I'm not satisfied with the approach proposed there. I would have thought that one could achieve the same with the following packaging structure for the scenario of invoking an EJB in scoped ear A from within a scoped ear B: scoped ear A Implementation class of EJB ONE Interface classes of EJB ONE scoped ear B other EJBs, Wars.. Interface classes of EJB ONE However this doesn work. I also tried setting the call-by-value field to true within the EJB jar but it still didn't work. Even with the approach mentioned in the artical, I wonder how this sort of bean communication works in clustered environments? Isn't there a way to configure JBoss to handle Bean invocations without needing to instantiate classes for his own use? The only classes to be shares by applications are the interface classes. If Jboss created Dynamic Proxy classes for all ejb interface classes for all ejbs referenced from ejb-ref or ejb-local ref elements within a scoped ear and then let these proxy classes speak to the bean proxy class registered within the JNDI context, it should be possible to completely prevent classloading issues because the JBoss proxy classes could be made to communicate with another using a loosely coupled serialization mechanism - at least as a special case for cross communication between isolated deployment units. If this cannot be made to work, we would have to switch towards XML communication between different deployment units, but it would be much nicer if this could be done transparently. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842858#3842858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842858 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
