Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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).]
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!