Hi, I'm working on JBoss 4.0.3SP1 and I'm trying to access an entity bean deployed in one.ear one from two.ear.
I've been messing around a bit because I can't get it to work. I've deployed both ears, and have put a jar-file containing all classes from one.ear in the lib directory of the server. (otherwise two.ear didn't find the classes it needed) But now, when I try to get the entity bean from one.ear and use it in two.ear I get a ClassCastException. The strange thing is when I do a findAll() of the entity beans in two.ear, and show the number of entities that are found, the correct number is shown. But from the moment I actually want to use the entity object, the error is thrown. Anyone have an idea how I can get this thing to run? And how I can deploy my two.ear so that it does find all classes it needs and without putting the jar-file in the lib folder? tnx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935808#3935808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935808 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
