• Post Reply Bookmark Topic Watch Topic
  • New Topic

sertvlet exception-plz help urgently

 
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
web".
javax.servlet.ServletException: org/apache/commons/fileupload/DiskFileUpload
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
pl.java:884)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
Impl.java:848)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
mpl.java:787)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
ervletContext.java:3252)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3209)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
ServletContext.java:3195)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp
pServletContext.java:3174)
at weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java
:688)
at weblogic.servlet.internal.WebService.preloadResources(WebService.java
:483)
at weblogic.servlet.internal.ServletInitService.resume(ServletInitServic
e.java:30)
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é
Sheriff
Posts: 14691
16
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
Sheriff
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:
EaseUp
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:
UseRealWords
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.
-Ben
 
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!