java.lang.ClassCastException when casting from Object to a desired object

2004-07-06 Thread Kam Lung Leung
Hi, I have a servlet name TestGeneralServiceMenuGenerator that forwards a java object name, BasicUserInformationDO, to a jsp file that is in another web-app. However, these two web-app are in the same VMs. The jsp file keep getting java.lang.ClassCastException when it trys to casting the object

Exception creating bean of class cz.master.dbTest.CreatePersonAction: java.lang.ClassCastException

2003-10-13 Thread Honza Spurný
Hi all, I have page with form, that is mapped on the ACtionClass named CreatePersonAction. Does anyone have any idea what this error can be caused by? Thanks. Sporak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

"java.lang.ClassCastException" with "javax.net.ssl" package

2002-12-19 Thread Luca Ventura
= (HttpsURLConnection)url.openConnection(); in this way I receive this Exception when the servlet tries to connect to the https URL: java.lang.ClassCastException: com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl If I change the code in this way: import com.sun.net.ssl

Get "java.lang.ClassCastException" when extracting an X509Certificate from an HTTP request

2002-05-18 Thread Eric Gilbertson
Following an example from Hall's More Servlets book, I had attempted extracting a cert from a HTTP request using the following: X509Certificate cert = (X509Certificate)req.getAttribute("javax.servlet.request.X509Certificate"); which generated a difficult to debug class cast exception. The answe

Re: java.lang.ClassCastException!!!

2001-07-23 Thread Dmitri Colebatch
nt: Tuesday, July 24, 2001 11:25 AM > Subject: Re: java.lang.ClassCastException!!! > > > > I assume you have the right class? You are expecting a > > com.mediasolv.xSolvweb.Utilities.LogonProperties aren't you? Failing > > that, check that you have the correct version in the class

Re: java.lang.ClassCastException!!!

2001-07-23 Thread Senthoorkumaran
Hi Boss, What is the classpath you are reffering to ? WinNT classpath is it? Senthoor - Original Message - From: Dmitri Colebatch <[EMAIL PROTECTED]> To: Tomcat User group <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 11:25 AM Subject: Re: java.lang.ClassCastException!!!

Re: java.lang.ClassCastException!!!

2001-07-23 Thread Dmitri Colebatch
diasolv.xSolvweb.Utilities.LogonProperties; >nested exception is: > java.lang.ClassCastException: com.mediasolv.xSolvweb.Utilities.LogonProperties > java.rmi.RemoteException: com.mediasolv.xSolvweb.Utilities.LogonProperties; nested >exception is: > java.lang.ClassCastException:

Re: java.lang.ClassCastException!!!

2001-07-23 Thread Senthoorkumaran
very very sorry It wouldn't happen again..Hope you could excuse me for once :-) Senthoor - Original Message - From: Emir Alikadic (ADNOC IS&T) <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 24, 2001 11:09 AM Subject: RE: java.lang.ClassCas

RE: java.lang.ClassCastException!!!

2001-07-23 Thread
group Subject: java.lang.ClassCastException!!! Hi I am using a utility class (a property class as a which I will instansiate and transport data from Middle tier to front end) When I am invoking the ENB methood passing this property class as a parameter to the EJB this error is being reported. Ca

java.lang.ClassCastException!!!

2001-07-23 Thread Senthoorkumaran
: java.lang.ClassCastException: com.mediasolv.xSolvweb.Utilities.LogonProperties java.rmi.RemoteException: com.mediasolv.xSolvweb.Utilities.LogonProperties; nested exception is: java.lang.ClassCastException: com.mediasolv.xSolvweb.Utilities.LogonProperties java.lang.ClassCastException

Re: java.lang.ClassCastException: AuthBean

2001-03-15 Thread Joel Cordonnier
doson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 14, 2001 8:40 PM > Subject: java.lang.ClassCastException: AuthBean > > > > I have been writing an app that uses a bean with > scope "session" > > a user goes to a login p

Re: java.lang.ClassCastException: AuthBean

