"Shukla, Amit" wrote:
>
> Environment: Weblogic 5.1.0 , Oracle 8i. Driver: Thin Driver
>
> I have put the Classes12.zip of Oracle in classpath. But Still when I run my
> code I get the error
>
> ----------
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Based on what you've written, I would guess that you are setting the
classpath in the environment and Weblogic is using a different classpath
setting. For example, on my development machine, I have an environment
variable for classpath. But when I run my app server (Sybase), the
appserver sets its own classpath in the batch file that starts the
server.
Checking the weblogic faq (http://developer.bea.com:80/docs/faq.jsp)
there is a question in the java section
(http://www.weblogic.com/docs51/techsupport/faq/java.html) regarding
classpath. The answer directs you to a section on setting the classpath
(http://www.weblogic.com/docs51/install/startserver.html#1029223) which
indicates that there are TWO classpaths.
Questions such as these are probably better answered at the FAQ listed
above, or at one of Bea's newsgroups:
http://www.bea.com/support/newsgroup.shtml
K Mukhar
___________________________________________________________________________
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