Hi Eric Boller
 
 1.Check the env for ClassPath from where you are reading the objects is set or not. 
 2. Check the objects you are calling is existed in the particular database
 
 I hope this url might help you as well.
 
 
Good Luck
Neeraja
 
 
 
Eric Boller  Wrote:
 
I'm getting a ClassNotFoundException when I run the method readObject() on my ObjectInputStream in my servlet.  The class that I am serializing from my applet to servlet is one that I created (a complex object).  In the deserializing process the ObjectInputStream cannot find the class for my object.
 
This worked on JRun on an NT environment.  It does not work on the AS400 with Websphere that were are using for production.  I figured maybe an environment problem was occurring.  However, I can do a Class.forName(myclass) and it gets the class so I'm not sure that is the problem.  I can also instanciate this class in the servlet so I know the code is there.  It is obviously something in the deserialization process that is looking in the wrong place for my class def, or whatever.  Please let me know if you know what the problem could be.
 
-----Original Message-----
From: Eric Boller <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, April 07, 1999 4:27 PM
Subject: ClassNotFoundException

I'm getting a ClassNotFoundException when I run the method readObject() on my ObjectInputStream in my servlet.  The class that I am serializing from my applet to servlet is one that I created (a complex object).  In the deserializing process the ObjectInputStream cannot find the class for my object.
 
This worked on JRun on an NT environment.  It does not work on the AS400 with Websphere that were are using for production.  I figured maybe an environment problem was occurring.  However, I can do a Class.forName(myclass) and it gets the class so I'm not sure that is the problem.  I can also instanciate this class in the servlet so I know the code is there.  It is obviously something in the deserialization process that is looking in the wrong place for my class def, or whatever.  Please let me know if you know what the problem could be.
 
Eric Boller
Logistics Technology

Reply via email to