Copy your classes111.zip file to <server_root>/lib and rename it to
classes111.jar.
    (*Chris*)

----- Original Message -----
From: "JKRao" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 18, 1999 5:06 AM
Subject: accessing oracle database from servlet


> 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(DirectoryClass
Loader.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

___________________________________________________________________________
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

Reply via email to