on 09-28-2007 8:12 AM
Hi,
Scenario: RFC to JBDC (oracle 9.0127)
The oracle drivers have been loaded and deployed correctly according to the basis team (drivers - com.sap.jdbc.oracle.OracleDriver). I am using the following URL:
jdbc:oracle://ip address:1521/database name
I have managed to successfully connect to the database using other software using the IP address, port, username and password.
Does anyone have any ideas, I am getting the following error:
Error during database connection to the database URL 'jdbc:oracle://ip address:1521/database name' using the JDBC driver 'com.sap.jdbc.oracle.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle://ip address:1521/database name': SAPClassNotFoundException: com.sap.jdbc.oracle.OracleDriver'
Thanks,
Leanne
correct your Driver URL.
jdbc:oracle:thin:@<hostname>:<port>:<SID>
// @machineName:port:SID
Thanks
Farooq.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I feel your driver is not installed properly.Try redoing it following all the steps.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks we restarted the XI server, solving the problem. I now have another problem:
Error during database connection to the database URL 'jdbc:sap:oracle:111.11.111.11:1111;xxx' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL 'jdbc:sap:oracle: 111.11.111.11:1111;xxx ''
Any ideas?
Thanks,
Leanne
try with this
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@ip address:1521:dbname
regards
pratibha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ask ua basis people whether they have deployed correct ORACLE DRIVER FILE or Not?
try to deploy the correct jar files and the restart ur J2EE engine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Database Connection use the JDBC Driver-- oracle.jdbc.driver.OracleDriver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To download drivers for Oracle DB,
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
If you want to install Oracle 9i,. OJDBC14.jar should be used. Just check this note 831162.
Also, check this PDF to install Drivers in XI,
Regards,
Abhishek Agrahari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Communication channel not able to connect using DB Url .
Check these -
1) Verify the DB URL by connecting database using Command line SQL plus or any SQL editor.
2) Check wether the Drivers deployed are supported for the Oracle Db version and JDK version on XI server and OS type ( Solaris )
Check this URL for details on JDBC drivers support list -
also check
<b>SAPClassNotFoundException: oracle.jdbc.driver.OracleDriver' --> This error clearly implies that the OracleDriver has not been installed on your XI server.
Ask you admin team to do the needful and install the Oracle Drivers.</b>
<b>
Questions are welcome here!!
Also mark helpful answers</b>
Thanks,
Abhishek Agrahari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.