[JBoss-user] [EJB/JBoss] - Re: Sharing EJBs and classes throught different EARs
Take a look at this page http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration I think you will either have to disable class loader isolation or use pass-by value to solve this issue. Both have their pros / cons, you need to figure out which one will work fo you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3858834#3858834 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3858834 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Sharing EJBs and classes throught different EARs
I finally solved my problem. What I did: 1) Created a JAR file with my shared HOME and REMOTE interfaces. 2) Deployed this JAR at server/default/deploy directory. 3) Create an EAR file for each one of the projects (GPA and CGE), without the shared interfaces. 4) Deployed the apps normally. 5) That works! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3858861#3858861 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3858861 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Sharing EJBs and classes throught different EARs
I made a mistake in the last code. The correct is: Object o = ctx.lookup(ejb/MyCGEBean); | MyGPAHome home = (MyGPAHome) PortableRemoteObject.narrow( o, MyGPAHome.class );[\code] | | The ClassCastException occurs in the last code line. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3858247#3858247 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3858247 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user