>From the forums, posted Nov. 18th "Has anyone come up with a way to get around the issue of the IllegalAccess(Error) Exception that occurs when an EJB accesses a package private member of something loaded by a WAR?" - ijcd
Here's My problem with This, and I don't have anything declared private: I'm using a servlet to access an EJB. The servlet expects results to be returned in a (serializable) class from the EJB, for example: EmployeeInfo info = ejbref.getEmployeeInfo(); pretty basic EJB, right? This always returns an IllegalAccessError. Setters and getters work OK. Is this a problem with JBoss deployment of Multiple instances of a class? The EmployeeInfo class is, of necessity, deployed twice: +- META-INF/MANIFEST.MF +- META-INF/application.xml +- EmployeeLookupEJB.jar (archive) | +- META-INF/MANIFEST.MF | +- ... | +- EJB classes | +- ... | +- EmployeeInfo.class | +- ... | +- META-INF/ejb-jar.xml +- my.war (archive) | +- META-INF/MANIFEST.MF | +- ... | +- WEB-INF/classes/Servlet classes | +- ... | +- WEB-INF/classes/EmployeeInfo.class | +- ... | +- WEB-INF/web.xml Done JBoss-3.2.0beta2, built to JDK 1.3.1_06 RH Linux 7.3 Thanks, ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user