I've been trying to publish a servelt I've built using Oracle JDeveloper that
connects to Oracle 8i (8.1.6i).
Running the servlet from within the JDeveloper WebToGo SandAlone Servlet
Container it works fine.
When trying it from the JServ Apache Container it raises the following
exception:
              ClassNotFoundException

for the following statements

      java.sql.Driver driver = ( java.sql.Driver )Class.forName
                 ( "oracle.jdbc.driver.OracleDriver" ).newInstance () ;
      java.sql.Connection connection = java.sql.DriverManager.getConnection
               (                    //url
        "jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
         (HOST=heba)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=CASBECDB)))",
        "user",            //username
        "pass"             //password
         ) ;


TIA

--
Best Regards,
Amr Ashmaoy



________________________________________________________________

Dial 07770888 and enjoy the InterNet Speeeeeeeed! (Cairo Only)
For more information visit http://www.misrnet.com.eg

___________________________________________________________________________
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