It looks like you have a classloader issue. What version (of JBoss) are
you using? Where is the RDF.class file located?
chris wrote:
>
> 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]
--
Dan Christopherson (danch)
nVisia Technical Architect (www.nvisia.com)
Opinions expressed are mine and do not neccessarily reflect any
position or opinion of nVISIA.
---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
-Eben Moglen
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]