RE: ClassCastException in generated code

2002-05-15 Thread Greg Davis
Did you change your bean recently? It sounds like your remotes are out of date. Ensure you remotes on the client side match up properly. Also ensure any Serialiazable classes you pass via method calls are not updated in only the client of server. This error normally happens when you either try t

RE: ClassCastException while doing REMOTE ejb lookup from a web module

2002-04-08 Thread Dillon, Ryan
Hi, I had a similar problem, and found the post you mentioned. I followed up with Ashok but apparently he is an OC4J developer and i dont think it has been fixed in Orion :( Regards Ryan -Original Message- From: [EMAIL PROTECTED] To: Orion-Interest Sent: 9/04/2002 7:35 AM Subject: Clas

Re: ClassCastException while doing REMOTE ejb lookup from a web module

2002-04-08 Thread Scott Farquhar
Most often this is caused by having a two different compiled versions of your class. Ensure that you have only one copy of the class available to your web-application. If you are using web & ejb in the same container, then you can access the classes from the ejb layer in your web app. This d

Re: ClassCastException while doing REMOTE ejb lookup

2002-01-07 Thread Ashok Banerjee
I am working on it and will fix it in the next day or 2. Cheers, Ashok Theo van Niekerk wrote: > Hi > > I'm doing a REMOTE (not local, not same JVM, not same Orion) lookup from a servlet > running in Orion152 application to an ejb deployed in Orion152 application on a >remote > and different ph

RE: ClassCastException

2001-09-05 Thread Scott Hamilton, (m)+61-404-280 238
To answer my own question... Since LdapDirContext doesn't say it's Serializable, and I didn't really need it as an attribute, I got it moved to just be a variable when needed! Incase someone asked :)

Re: ClassCastException servletproblem

2000-11-15 Thread Erik Sundberg
  - Original Message - From: Patrik Andersson To: Orion-Interest Sent: Wednesday, November 15, 2000 4:54 PM Subject: RE: ClassCastException servletproblem Use the Java Reflections utilities. Issue myObject.getClass().getName() on the object that you are

RE: ClassCastException servletproblem

2000-11-15 Thread Patrik Andersson
Use the Java Reflections utilities. Issue myObject.getClass().getName() on the object that you are trying to cast to something and print it out... the variable you call statement... is that a JDBC statement? If it is you should not cast it to whatever the jdbc driver vendor has implemented i

Re: ClassCastException

2000-11-08 Thread Peter Severin
Sorry ppls, I've found the problem - stupid me :). I've forgotten the home interface. The corrected code is : Line 12: ChannelManagerHome channelManagerHome = (ChannelManagerHome) JNDIHelper.getHome("akela.pesos.content.news.ChannelManager"); ChannelManager channelManager = channelManagerHome.c