• Post Reply Bookmark Topic Watch Topic
  • New Topic

sertvlet exception-plz help urgently  RSS feed

rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<Mar 27, 2007 10:48:05 AM GMT+05:30> <Error> <HTTP> <BEA-101216> <Servlet: "CommonUploadAttachmentServlet" failed to preload on startup in Web application: "lri
javax.servlet.ServletException: org/apache/commons/fileupload/DiskFileUpload
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
at weblogic.servlet.internal.WebService.preloadResources(WebService.java
at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
at weblogic.Server.main(Server.java:32)
Initialising [SchedulerStartupServlet]........

what might be the reason for the above exception
Christophe Verré
Posts: 14691
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might have a RuntimeException. Try to make a dummy servlet to catch it and output its details.
Adjust your servlet mapping settings and try to access the servlet.

Replace "yourpackage.yourservlet" with your servlet's full-qualified name (the one throwing you the error)
Ben Souther
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rajareddy annavaarm,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
to see how adding the word "URGENT" to your post or subject line can actually slow down or eliminate responses to your question altogether.

Also, please see:
Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Again, welcome to JavaRanch and good luck with your question.
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
commons-fileupload.jar might not be present in WB-INF/lib .. I am suspecting a ClassDefFoundException.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!