Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003

    Unanswered: JDBC ORacle Exceptions

    Hi All,

    Here is a small code I have written to get JDBC connection:

    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver() );
    connection = DriverManager.getConnection( "jdbc:oracle:thin@oradev:1521:PCCRORA", "sslab", "ss508" );

    Upon execution the exception is:
    java.sql.SQLException: Invalid Oracle URL specified

    I am trying to connect to a remote host in the network from my machine, do you think that would be the problem?

    It would be really nice if someone can throw some light on this problem.

  2. #2
    Join Date
    Jan 2003
    the first you should be sure that the connector library have been add your path,then check the DBA...
    maybe you should check your application server,look the config file...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts