on 03-10-2006 3:55 PM
I installed JDBC Driver for Oracle 9 ojdbc14.jar on the J2EE Engine as per the instructions in the How To Guide. I updated the tnsnames.ora on the server appropriately. Also I could connect to Oracle database from the server using sqlplus. I configured my Sender Adapter with the following parameters:
JDBC Driver:oracle.jdbc.driver.OracleDriver
Connection:jdbc:oracle:thin:@ORACLEDEV
I get the following error:
Sender Adapter v2108 for Party '', Service 'ORACLEDEV_BS':
Configured at 2006-03-09 17:24:42 EST
History:
- 2006-03-09 17:24:42 EST: Retry interval started. Length: 60.000 s
- 2006-03-09 17:24:42 EST: Error: Accessing database connection 'jdbc:oracle:thin:@ORACLEDEV' failed: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@ORACLEDEV': SQLException: Io exception: SO Exception was generated
- 2006-03-09 17:24:42 EST: Processing started
Help is highly appreciated.
Mike
Hi Michael,
I think the connection parameters should be ,
jdbc:oracle:thin@:Ipaddress:port:databasename
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My bad, Bhavesh is correct
here is the correct format
jdbc:oracle:thin:@<hostname>:<port>:<sid>,<username>,<password>
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/j2ee/jdbc/JDBC_in_J2EE.html
cheers,
naveen
Hi Naveen,
I am not sure if I mine is exactly correct either. I remember giving the user id and password when I was configuring the JDBC adapter to connect to the Oracle Databse.
Have been searching for the document in which I made the corresponding entrie but to no avail.
Peter, do try out all the options and let us know what works.
Regards,
Bhavesh
Hi,
try with the following parameter format
driver : oracle.jdbc.driver.OracleDriver
Connection : jdbc:oracle:oci8:userid/pwd@server
or
jdbc:oracle:thin:userid/pwd@ORACLEDEV
Cheers,
naveen
Message was edited by: Naveen Pandrangi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.