wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes bothersome ServletException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "bothersome ServletException" Watch "bothersome ServletException" New topic
Author

bothersome ServletException

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
Hello:

I recently migrated a web app from JDeveloper to Eclipse. It ran normal in JDeveloper. Now when I run the app with OC4J, I get the following (with no root cause):

javax.servlet.ServletException: Error instantiating servlet 'PolarityServlet'. Servlet class polarity.PolarityServlet not found in
web-application polarity
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.servletClassNotFound(HttpApplication
.java:4880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4846
)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4748
)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication
.java:2971)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
.java:741)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
.java:453)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
.java:221)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.3.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
.java:303)
at java.lang.Thread.run(Thread.java:595)


I've triple, quadruple, etc. -checked my web.xml and servlet. It's all the same as it was before in JDeveloper. I've tried putting various jars in the server's classpath (commons-digester ,commons-logging, commons-beanutil) to no avail.

Any suggestions would be appreciated.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bothersome ServletException
 
Similar Threads
Error preloading servlet
getting nullPointerException on line upload.parseRequest(request);
Error after upgrading from SOA 10.1.3.1 to 10.1.4.1 (commons-loging.jar)
Connection Cache with this Cache Name is Disabled
Connection Cache with this Cache Name is Disabled