Harsha,

Seems like a classpath problem. Make sure all your classes/jars are in
your webapp WEB-INF/lib and WEB-INF/classes directories and nothing is
left on the system classpath.

-Vincent

> -----Original Message-----
> From: Harsha Mehta [mailto:[EMAIL PROTECTED]
> Sent: 20 March 2003 21:13
> To: [EMAIL PROTECTED]
> Subject: Servlet InstantiationException
> 
> Hi,
> 
> I am running the Cactus sample servlet in WebLogic and
> I am getting the following error at run time:
> 
> <Error> <HTTP> <101125>
> <[ServletContext(id=2467422,name=sample-servlet,context-path=/sample-
> servlet)]
> Error instantiating servlet: "TestSampleServlet"
> java.lang.InstantiationException:
> org.apache.cactus.sample.TestSampleServlet
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:232)
> at
>
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.
ja
> va:865)
> at
>
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImp
l.
> java:833)
> at
>
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl
.j
> ava:773)
> 
> 
> Any help would be appreciated.
> 
> TIA,
> Harsha
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to