Hi, I have two separate webapps that use the same EJB. The EJB jar file is packaged and deployed with each app as part of its EAR.
If I deploy the applications separately to different servers they work fine, but if I try to deploy them to the same server I get an exception: org.jboss.deployment.DeploymentException: Trying to install an already registered mbean I am suprised by this because I was under the impression that everything associated with an EAR is supposed to be isolated from other EARs, even as far as using different classloaders. I realize that I could deploy the EJB separately from the two applications but this is not what I'd prefer. The applications are otherwise unrelated to one another and I want them to be self-contained so that someone else can decide where to deploy them without worrying about an external dependency. I also want it to be possible for one to be using a different version of the EJB without impacting the other. Is this a common problem, and if so, how should I deal with it? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919675#3919675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919675 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
