Hi Narendra,
Could you tell me where I should add the class path in Jrun ? I tried in a
couple of places and I'm getting a Jrun Connector protocol error. I couldn't
make out where I should add class path to tyhe oracle jar file.
Thanks

Vis..


>From: Narendra Acharya <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: DB connection problem with NES/Jrun
>Date: Tue, 25 Apr 2000 09:43:11 +0800
>
>Hi Visakh,
>
>         U need to set the class path in the JRUN. Let me know if u need
>more info.
>
>Luv
>narendra
>
>-----Original Message-----
>From:   A mailing list about Java Server Pages specification and
>reference [mailto:[EMAIL PROTECTED]] On Behalf Of Visakh Menon
>Sent:   Tuesday, April 25, 2000 12:16 AM
>To:     [EMAIL PROTECTED]
>Subject:        DB connection problem with NES/Jrun
>
>Hi folks
>
>I'm using NES 3.6 webserver and Jrun 2.3.3 servlet engine.
>I'm trying to connect to a oracle database in a remote machine
>using JDBC (using Oracle thin driver). I can connect if I run the
>program from command prompt. but If I try to run as a servlet
>I get an error.
>
>java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>[oracle.jdbc.driver.OracleDriver] java.sql.SQLException: No suitable driver
>
>Code :
>Class.forName ("oracle.jdbc.driver.OracleDriver");
>DriverManager.getConnection    ("jdbc:oracle:thin:@server-ip:1521:orcl",
>"username", "pwd");
>
>I have set oracle.jar (driver)  file in my Class path.
>
>Do I need to make some changes in NES/Jrun setup for accessing Oracle DB?
>
>Thanks
>
>Vis..
>
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to