----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

I believe this is a classpath/path problem. I have had these kinds of
errors when I accidentally used
an old java version (bad path) or had an incompatible jar file in the
path (same class name, different
inheritance.
I use Apache 1.3.9 and JServe1.0 just fine.

Sanjivendra Nath wrote:

>  Everytime I try to run my servlet, I keep getting a:uncaught
> exception java.lang.ClassCastException....What does this exception
> mean? This is the stack trace:Uncaught exception:
> java.lang.ClassCastException
> com.forum.dynmodel.servlet.CalcIncomeNestegg
>         at
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:526)
>
>         at
> org.apache.jserv.JServServletManager.loadServlet(JServServletManager.java:488)
>
>         at
> org.apache.jserv.JServConnection.processRequest(JServConnection.java:266)
>
>         at
> org.apache.jserv.JServConnection.run(JServConnection.java:188)
>         at java.lang.Thread.run(Thread.java) There is obviously no
> reference to this exception in the code.  But can't see where it
> belongs or why it happens.I only mail this to the list to be sure that
> it is a bug in my code vs. something apache1.3.9/jserv1.0 is
> doing. What exactly is the
> org.apache.jserv.JServServletManager.load_init(JServServletManager.java:526)
> doing?Thanks,Sanju.
>
--
Fred Esch




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to