I'm  struggling with a jBoss issue that's driving me bat-eeee.

I have a very simple EJB which passes session data back and forth
between a tomcat servlet applciation and
the jBoss container.   What is happening is this:

I can send an instance of a class (lets call it xyxRDF) to the EJB and
things work fine.   I can get the xyzRDF
 instance back from the EJB, fine,  but  I get a ClassCastExcpetion when
I attempt to cast the jBoss created instance
ot the xyzRDF object  to an interface that the  xyzRDF class
implements.  The big weirdness is that this only occurs
with instances of xyzRDF  that were created via jBoss.      Instances
that are create via -  new  abcRDF() - work just
fine....


ex:

public interface RDF extends Serializable ....

public interface   abcRDF extends RDF....

public class xyzRDF implements abcRDF ..

in the code

RDF thing = (RDF)abcRDFinstance;

which throws: ClassCastException  only with jBoss created instances of
abcRDF

????

cb




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to