on 04-05-2006 2:24 PM
Hello,
I'm trying out a proxy-JDBC scenario. I'm getting a error in my receiver JDBC adapter. i got the foll. error in RWB.
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
Addtional information: JDBC driver 'oracle.jdbc.driver.OracleDriver' loaded successfully, additional driver information:
Available JDBC drivers:
oracle.jdbc.driver.OracleDriver, 1.0 JDBC compliant
sun.jdbc.odbc.JdbcOdbcDriver, 2.1 JDBC compliant
I'm trying to connect to an Oracle 8i database.
My connection string is: jdbc:oracle:thin:@IPadress:port:databasename.
I have installed ojdbc14.zip driver on my XI server.
Regrads,
Sekar
Sadasivan,
The oracle document should give more info on the error, see if the info below helps troubleshooting your issue.
databasename - must be the SID of the database; most often ORCL !!
from oracle:
TNS-12505 TNS:listener could not resolve SID given in connect descriptor
Cause: The SID in CONNECT_DATA was not found in the listener's tables.
Action: Check to make sure that the SID specified is correct. The SIDs that are currently registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name". These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.
Regards
Saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sadasivan,
Yes it should be your service name i beleive. Does your SID have a dot notation ? chk this link, if so and see if it helps.
https://service.breezecentral.com/support/coldfusion/ts/documents/oracle_thin_ds_fails.htm
Basically only the prefix(string before your dot) of your service name should be used
Regards
Saravana
Message was edited by: Saravana Kumar Kuppusamy
Hi,
Note that this connection string is only if you use the Oracle OCI driver. The OCI driver requires a shared library or DLL on the server.
The thin driver for Oracle is more commonly used as it doesn't require any additional libraries. The connection string is as already listed above:
jdbc.oracle.thin:@server:port:SID
There is no need to put the user and password into the connection string in the adapter config, putting it into the user and password fields works just fine.
Regards
Christine
Hi Sadasivan,
r u shure, that ur user and ur password put in the communication channel r correct?
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.