ClassCastExceptions when casting EJB home interfaces

2001-01-05 Thread Matthew Heaton
I'm currently trying trying to get a servlet in Tomcat to call methods on an EJB which is hosted in Weblogic 5.1 I get a ClassCastException when I try to cast the home interface I retrieved through a JNDI lookup. I understand this is due to the fact that you are loading the class with both

ClassCastException when casting home interface of EJBs in Tomcat

2001-01-05 Thread Matthew Heaton
I'm trying to access some EJB's which are running in Weblogic 5.1 from Tomcat 3.2. When I try to cast the home interface that I retrieved via a JNDI lookup I get a class cast exception. I know this problem is due to the fact that the class is being loaded by both weblogic's and tomcats