Same problem happens under two different enviroments... WinNT: - jboss-3.0.4_tomcat-4.1.12.zip - j2sdk-1_4_0_03-windows-i586.exe
Linux (Debian/testing): - jboss-3.0.4_tomcat-4.1.12 - j2sdk-1.4.1-beta-linux-i586.bin what else can I try? thanks and please keep helping :) Oliver. On Fri, 2002-12-06 at 14:29, JD Brennan wrote: > What version of JBoss are you running? We saw this in > 3.0.0, but it went away in 3.0.3 and 3.0.4 - we never > tried 3.0.1 or 3.0.2, so I don't know about those > versions. > > JD > > -----Original Message----- > From: Oliver George [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 6:55 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] ClassCastException after redeploying > > > > Hi all, > > I have a much reported problem but I'm unable to find the solution. > > The problem: I have to reboot the server after each EJB change, if I > don't by webapp throws ClassCastExceptions when accessing my EJBs. > > A description is below, the problem happens on every project I've > tried > including the CMP example in the $ doco. > > > (sob) please help me, Oliver. > > > ------------------ > 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: > > java.lang.ClassCastException > 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. > > > -- > Oliver George <[EMAIL PROTECTED]> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user -- Oliver George <[EMAIL PROTECTED]> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
