File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Internal Server Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internal Server Error" Watch "Internal Server Error" New topic

Internal Server Error

Ambika Jain
Ranch Hand

Joined: Jan 27, 2005
Posts: 48

I am getting the following error, when I am trying to access the servlet.
Servlet: ChatApp.ChatClasses.servlet.LoginServlet
Content in web.xml:

I am unable to find the reason for this error.

Error 500--Internal Server Error

javax.servlet.ServletException: Servlet class: 'ChatApp.ChatClasses.servlet.LoginServlet' couldn't be instantiated
at weblogic.servlet.internal.StubSecurityHelper$
at weblogic.servlet.internal.StubSecurityHelper.createServlet(
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(
at weblogic.servlet.internal.StubLifecycleHelper.(
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.ServletStubImpl.execute(
at weblogic.servlet.internal.WebAppServletContext$
at weblogic.servlet.internal.WebAppServletContext.securedExecute(
at weblogic.servlet.internal.WebAppServletContext.execute(

Ambika Jain
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

What theories have you investigated already?

Does the servlet class exist? Is it installed in the right place?

Does the servlet class depend on any libraries that aren't installed?

Does the servlet class have a default constructor?

[Jess in Action][AskingGoodQuestions]
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Sounds to me like a security issue rather than a pure classloading problem, considering the names of the internal BEA classes where the error is reported.

Maybe someone on the WebLogic forum can shed more light.

I agree. Here's the link:
subject: Internal Server Error
It's not a secret anymore!