0 Replies Latest reply on Oct 9, 2002 10:13 AM by Mike Douglass

    class cast exception getting external ejb home

    Mike Douglass Newbie

      Trying 3.0.3 on java 1.3.02, linux Red-Hat 7.2

      Deployed an application consisting of 2 ear files, one containing back end db session and entity beans, one being the web-app with external refs to the first.

      This works in jboss 2.4+tomcat. Worked in 3.0.2 with jetty.

      3.0.3 I get a class cast exception when the web-app tries to get the ejbhome.

      java.lang.ClassCastException
      at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:296)
      at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
      at edu.rpi.sss.kiosk.common.KioskDbState.getDb(KioskDbState.java:720)

      Is this a config problem - am I deploying things the wrong way - or is a EJB1.1 v EJB2 problem. Any clues?