on 12-19-2006 3:18 PM
HI ,
I need to connect to the oracle database and i am getting this error. can someone plz help me in this issue
com.sap.aii.af.ra.ms.api.RecoverableException: Database connection could not be established
My question is ansewred and it was of great help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://www.sdn.sap.com/irj/sdn/submitcontent?rid=/webcontent/uuid/e7b06b5c-0501-0010-3c80-f82a07c98... [original link is broken]
-GS
Sneha
To test the database server, you can use the simple command prompt like this from DOS prompt
sqlplus userid/pwd@databasename
if this works ur db server is fine..
reg the driver:
--talk to Basis guy .. is it the firs time installing JDBC driver or upgraded..
--anyhow, you can check that in the Provider.XML for the JDBC jar file..
- JDBC jar file and provider.XML will be in ....usr/sap/...../j2ee/cluster.../bin/ext/...lib/ xxxx.sda
- to open this sda file, unzip it.. u can also rename it as zip file to unzip it
- goto the provider.xml to check the jdbc jar file is there or not.. if not, u got to manually add it..
hope this helps
for more info..
Thanks-GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
There is no firewall issue now but i am getting hte following error
Error during database connection to the database URL 'jdbc:oracle:thin:@//199.64.106.40:1521/ACSSBD' using the JDBC driver 'oracle.jdbc.driver.OracleDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@//199.64.106.40:1521/ACSSBD': SAPClassNotFoundException: 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.
Hi Sneha,
It seems the jdbc driver you are specifying is not installed on your server. Ask your basis about it. There are another versions of this driver, and the namespaces are a little bit different. Try to find what exactly is the driver you are supposed to use.
Another thing you can try is to use only":" at the server address. Like this:
"jdbc:oracle:thin:@199.64.106.40:1521:ACSSBD". I'm using with this address format and it's working fine. But I think your problem is really about the driver installation.
roberti
Hi Sneha,
This could be a firewall issue.Try pinging the IP address and port on which your database is running.Check for ports, and firewalls and see if they are open.
cheers,
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sneha,
read this how to:
Hope this help
Francesco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has the specific driver been deployed with the SDM ?
Can you write here the driver string and the connection string parameters that you put in the Communicational Channel ?
Regards,
Sandro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
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.