Hmmm well perhaps it's me misunderstanding some J2EE coding standards... BTW, I'm new with the ejb 2.0 spec so perhaps... I'll replace the problem into its context: I'm trying to call an entity ejb through something I call an entity wrapper, that is to say a stateless session bean. And all of this from a JSP into my war. I'm using JBoss RC3+Tomcat 4.0.3
Picture: EAR | +--WAR (JSP without any ejb interfaces) +--JAR (ejb interfaces) JSP -- remote call a stateless session bean A --> JBoss --> Session bean A call (with local interfaces) a stateful Session bean B and a cmp Entity bean C The Session bean B call failes with a ClassCastException! Does JBoss and Tomcat support such complex calls? TIA for your answer, Wonder Sonic --- Scott M Stark <[EMAIL PROTECTED]> a �crit�: > RE: Re[8]: [JBoss-user] [HELP] Is there someone to > help me?A ClassCastException is never a sign of > corruption. If you have > the testcase, even if its buggy post it to > sourceforge as a bug so > I can see what the cause is. > > xxxxxxxxxxxxxxxxxxxxxxxx > Scott Stark > Chief Technology Officer > JBoss Group, LLC > xxxxxxxxxxxxxxxxxxxxxxxx > ----- Original Message ----- > From: JD Brennan > To: '[EMAIL PROTECTED]' > Sent: Wednesday, May 29, 2002 10:17 AM > Subject: RE: Re[8]: [JBoss-user] [HELP] Is there > someone to help me? > > > I was getting a bogus ClassCastException also. > I fixed it by adding try/catch blocks to all my > MBean threads. My guess is that an exception > thrown from a thread wasn't being handled and > was somehow (horror!) corrupting the VM causing > subsequent bogus ClassCastExceptions. I had > a reproducible case yesterday, but now that I've > fixed it, it's well... fixed. > > Good luck! > JD > > -----Original Message----- > From: wonder sonic [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 29, 2002 3:52 AM > To: Wim Praet > Cc: [EMAIL PROTECTED] > Subject: Re: Re[8]: [JBoss-user] [HELP] Is there > someone to help me? > > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
