Oracle gateways 11g to connect sybase
Dear Gurus,
Is there any document/tutorial related to oracle gateways 11g.
I want to use oracle gateway and odbc to connect sybase.
How to connect sybase from oracle database?is possible using dblink?
Thank you
JOE
Hi Joe,
yes it is possible. All you need is a suitable ODBC driver and the Database Gateway for ODBC.
There are documents available within the Oracle Support knowledge base (htp://support.oracle.com). As you didn't specify your preferred platform here a list of possible notes:
How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [Document 466225.1]
How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install [Document 1266572.1]
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install [Document 561033.1]
How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install [Document 466228.1]
- Klaus
Similar Messages
-
Hi
we have a oracle database version 11.2.0.1
now we have instlled database gateways 11g in sql server machine and created db link in oracle and working fine
Now my question is:
Windows 2003 server having sql server and 11g Gateways installed
But oracle database is 10g............if i create link in Oracle it will work?
because 11gR2 gateway will synch with Oracle 10g database.
Thanks
ShaikHi Joe,
yes it is possible. All you need is a suitable ODBC driver and the Database Gateway for ODBC.
There are documents available within the Oracle Support knowledge base (htp://support.oracle.com). As you didn't specify your preferred platform here a list of possible notes:
How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install [Document 466225.1]
How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install [Document 1266572.1]
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install [Document 561033.1]
How to Configure DG4ODBC on Linux x86 32bit or on HP-UX RISC (DG4ODBC 11.1 only) to Connect to Non-Oracle Databases post install [Document 466228.1]
- Klaus -
Connecting user Oracle 10g to oracle Forms 11g
hi all , please i need help :
my problem is : i have created new user and the tables with oracle database 10g express edition , my problem now is how to connect with oracle Forms 11g to connect with this user and the tables . where i should copie "tsnames.ora" ?? how to modifie tsnames.ora ?? if you have any tutorials or video send to me please . thank's allBe aware that the Express editions are not supported for use with Forms.
As for the tnsnames.ora, for Forms 11, this can be found in the INSTANCE_HOME\config -
Oracle Gateway Not Connecting to Sybase database
Hi,
I'm trying to setup an oracle gateway to connect to Sybase database. I followed in details the instructions but still can connect successfully. The Oracle database is in RAC environment. Below are the steps I took:
The oracle gateway and oracle database are in the same server while Sybase is on a separate unix box.
1. create an initdg4sybs.ora file
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
HS_FDS_CONNECT_INFO=[999.99.108.99]:4527/common ## IP address of sybase server
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
2. create a listener on the oracle gateway home
# listener.ora Network Configuration File: /u03/app/oracle/gateway/11.2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node A)
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.24)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node B)
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
3. create tnsnames.ora in oracle database home
dg4sybs =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)) #IP address of Node A
(CONNECT_DATA =
(SERVER = DEDICATED) #added for single node test
(SID = dg4sybs)
(HS=OK)
4. create database link
create database link dg4sybs connect to "user" identified by "password" using 'dg4sybs'
5. when testing the connection; i'm getting below error message. tried all the setup based my research and couldn't make it work.
SQL> select * from dual@dg4sybs
2 /
select * from dual@dg4sybs
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7427
Session ID: 495 Serial number: 787
I perform above settings on a standalone database running in windows and successfully connect to the sybase. In UNIX setup, been unsuccessful. Can someone please help.
Also, below is the trace file error message:
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.747
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.745
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
ODBCINST set to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/dg4sybs.loc"
RC=-1 from HOSGIP for "LD_LIBRARY_PATH_64"
Setting LD_LIBRARY_PATH_64 to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME_ICU" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libHGicu23.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME_INST" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbcinst.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbc.so"
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_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using ro as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=20 ...
00: 53454C45 4354202A 2046524F 4D202244 [SELECT * FROM "D]
10: 55414C22 [UAL"]
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
SQL text from hgopars, id=2, len=57 ...
00: 53454C45 43542027 58272046 524F4D20 [SELECT 'X' FROM ]
10: 2264626F 222E2273 79737573 65727322 ["dbo"."sysusers"]
20: 20413120 57484552 45204131 2E226E61 [ A1 WHERE A1."na]
30: 6D65223D 2764626F 27 [me"='dbo']
Deferred open until first fetch.
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Read error.
Edited by: gonzroman on Oct 18, 2012 11:03 AM-=-=-=-=-=- tnsnames.ora on the UNIX side
GTW_C100_COMN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) #IP address of jrc1suvip01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) #IP address of jrc1sudb01a
(CONNECT_DATA =
(SERVER = DEDICATED) # added for single configuration
(SID = dg4sybs_comn_c100)
(HS=OK)
-=-=-=-=-=- listener.ora of the GATEWAY
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)(IP = FIRST)) #IP address of jrc1suvip01a
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)(IP = FIRST)) #IP address of jrc1sudb01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = jrc1suvip01a)(PORT = 1543))
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
(SID_DESC=
(SID_NAME=dg4sybs_comn_c100)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
-=-=-=-=- initdg4sybs_comn_c100.ora parameter
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
#HS_FDS_CONNECT_INFO=[glb0pod29.aexeo.citco.com]:4100/common
HS_FDS_CONNECT_INFO=[209.87.108.99]:4527/common
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
-=-=-=-=- gateway listener status
jrc1sudb01a:/u03/app/oracle/gateway/11.2/dg4sybs/admin $ lsnrctl status LISTENER_DG4SYSBS
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 20-OCT-2012 13:09:05
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1543)))
STATUS of the LISTENER
Alias LISTENER_DG4SYSBS
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 18-OCT-2012 13:16:24
Uptime 1 days 23 hr. 52 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u03/app/oracle/gateway/11.2/network/admin/listener.ora
Listener Log File /u03/app/oracle/gateway/11.2/log/diag/tnslsnr/jrc1sudb01a/listener_dg4sysbs/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.26)(PORT=1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.24)(PORT=1543)))
Services Summary...
Service "dg4sybs" has 1 instance(s).
Instance "dg4sybs", status UNKNOWN, has 1 handler(s) for this service...
Service "dg4sybs_comn_c100" has 1 instance(s).
Instance "dg4sybs_comn_c100", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
-=-=-=-=-=- tnsping output
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping dg4sybs
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:28
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs)) (HS=OK))
OK (10 msec)
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping GTW_C100_COMN
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:35
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs_comn_c100)) (HS=OK))
OK (0 msec) -
ODBC gateway in windows connecting local oracle to local mysql
I have setup a test system in my local Vista pc with oracle 11g and mysql. Just installed ODBC gateway and follow the instruction. The listener sid for ODBC started OK. But when I tried tnsping <sid>, it failed with tns-03505 failed to resolve name.
Any suggestions?
Thanks,
Lawrence[email protected] wrote:
Here is the listener.ora for the gateway:# listener.ora Network Configuration File: C:\oracle\Gateway\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENERMYSQLSERVERDSN =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 2522))
SID_LIST_LISTENERMYSQLSERVERDSN=
(SID_LIST=
(SID_DESC=
(SID_NAME=MYSQLSERVERDSN)
(ORACLE_HOME=C:\oracle\Gateway)
(PROGRAM=dg4odbc)
ADR_BASE_LISTENER = C:\oracle\Gateway
TRACE_LEVEL_LISTENER=16
TRACE_FILE_LISTENER=listener.trc
TRACE_DIRECTORY_LISTENER=$ORACLE_HOME/network/trace
#CONNECT_TIMEOUT_LISTENER = 0
Here is the tnsnames for the database:
# tnsnames.ora Network Configuration File: C:\oracle\db\product\11.2.0\dbhome_2\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.myhost.COM)
MYSQLSERVERDSN =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=2522))
(CONNECT_DATA=(SID=MYSQLSERVERDSN))
(HS=OK)
Here is the output from listener:
C:\>lsnrctl start listenermysqlserverdsn
LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 23-JUL-2010 15:11
:37
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
System parameter file is C:\oracle\Gateway\network\admin\listener.ora
Log messages written to c:\oracle\gateway\log\diag\tnslsnr\myhost\listener
mysqlserverdsn\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.64)(PORT=2522)
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.64)(PORT=2522)
STATUS of the LISTENER
Alias listenermysqlserverdsn
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 23-JUL-2010 15:11:40
Uptime 0 days 0 hr. 0 min. 3 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\oracle\Gateway\network\admin\listener.ora
Listener Log File c:\oracle\gateway\log\diag\tnslsnr\myhost\listen
ermysqlserverdsn\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.64)(PORT=2522)))
Services Summary...
Service "MYSQLSERVERDSN" has 1 instance(s).
Instance "MYSQLSERVERDSN", status UNKNOWN, has 1 handler(s) for this service..
The command completed successfully
C:\>once again:
03505, 00000, "Failed to resolve name"
// *Cause: The service name you provided could not be found in TNSNAMES.ORA,
// an Oracle Names server, or a native naming service.If the entry could not be found in tnsnames, the process never got far enough for the listener to come into play. Looking at the listener, the listener status, listener configuration, or listener logs is a waste of time for this error.
You couldn't find the number you were looking for in the telephone directory. You don't solve that by looking to the telephone exchange switchboard. -
How to connect sybase database in JDeveloper 11g using JConnect
Hi
How to connect sybase database in JDeveloper 11g using JConnect? Please help.User,
It would help if you explained Sybase Jconnect instead of leaving us to google.
At any rate, it appears you need to create a library definition in JDeveloper, add the appropriate JConnect JAR files to the library's classpath, and then add the library to your project.
John -
Oracle Client 11g R2 in Windows 7 connecting a RAC server
I have the following setup in my laptop
Windows 7
Oracle Client 11g R2
I'm trying to connect "SQL plus" to a load balanced server (RAC) configured as below
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for HPUX: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
The problem is, the connection creation is not consistent. It is throwing the following error randomly.
ORA-12545: Connect failed because target host or object does not exist
I'm able connect to another server (not RAC) without any issues. Even TOAD is giving the same error. After few tries, it works.
Anyone facing the same problem, got any solution???
Thanks
Edited by: user3918865 on Oct 7, 2010 4:14 AMBruno Palma wrote:
Hi all.
I've done all the checklists suggested but I'm still getting the error. The problem is not with the network and the servers cos I'm working in a Company and when I had Windows XP SP 3 and Oracle Client 10gR2 all was working fine. I'm with Windows 7 Professional 64-bit now. I'm almost sure the problem is with Windows 7 x Oracle Client but it's hard to figure out what's going on. Does anyone have idea what could it be ??I would generate a client side sqlnet trace, then go on a fishing expedition. There's a lot of dense stuff in a full trace, but if you don't panic and just try to make sense of what you can, you'll probably flush it out.
To enable the trace, go to your sqlnet.ora file and add these lines:
TRACE_FILE_CLIENT=clientsqlnet.trc
TRACE_DIRECTORY_CLIENT=C:\app\oracle\product\11.2.0\client_1\network\trace
#TRACE_LEVEL_CLIENT=off
#TRACE_LEVEL_CLIENT=user
#TRACE_LEVEL_CLIENT=admin
TRACE_LEVEL_CLIENT=support
DIAG_ADR_ENABLED = off -
Oracle Client 11g on Windows 2008 64 bit ASP Connection Problems
Hi,
I'm trying to set up my old ASP applications on a new web server. I've moved from a windows 2003 server to 2008 64 bit.
I've installed the Oracle Client 11g 64 bit drives and if I create a new ODBC connection tat works fine. But IIS will not connect.
Connection string i've been using is:
Provider=OraOLEDB.Oracle.1; Password=******; User ID=*****; Data Source=*****
All i get is no provider could be found.
"3706 Provider cannot be found. It may not be properly installed."
Can anyone help me out / point me in the right direction?
Thanks
Gareth OwenHi,
Thanks for the reply. The app pool is running in 64 bit. I've tried installing a 32 bit version of the oracle provider and shifting the app pool down to that and no joy either.
Have tried changing the permissions on the Oracle folder which gives me no joy. It's as if IIS just has no access to the Oracle provider. But I just don't know how to get this working.
Under windows 2003 things just worked when I installed the Oracle provider...
Gareth -
Oracle jdbc driver spending 40 seconds to make connection to Oracle db 11g
we are using weblogic 10.3.3 and teh default Oracle11.1.0.7 Driver ojdbc6.jar to talk to Oracle db 11.2.0.1
After reviewing weblogic logs I see that it takes 50 secodns for each connection to db
HHere is a snippet (note I put in a 10 sec login dleay as i was experimenting, butt eh problem still occurs with or without login delay)
<Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001516> <Connection Pool "acm_repository" connected to Database: "Oracle", Version: "Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options".>
Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001517> <Connection Pool "acm_repository" using Driver: "Oracle JDBC driver", Version: "11.1.0.7.0-Production".>
<Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001132> <Initialized statement cache of size "10" for connection in pool "acm_repository".>
<Dec 21, 2010 1:28:19 AM GMT> <Info> <JDBC> <BEA-001066> <Delaying 10 seconds before making a acm_repository pool connection.>
<Dec 21, 2010 1:29:09 AM GMT> <Info> <JDBC> <BEA-001068> <Connection for pool "acm_repository" created.>
There is someting wrong in this environment
I donwloaded the _g version fo teh exact same driver and had weblogic use it so I could generate verbose logs
Here is a snippet fo teh oracle drivers verbose log file . If you notice the key parts
it seems like its spending 40 second to make the connection, goes into a setConnectionDuringExceptionHandling method and creates the connection
can someone shed light on what causes itto go into an exception state
This happens for each and every connection but only in one specific environment
we have other environments which seem towork fine with the exact same product versions except for this environment
Thank you for any guidance on troubleshooting this further
-Y
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection parseConnectionProperty_Object
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection readOCIConnectionPoolProperties
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection readConnectionProperties
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection initialize
TRACE_16: Enter: null, null, null
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection initialize
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Enter:
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Enter:
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLineUnchecked
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.PhysicalConnection needLine
TRACE_16: Exit
Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.T4CConnection logon
**TRACE_16: Enter:**
**Dec 21, 2010 1:27:38 AM oracle.jdbc.driver.T4CConnection connect**
**TRACE_16: Enter: "10.135.3.80:1521:EPFDSQA"**
**Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.T4CMAREngine setConnectionDuringExceptionHandling**
**TRACE_16: Enter:**
**Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.T4CMAREngine setConnectionDuringExceptionHandling**
TRACE_16: ExitDec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
TRACE_16: Enter: 178, 8100
Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
TRACE_16: return: 178
Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion findDriverCharSet
TRACE_16: Exit
Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion <init>
TRACE_16: Enter: 178, 178, 2000
Dec 21, 2010 1:28:18 AM oracle.jdbc.driver.DBConversion init
TRACE_16: Enter: 178, 178, 2000I would file an oracle jdbc bug to begin with, but I am guessing the driver is simply waiting
for the DBMS to respond, so yo may need a good DBA to see what the DBMS thinks is going
on at the time. I did hear of a case where the DBMS was doing some auditing, logging
some info during every login. This info was being written to an OS file which just happened
to be remote-mounted and would occasionally take 30 seconds, which caused connection
requests to timeout at the driver end.... WebLogic is just asking the driver for a connection
using your properties, so it's not involved directly with the problem.... -
Oracle 11g XE Connectivity Problems
Hi to all and thanks for the attention !
Quick facts
OS : Microsoft Server 2008 R2 (x64)
Oracle Version : 11g XE (x32)
Database name : XE
I've been fighting over with providers for a whole day and I can't seem to make this work out,
I have an application(Web, on a IIS 7) that connects to a schema, the connection uses a Oracle Provider For OleDB, well at first I was getting a "Provider not registered" error, that was easy I only had to make the app run on x32 and puf the error changed, so I quickly set up the Data Source ( with the data source manager located in WOW64 ) with a oracle ole db provider, no problems, I can click on it, it will ask me for a user/password and when I click test connection I works just like I would expect it to work, now back to the application, when i set the connection string up, I get a error from the app : ORA-12154 TNS:could not resolve the connect identifier specified. So went up and tried making a udl ( invoking again the x32 ), same error ORA-12154 so I started digging and so far so good what I got is, "try tnsping <instance_Name>", did it, and got an OK (40ms) (though I had to navigate to bin folder, which was not explained in the posts, perhaps this means something ?) and also registered the oraoledb11.dll with regsvr32
Oh ! And I can connect to the database with sqldeveloper
I know really little of Oracle, any thoughts ?
Thanks again !ORA-12154 ALWAYS only occurs on SQL Client & no SQL*Net packets ever leave client system
ORA-12154 NEVER involves the listener, the database itself or anything on the DB Server.
ORA-12154 occurs when client requests a connection to some DB server system using some connection string.
TNS-03505 is thrown by tnsping & is same error as ORA-12154 thrown by sqlplus or others.
The lookup operation fails because the name provided can NOT be resolved to any remote DB.
The analogous operation would be when you wanted to call somebody, but could not find their name in any phonebook.
The most frequent cause for the ORA-12154 error is when the connection alias can not be found in tnsnames.ora.
The lookup operation of the alias can be impacted by the contents of the sqlnet.ora file; specifically DOMAIN entry.
So post the content of the sqlnet.ora file.
TROUBLESHOOTING GUIDE: ORA-12154 & TNS-12154 TNS:could not resolve service name [ID 114085.1]
http://edstevensdba.wordpress.com/2011/02/26/ora-12154tns-03505/ -
How to retrieve database connection port? Oracle XE 11g beta
Hi, I installed Oracle XE 11g beta two weeks ago. I can use Application Express in the local host and from other networks. I have been trying to connect to the database with SQL Developer from another PC in the same network, but I just can't. User and password I am using are correct since I can login from SQL Plus in the localhost. So maybe I changed the default port 1521 on installation but I don't remember. Is it a way to retrieve port information from a SQL Plus window or see that information in a config file?
FranciscoHi Francisco,
I could not query lsnctrl status from the database.I'm sorry I didn't point that out. lsnrctl is a command line tool like sqlplus, and status is one of its parameters.
I cannot connect anyway. Now APEX does not startup.Well, there's two things: The correct configuration of the database listener and the state it is in. Try lnsrctl to see if the listener is running at all.
APEX depends on a "living" database listener as well.
If you have a "sometimes, sometimes not" state, you possibly have some other network service using the default port for APEX's web server, which is 8080.
SQL Developer installed in the same machine and it doesn't startup neither. That's really odd, but probably a completely different story.
As I assume my answer is too late to stop your reinstallation, keep these analysis steps in mind if it doesn't work right away.
-Udo -
Pooled Connection not supported in oracle forms 11g
Dear all,
I am using oracle from builder (11.1.1.4) and oracle database 11g Release 2. I can connect to the database from oracle forms 11g, when I use a dedicated or shared server connection mentioned in the tnsnames.ora file . But I want to use the oracle database 11g's new feature DRCP (Database Resident Connection Polling).
To do this a made a another POOLED connection (SERVER=POOLED) in the tnsnames.ora.I can connect to the 11g r2 database server from sqlplus using POOLED connection. But when I try it from form builder (11.1.1.1.4) it gives error with some unknown characters.
Then I tried it in linux frmcmp the message i got in terminal is can not *"Cannot obtain ORACLE version number"*
I have googled and also checked in metalink. But I got nothing.Thanks in advance for your help.I don't think this feature is feasible for forms.
Quoting the documentation from
http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/manproc002.htm
Database Resident Connection Pooling (DRCP) provides a connection pool in the database server for typical Web application usage scenarios where the application acquires a database connection, works on it for a relatively short duration, and then releases it.
Forms keeps a permanent connection to the database, so a connection pool isn't gonna help you in any way.
cheers -
Not able to connect to oracle database 11g from application server10g
Hello,
I have installed oracle database 11g. We are using forms and report services through application server 10g. I have add required entries in tnsnames.ora file. But I am not able to connect to database. I am getting following error:
ORA-12514-TNS:listener does not currently know of service requested in connect descriptor
Please help me.
Thanks
Trushalsnrctl status...
oracle@orcl11gd:~> lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 13-FEB-2013 09:16:06
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-FEB-2013 12:40:23
Uptime 1 days 20 hr. 35 min. 42 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /opt/oracle/product/11gR2/db/network/admin/listener.ora
Listener Log File /opt/oracle/diag/tnslsnr/orcl11gd/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=orcl11gd.irma.ac.in)(PORT=1521)))
Services Summary...
Service "orcl11gd.irma.ac.in" has 1 instance(s).
Instance "orcl11gd", status READY, has 1 handler(s) for this service...
Service "orcl11gdXDB.irma.ac.in" has 1 instance(s).
Instance "orcl11gd", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@orcl11gd:~>
tnsnames.ora
# tnsnames.ora Network Configuration File: /opt/oracle/OraBi/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
REP_ASDEMO_ORABI.IRMA.AC.IN =
(ADDRESS = (PROTOCOL = tcp)(HOST = asdemo)(PORT = 1950))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = asdemo.irma.ac.in)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
ORCLDEMO =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.11.80)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCLDEMO)
(SERVER = DEDICATED)
ORCL11GD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.100.180)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = ORCL11GD)
(SERVER = DEDICATED)
) -
Unable to connect to the informatica repository on oracle database 11g
hi all,
i have installed OBI Apps 7.9.6.0 with informatica 8.6.0 and no hotfix.
Now the problem is , when i create a repository service i get the error
" The service did not start due to the following error: *Unable to connect to the repository Oracle_BI_DW_Base on database* . " here Oracle_BI_DW_Base is also the name of my .rep repository that came with OBI APPS installation.
i have oracle database 11g installed and also created respective user for repository of informatica.
what should i do in this case??
plz helpGood Morning.
I had the same problem and I had the same IE 6, the problem was the translation between the IE6 from http and https, to solve it you just need to open your url typing
https:url:port, do no forget to put the s after the http, with this my problem was solved.
best regards.
Digudi - São Paulo - Brazil
Edited by: user12267194 on 24/11/2009 05:37
Edited by: user12267194 on 24/11/2009 05:38
Edited by: user12267194 on 24/11/2009 05:38 -
Connection between oracle forms10g on XP and oracle db 11g on WINDOWS 7
Hello,
I am trying to connect forms 10g R2 to oracle 11g.
My forms is on windows XP inside VMware while my db is on windows 7 64 bit host.
i have tried all ways known to me and the ones i saw on the internet but none works.
I will be glad if you can refer me to a link that talks on this type of connection in details or any solution you can provide.
Thanks in anticipation
AbdurRahmanThank you for your response,
1) I copied the tnsnames.ora,sqlnet.ora and listener.ora files from the database 11g on the windows 7 host to the DevSuiteHome_1\NETWORK\ADMIN path for the developer
suite 10g on XP Vmware.
2) I also entered the host address in the C:\WINDOWS\system32\drivers\etc\host file i.e 192.168.202.54 AAJANI-pc.
below are the details of my db and forms
DB
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
FORMS
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
the error i got whenever i try to connect to the db from forms is
ORA-12170:TNS:Connect timeout occurred.
once again
Thanks in advance
Maybe you are looking for
-
How do i make a new file created appear in the Application Navigator?
I am doing an extension to JDeveloper..How do i make the new file that the user has created to appear in the Application Navigator? What methods can i use? These are my codes...but it does not work still... File file = new File(dir ,fileName); file.c
-
Can't open documents in Time Machine using "Open with..."
When I'm viewing a document in Time Machine and I'd like to open it, I can't do so. I can use Quicklook on a .txt file, for instance, and in the top-right corner it says "Open with Textmate" (because I'm using Textmate to read .txt files), but clicki
-
0IC_MP04 and 0IC_MC01
We are implementing Inventory and need to understand the difference between the multiproviders 0IC_MP04 and 0IC_MC01. I have browsed through the help.sap.com definitions but it doesn't tell me why these are two different multiproviders. I understand
-
I have forgotten the password to my ipad
I have forgotten the password to my ipad & dnt have a way to connect to itunes or a pc .... What do I do know ??
-
Odd Pricing Structure...
Maybe someone can figure this one out... It is CHEAPER for me to have my services run separately (Smartphone on $45 Allset (with or without the promotional 500mb for auto pay) and my Home Internet device on 6gb More Everything) than it is for me to a