Hi, check if the jdbc-driver is included in your Servlet Engine's CLASSPATH. Greetings. [EMAIL PROTECTED] schrieb: > > Hi All , > > I have written a simple servlet program and starting progam in > JDBC,which is accessing oracle database with jdbc:oracle:thin driver and > doing a select statement in the database.I have compiled the code and > added this servlet in Java Web Server.when I am accessing this through > my web browser and getting the below error message.Otherwise the code is > working if I am using without servlet.Whether I have to do any setup in > web server.Please help me to solve this problem if any one knows this > problem . > > Thanks > Krishna > > The servlet named servlet_database at the requested URL > reported this exception: Unable to find class > oracle.jdbc.driver.OracleDriver. Please report this to the administrator > of the web server. > > java.lang.ClassNotFoundException: Unable to find class > Oracle.jdbc.driver.OracleDriver at > java.lang.Throwable.(Compiled Code) at > java.lang.Exception.(Compiled Code) at > java.lang.ClassNotFoundException.(Compiled Code) at > > com.sun.server.loader.DirectoryClassLoader.getClassFromLocalDir(Compiled > Code) at > >com.sun.server.loader.DirectoryClassLoader.loadRequestedClass(DirectoryClassLoader.java:200) > at > com.sun.server.loader.URLClassLoader.loadRequestedClass(URLClassLoader.java:144) > at > com.sun.server.loader.JarClassLoader.loadRequestedClass(JarClassLoader.java:674) > at > com.sun.server.loader.ServletClassLoader.loadClass(Compiled Code) > at > com.sun.server.loader.ServletClassLoader.loadClass(Compiled Code) > at > com.sun.server.loader.JarClassLoader.loadClass(Compiled Code) at > java.lang.ClassLoader.loadClassInternal(Compiled Code) at > servlet_data.doGet(Compiled Code) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at > javax.servlet.http.HttpServlet.service(Compiled Code) at > com.sun.server.ServletState.callService(Compiled Code) at > com.sun.server.ServletManager.callServletService(Compiled Code) at > com.sun.server.http.servlet.InvokerServlet.service(Compiled Code) > at > javax.servlet.http.HttpServlet.service(Compiled Code) at > com.sun.server.ServletState.callService(Compiled Code) at > com.sun.server.ServletManager.callServletService(Compiled Code) at > com.sun.server.ProcessingState.invokeTargetServlet(Compiled Code) > at > com.sun.server.http.HttpProcessingState.execute(Compiled Code) at > com.sun.server.http.stages.Runner.process(Compiled Code) at > com.sun.server.ProcessingSupport.process(Compiled Code) at > com.sun.server.Service.process(Compiled Code) at > com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) > at > com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code) > at > com.sun.server.HandlerThread.run(Compiled Code) > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
begin:vcard n:Muchitsch;Michael tel;fax:+49 89 382-49107 tel;work:+49 89 382-29949 x-mozilla-html:FALSE org:BMW AG;VH-10 version:2.1 email;internet:[EMAIL PROTECTED] title:Dipl. Inf. (Univ.) adr;quoted-printable:;;BMW AG M=FCnchen=0D=0AHelene-Mayer-Ring 4;M�nchen;;80788; end:vcard
