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

Reply via email to