2001-03-15 Thread Pater Pandoson
"TAI Wai Wang, Leo" wrote: > Hi! Have u tried to test the AuthBean independently? Does the bean try to > cast one object to another object? I think, there are some problems in your > beam when casting. Try to modify the classes relationship, eg: one class is > the superclass of another. It may be

Re: java.lang.ClassCastException: AuthBean

2001-03-14 Thread TAI Wai Wang, Leo
Message - From: "Pater Pandoson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 14, 2001 8:40 PM Subject: java.lang.ClassCastException: AuthBean > I have been writing an app that uses a bean with scope "session" > a user goes to a lo

Re: java.lang.ClassCastException: AuthBean

2001-03-14 Thread Pater Pandoson
at > org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797) > > at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) > at > >org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHand

java.lang.ClassCastException: AuthBean

2001-03-14 Thread Pater Pandoson
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498) at java.lang.Thread.run(Thread.java:479) Root cause: java.lang.ClassCastException: AuthBean at _0002fmenu_0002ejspmenu_js

Re: java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread John Golubenko
's correct. >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 2/5/01, 1:46:15 PM, "Lifeng Xu" <[EMAIL PROTECTED]> wrote regarding java.lang.ClassCastException from Tom

RE: java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread Randy Layman
Randy -Original Message- From: Lifeng Xu [mailto:[EMAIL PROTECTED]] Sent: Monday, February 05, 2001 4:46 PM To: '[EMAIL PROTECTED]' Subject: java.lang.ClassCastException from Tomcat/Appache Hi, I am migrating a tested working project from window platform onto our new Linux environment

RE: java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread Michael Wentzel
Try deleting all of your working files from the TOMCAT_HOME/work directory. --- Michael Wentzel Software Developer http://www.aswethink.com">Software As We Think mailto:[EMAIL PROTECTED]">Michael Wentzel - To unsubscribe, e-mail

java.lang.ClassCastException from Tomcat/Appache

2001-02-05 Thread Lifeng Xu
it on windows. The message doesn't make much sence to me. Can someone tell me what I am missing here? java.lang.ClassCastException: java.lang.String at _0002fNewEnrollment_0002ejspNewEnrollment_jsp_0._jspService(_0002fNewEnrollm ent_0002ejspNewEnrollment_jsp_0.java:

RE: java.lang.ClassCastException

2000-12-07 Thread David Rees
> A new classloader will be used to load the new servlet. That classloader > will be used within that servlet, and two different classloaders' versions > of the same class count as different classes in the JVM. Thus the object > in the session has the old classloader, whereas the thing trying to u

RE: java.lang.ClassCastException

2000-12-07 Thread David Rees
> > A new classloader will be used to load the new servlet. That classloader > will be used within that servlet, and two different classloaders' versions > of the same class count as different classes in the JVM. Thus the object > in the session has the old classloader, whereas the thing trying to

Re: java.lang.ClassCastException

2000-12-07 Thread Jon Skeet
> > Is it perhaps due to a new classloader being used? Does this happen when > > the servlet is recompiled half way through the operation? > No, the servlet it not compiled in the server. It's compiled on my PC > and uploaded. However, thanks for the tip. I can reproduce the error > consistentl

Re: java.lang.ClassCastException

2000-12-07 Thread Hui Linn
> Date: Thu, 07 Dec 2000 08:20:47 + > To: [EMAIL PROTECTED] > From: "Jon Skeet" <[EMAIL PROTECTED]> > Subject: Re: java.lang.ClassCastException > Message-ID: <[EMAIL PROTECTED]> > > > This an intermitten problem that crops up once in a while.

Re: java.lang.ClassCastException

2000-12-07 Thread Jon Skeet
> This an intermitten problem that crops up once in a while. > A java object SearchResult is put into the Session object > by servlet1 and taken out by servlet2 which type cast it back > to (SearchResult), if it's not null. > > Ocassionally, servlet2 will throw java.

java.lang.ClassCastException

2000-12-06 Thread Hui Linn
Hi, This an intermitten problem that crops up once in a while. A java object SearchResult is put into the Session object by servlet1 and taken out by servlet2 which type cast it back to (SearchResult), if it's not null. Ocassionally, servlet2 will throw java.lang.ClassCastException. Ho