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
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
= (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
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
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
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!!!
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:
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
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: 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
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
"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
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
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
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
's correct.
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 2/5/01, 1:46:15 PM, "Lifeng Xu" <[EMAIL PROTECTED]> wrote regarding
java.lang.ClassCastException from Tom
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
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
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:
> 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
>
> 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
> > 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
> 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.
> 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.
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
25 matches
Mail list logo