Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Help needed urgently in running a servlet in J2sdkee1.2.1  RSS feed

Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
My application comprises of a simple html form which takes user input and on submit updates data to a table in Oracle using a Servlet. The Servlet also redirects the updated data finally to a jsp page as output.
I have successfully tested the application using Tomcat. The jdbc driver classes had been included as a jar file under the /WEB-INF/lib forder.
I am trying the same code using j2sdkee1.2.1 - I have created an ear file - added a the servlet , the html and the jsp file as a web component(WAR). The jdbc class library for Oracle has also been included in the classpath ( under /lib/classes). It deploys successfully. But on execution the following error is reported:
javax.servlet.ServletException: Failed to create context : Oracle not found
at FaqServlet.init(
at org.apache.tomcat.core.ServletWrapper$2.method(
at org.apache.tomcat.core.ServletWrapper.handleInvocation(
at org.apache.tomcat.core.ServletWrapper.loadServlet(
at org.apache.tomcat.core.ServletWrapper.handleRequest(
at org.apache.tomcat.core.InvokerServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServiceInvocationHandler.method(
at org.apache.tomcat.core.ServletWrapper.handleInvocation(
at org.apache.tomcat.core.ServletWrapper.handleRequest(
at org.apache.tomcat.core.Context.handleRequest(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(

Can anybody help me with this
[This message has been edited by panchalee phookan (edited May 10, 2001).]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!