How to connect Oracle 11g in CF9 using tnsnames
Hi, I'm using CF9 running on Solaris and I just had Oracle 11g installed using tnsnames. Can someone explain to me how to add the Oracle string in CF admin? I have confirmed that I can connect to the database but I don't think I have the correct syntax for connection string. I think it should be similar to the following: jdbc:datadirect:oracle:TNSNAMES_FILE=/d01/oracle/product/v.11.2.0.3_client/network/admin/ tnsnames.ora:@dbserver.com:1549:SIDname;driver=oracle.jdbc.Oracle
Does anyone have an idea?
Thanks in advance
I have Oracle client installed on the web server with Oracle database installed on separate server. When I add DSN and SID, I get the following error:
Connection verification failed for data source: dsn_test
java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
The root cause was that:java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
Any ideas?
Similar Messages
-
How to connect Oracle 7.x database using weblogic 11g
Hi,
For one of my requirement, I need to connect to a Oracle 7.x database using weblogic 11g Application server.
Any idea?Tried as per the suggestion from the link :
http://jvzoggel.wordpress.com/2011/07/26/weblogic-ojdbc-driver/
It worked. -
How to connect oracle 11g to nodejs ?
hi
when i want to connect to oracle with node.js , i use this article on this link https://github.com/mariano/node-db-oracle , when i want to install db-oracle with " npm isnatll db-oracle " , the error in below is shown :
npm install db-oracle
npm http GET https://registry.npmjs.org/db-oracle
npm http 304 https://registry.npmjs.org/db-oracle
> [email protected] install /opt/instantclient/node_modules/db-oracle
> node-waf configure build
sh: node-waf: command not found
> [email protected] preuninstall /opt/instantclient/node_modules/db-oracle
> rm -rf build/*
npm ERR! weird error 127
npm ERR! not ok code 0
can any one help me ?
thanksdb-oracle has not been updated for 2 years, please, use node-oracle instead - https://github.com/joeferner/node-oracle
-
How to Connect Oracle Database 10g with using Oracle Dev 10g
Hello there,
I have problem with connection on database 10g using oracle dev 10g on the same server.
The message is: TNS... bla..bla... it means not connect.
Please advice
Regards
Leksonojust simple
copy the from the database instance the tnsnames.ora
file's entried into developer folders tnsnames.ora
file and you can connect to DBFirst of all there is no such error as TNS... bla..bla... it means not connect.
there are several errors for the tnsnames, post the exact error
And it is not recommended that you copy it from the database's tnsnames file, it doesn't always work.
to configure the tnsnames.ora you have 2 ways, manual and GUI.
For GUI use the Net configuration assistance from your Devsuite home and for manual you need edit the tnsnames.ora file usually under %ORACLE_HOME%/NETWORK/ADMIN
You need to specify the connection string name, the hostname and the database SID name. It should look something like this.
<connection identifier> =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host name)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = SID)
)Regards,
Tony -
How to connect to database through TOAD(using tnsnames & sqlnet)
Hi All,
Hope everyone doing fine.. Actually i am new to oracle. Oracle9i and TOAD 9.7.0.51 are installed in my office PC. When I try to connect to the database through TOAD i am getting ORA-12560: TNS:protocol adapter error.
And i've the tnsname details.
Now i want to connect to the database.But i am not aware of the process about what to do. So Can anyone please help me on the above problem.
Please give the steps to follow(one by one)
Thanks,
mkrOracle9i and TOAD 9.7.0.51 are installed in my office PC.sqlplus> connect / as sysdba
connected.
Check your $ORACLE_HOME/network/admin/tnsnames.ora
If it does not exist create as an example.
example
DBX =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <host or ip>)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME =<sid_name>)
set ORACLE_SID=SID
tnsping DBX
try to connect by toad after that it should work... -
How to connect oracle database using jsf
how to connect oracle database using javaserver faces with connection pooling
Here is one way...
http://jakarta.apache.org/commons/dbcp/ -
Connecting Oracle 11g using Oracle 10g
Hi All,
I have installed Oracle 11g (11gR2) server on a Windows 2003 (win32) machine. It is very well connecting when I tried to login to that database using the below command
sqlplus test/test@oracle11g I tried to access the same server from a different machine where only Oracle 10g client is available. I get the following error.
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
Please advice if we can connect Oracle 11g server using a Oracle 10g client from a different machine??
If Yes, Please advice whay am I getting the above error.
Thanks in Advance!!With respect to your suggestion, I have modified the Oracle 10g tnsnames.ora file as below, but it still throws the same error.
ORACLE11G =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mildh0105.i-flex.com)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = Oracle11g)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
LISTENER_ORACLE11G =
(ADDRESS = (PROTOCOL = TCP)(HOST = mildh0105.i-flex.com)(PORT = 1521))
the LSNRCTL STATUS is as below...................
C:\Documents and Settings\Administrator>LSNRCTL STATUS
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 14-JUL-2011 12:42
:32
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 14-JUL-2011 11:42:29
Uptime 0 days 1 hr. 0 min. 8 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\app\sysfmg\product\11.2.0\dbhome_1\network\admin\li
stener.ora
Listener Log File e:\app\sysfmg\diag\tnslsnr\mildh0105\listener\alert\lo
g.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "Oracle11gXDB" has 1 instance(s).
Instance "oracle11g", status READY, has 1 handler(s) for this service...
Service "oracle11g" has 1 instance(s).
Instance "oracle11g", status READY, has 1 handler(s) for this service...
The command completed successfully
C:\Documents and Settings\Administrator> -
How to connect oracle application server portal to MS access DataBase
Hello,
I am facing one problem here.
Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portalThere is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
http://asktom.oracle.com/pls/ask/f?p=4950:61:::::P61_ID:4406708207206#18830681837358
I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.
Tak -
Connect Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000
Hi all,
I am trying to connect:
Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000 (32-bit) on a different machine.
1) I have create an ODBC connection (called:GALAXY) which connects.
2) created a init.ora called it initgalaxy.ora in $oracle_home\hs\admin
HS_FDS_CONNECT_INFO = GALAXY
HS_FDS_TRACE_LEVEL = on
3) modified the listener.ora file as below
# listener.ora Network Configuration File: E:\Ora11g\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01)(PORT = 1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc0))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC =
(GLOBAL_DBNAME = HEX.BIU01.kingsch.nhs.uk)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
(SID_NAME = HEX)
(SID_DESC=
(SID_NAME = galaxy)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
(PROGRAM = dg4odbc)
(SID_DESC =
(PROGRAM = EXTPROC)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
4) modified the tnsnames.ora file is as follows
GALAXY =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
(CONNECT_DATA =
(SID = galaxy)
(HS = OK)
HEX =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = HEX)
5) restarted the listener
6) created a public database connect
create PUBLIC DATABASE LINK "GALAXY" CONNECT TO "USER" IDENTIFIED by "PWD" USING 'galaxy';
This is the error message I can sell in $oracle_home\hs\admin\trace
Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
Version 11.1.0.6.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using galaxy_live as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
##>Connect Parameters (len=42)<##
## DSN=GALAXY;
#! UID=galaxy_live;
#! PWD=*
hgocont, line 1890: calling SqlDriverConnect got sqlstate IM002
when I try to test the database link, I get this error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Microsoft][ODBC Drive Manager] Data source name not found and no default driver specified
ORA-02063: preceding 2 lines from GALAXY
28500.00000- "connection from ORACLE to ad non-Oracle system returned this message:"
*Cause: The cause is explained in the forwarded message.
*Action: See the non-Oracle system's documentation of the forwarded message.
vendor code 28500
Edited by: user7336435 on 27-Apr-2009 05:5611.2 is beta at the moment. There is no official release date so far.
As DG4ODBC is independant from the Oracle database (or the target database) you can use a 3 machine model:
On the first machine you have your Oracle database, on a second machine running 32bit Windows you can install DG4ODBC and on the 3rd machine you can run your foreign database.
If the SQL Server 2k is installed on a 32bit Windows machine, then you can also install DG4ODBC on this machine.
In general the connection from an Oracle database to the DG4ODBC machine is done using SDQL*Net. The listener responsible for DG4ODBC will then load the DG4ODBC executable which will connect to the SQL Server using SQL Server ODBC driver. -
How to connect oracle database from tuxedo
Hi,
How to connect oracle database from tuxedo.
If any one can help me.
Regards,it depends on configuration your going to choose, there are two ways--
- Using X/Open standards, for this
you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
Then in UBBConfig file in GROUPS section u have to set Openinfo.
It also depend on which database you are going to use.
In your service now you need to call tpopen() API from tpsvrinit() function.
- Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
EXEC SQL Connect ... -
How to connect oracle database with JAVA
how to connect oracle database with JAVA....
using j2sdk and Jcreator . which connector to use .. what are the code for that ..PLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
How to connect oracle database into VC?GIve step by step.
Hi Experts,
Please help
How to connect oracle database into VC?
I need step by step.
what shall i do the first to connect via jdbc or something else.
whether we have to create dsn name or using jdbc connections?which one to use?
Please give the basic steps.Its very urgent.
Thanks and Regards,
NutanHi ,
all information are in the following document:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424">How to Configure a Business Intelligence JDBC System for Visual Composer</a>
Rgds,
Karim -
How to connect oracle form6i or 10g to mysql database
can anyone tell me how to connect oracle forms to mysql database using ODBC connector?
akinHi
this is step by step installation guide
http://download.oracle.com/docs/cd/E11882_01/install.112/e10875/toc.htm
also below link for download
http://www.oracle.com/technology/software/products/database/index.html
hope this helps
Zekeriya -
HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g
Hi,
My question is HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g. I know how to connect PLUS and VIEWER using a URL. Do i need to install Discoverer Admin. separately on my local machine.
This is very urgent... Please reply.
Thanks in advance for your time and answers.
JayDiscoverer Administrator is a client side tool, you must install it on your machine or even you can install discoverer administrator in your server but you must connect through a connection string which you must enter in your tnsnames
regards -
Hello,
I have written a java program in JDK 1.4 ( Which I have compiled in J++).
I am dont know how to connect oracle ( 9i / 10g) as Backend to my java program.
Please send the code / instructions to connect my backend.
my program includes oracle tables..
Please help me..
thank you
JayanthUse JDBC, but who the hell uses J++ anymore?
Maybe you are looking for
-
Problems with Multiple Photo Galleries
Hey all, I am having issues with multiple photo galleries. The problem is, iWeb will randomly delete old photo libraries when new ones are made. My workflow is each blog entry has its own Photo Library attached to it, so i really would love to be abl
-
Hi� I making an application that it needs to send a video file (of a server to a client). I implemented this using the mechanism of RTP implemented for the JMF. My server sends the archive, that my customer only shows the video for the half and does
-
Recently my computer was stolen and I am in need of the serial number so the police can track it. I called the compaq company which is the brand of my computer and they told me to file a police report and give the police the number to hp security so
-
Itunes error message: the itunes library file cannot be saved.
Since I installed the latest version of itunes about a week ago I keep getting a pop-up saying 'the itunes library file cannot be saved. an unknown error occured (-50)' Noooo idea how to go about fixing this :S Please help
-
Anybody running FCS on 17" MBP? Motion Crashes Please Help
I have encountered a reproducible crash with Motion on my 17" MBP and wanted to know if there is a problem with my machine specifically or if it is a problem with Motion running on all MBPs. Here are the steps that caused my crash: 1. Open a project