0 Replies Latest reply on Nov 26, 2002 2:00 AM by Oliver George

    ClassCastException after redeploying

    Oliver George Newbie

      On a fresh reboot of JBoss works perfectly. My servlet can access a session bean fine.

      I'm redeploying my exploded project by touching my.ear/META-INF/application.xml. The problem happens even when nothing has changed.

      When I redeploy I get this error when my servlet is trying to access a session bean home interface:

      at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
      at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)

      The same thing happens with my junit tests, and even the CMP example which comes with the paid for JBoss Documentation.

      What is the problem? I see reports of a similar nature in lots of postings but nothing I try helps.