Setting Heterogeneous Connectivity Environment
hai,
i am very new to " ORACLE Heterogeneous Connectivity"..
and this is my senario..i need to connect oracle with microsoft access (and update 5 more tables regulary)..
so..
what are the pre-reqsites needed for doing this connectivity...
what are the drivers/softwarz,i supposed to install to achive my goal
Datebase:11g1
OS: wisdows XP
(i posted it at .. Forum Home » Database » Heterogeneous Connectivity..but no response..so any one who knows abt this,help me..)
regards,
jp@valapad
1.First make an ODBC connection, make entry in System DSN(to create a data source)
2.Make an entry in tnsnames.ora
3.Make an entry in listener.ora under SID_LIST_LISTENER
4.Make an entry in file named init<HS>.ora file located "oracle_base\oracle_home\db\hs\admin"
5.Restart the listener
e.g:
1. create a odbc system dsn named like 'sqlserver'
2. sqlserver= (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp) (HOST=xx.xx.xx.xx) (PORT=1521))
(CONNECT_DATA = (SERVICE_NAME=sqlserver))
(HS = OK)
3. (SID_DESC = (SID_NAME = sqlserver) (ORACLE_HOME = oracle_base\oracle_home\db) (PROGRAM = hsodbc) )
4.Create a file named initsqlserver.ora and make the following entry:
HS_FDS_CONNECT_INFO = sqlserver
Alternatively, you can copy the file named inithsodbc.ora and rename it to initsqlserver.ora
and edit as HS_FDS_CONNECT_INFO = sqlserver
5. lsnrctl reload listener_name
regards
adnan kaysar
Similar Messages
-
Heterogeneous connection between Oracle and Postgres.
Hi All,
I'm trying to make an heterogeneous connection between Oracle and Postgres since few days but i still having this error : "lost RPC connection".
First of all : I'm using Windows 7, Oracle 10g and PostgreSQL 8.4.
I have done the following operations :
1) Create a System DNS named "PG". (Test connection is OK)
2) Create the file "initPG.ora" in "$ORACLE_HOME/hs/admin" :
# This is a sample agent init file that contains the HS parameters that are
# needed for an ODBC Agent.
# HS init parameters
HS_FDS_CONNECT_INFO = PG
HS_FDS_TRACE_LEVEL = ON
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
3) Configure the file "listener.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = PG)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = hsodbc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
4) Configure the file "tnsnames.ora" (in "$ORACLE_HOME/NETWORK/ADMIN") :
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = Cédric-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
PG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PG)
(HS = OK)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
5) Finally, i create my DB-Link and test it :
CREATE DATABASE LINK "CENTRALE_POSTGRES" CONNECT TO "user_login" IDENTIFIED BY "user_password" USING 'PG';
SELECT * FROM "dual"@CENTRALE_POSTGRES;
I got this error :
ORA-03135 : lost RPC connection.
As you can see, i have activated the trace level (HS_FDS_TRACE_LEVEL = ON), but the directory "$ORACLE_HOME/NETWORK/trace" still empty.
Any ideas ?
Regardsthe tnsnames.ora alias PG is wrong - you need to have 2 closing brackets after the SERVICE_NAME so that HS=OK is outside of the CONNECT_DATA like:
PG =
<space>(DESCRIPTION =
<space><space>(ADDRESS = (PROTOCOL = tcp)(HOST = Cédric-PC)(PORT = 1521))
<space><space>(CONNECT_DATA =
<space><space><space>(SERVICE_NAME = PG))
<space><space>(HS = OK)
<space>)
Please be also aware HSODBC up to release 10.2 has been desupported since March 2008 and it was replaced by its follow up product DG4ODBC V11 -
Hi all,
I need to know how to set Multi User Environment in the weblogic 5.1
properties file..
Here my question is..:)
1) I have a database with multiple users and having different privileges
for the users.. and i need to use all the privileges when user aceess
the database through weblogic server connectionPool.
2)According to the user privileges i need access the database tables
content and gives the frontEnd(jsp).
3)How to modify dynamically weblogic.properties file in the weblogic
5.1.
If anybody having idea reg. this issues pl...help me..
Thanks in advance
Chandu([email protected],[email protected])Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
connections, and the controls to make sure only one user uses a particular
connection at any one time. If you want to have different DBMS users, you can
have a separate pool for each DBMS user, which may contain as many or few
connections as you want. Some applications has a pool for the accounting
applications, and another for the sales applications etc. Some do have a
separate pool for john, jane, joe etc, each with one connection. Pools
can be created and destroyed dynamically using the dynamic pool API.
Joe
softstar wrote:
>
Hi all,
I need to know how to set Multi User Environment in the weblogic 5.1
properties file..
Here my question is..:)
1) I have a database with multiple users and having different privileges
for the users.. and i need to use all the privileges when user aceess
the database through weblogic server connectionPool.
2)According to the user privileges i need access the database tables
content and gives the frontEnd(jsp).
3)How to modify dynamically weblogic.properties file in the weblogic
5.1.
If anybody having idea reg. this issues pl...help me..
Thanks in advance
Chandu([email protected],[email protected]) -
Sybase oracle heterogeneous connection
Hi all,
I created a connection from oracle to sybase using oracle heterogeneous connection. However I have a problem with numeric characters, I cannot get floating parts of numbers.
when I use create as syntax it maps to correct data types(with the correct precision and scale) but 12,49 comes like 12,00.
My Database is 10.2.0.3.0 32bit windows
Any help would be appreciated..The problem was because of language settings. Setting NLS_LANG in the registery to correct setting solved the problem..
-
Hello
I have just started working on Weblogic server 8.1 on a Windows XP machine.
In order to set up the environment I ran the batch file 'setWLSEnv.cmd'.
I noticed that the new settings for PATH and CLASSPATH variables did not reflect
in the values of PATH and CLASSPATH when viewed through the control panel on my
machine. Also WEBLOCIG_CLASSPATH did not show up either on my control panel.
Are these settings visible only to the Weblogic server and does this mean that
I need to run the batch file 'setWLSEnv.cmd" everytime I want to start the Weblogic
server.
Thanks for your help.
NaveenYou don't need to do anything in the environment to use a MIDI keyboard, it just needs to be connected via a MIDI input. If you select an Audio instrument track (as opposed to Audio or external MIDI track) you should see the track strip at the left hand side and a button labelled 'Input'. Click and hold on this and a hierarchical menu appears for you to select an instrument plug in, so select one and then play on your keyboard.
-
Heterogenous connection with dg4odbc Oracle 11g: insert did not work !
Hi,
we just migrated to a 64bits version of our oracle 10.2.0.4 database.
We had a heterogenus connection who was woking "A1" at that time (in 32 bits). Now, we had some problems with the Odbc 64bits and we found on this site that we can use dg4odbc (Oracle 11g).
We tried it and it works well except for a case ... We have to refresh some Oracle tables using a Ingres database. We have a first script SQL that truncate a table and insert data from a table (using heterogenous connection) terminated by a commit. The second one do exactly the same thing but we use a PL/SQL anonymous block.
Does anybody know why the first script work and the second not ...
Here is the "log" of the execution of the first script:
D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
s.exe agrt997/oedec12a1 @D:\batch\script_gen\test1.sql
SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:23:59 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
SQL> set feed on
SQL>
SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
Table truncated.
SQL>
SQL> INSERT INTO AGRBAKA1.ADMIN_LOCALE
2 SELECT * FROM ADMIN_LOCALE@test_ron;
*49 rows created.*
SQL>
SQL> commit;
Commit complete.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
D:\Logiciels\oracle\ora10g\rdbms\BIN>
Now, the execution of the second one (who not worked !!):
D:\Logiciels\oracle\ora10g\rdbms\BIN>D:\Logiciels\Oracle\Ora10g\rdbms\bin\sqlplu
s.exe agrt997/oedec12a1 @D:\batch\script_gen\test2.sql
SQL*Plus: Release 10.2.0.4.0 - Production on Jeu. Juil. 9 14:24:32 2009
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
SQL> set feed on
SQL>
SQL> TRUNCATE TABLE AGRBAKA1.ADMIN_LOCALE;
Table truncated.
SQL>
SQL> DECLARE
2 cpt NUMBER;
3 BEGIN
4 INSERT INTO AGRBAKA1.ADMIN_LOCALE
5 SELECT * FROM ADMIN_LOCALE@test_ron;
6
7 commit;
8 EXCEPTION
9 WHEN OTHERS THEN
10 ROLLBACK;
11 END;
12 /
DECLARE
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
*[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
ORA-02063: preceding 2 lines from TEST_RON
ORA-06512: at line 10
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
*[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error*
ORA-02063: preceding 2 lines from TEST_RON
SQL>
SQL> EXIT
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
D:\Logiciels\oracle\ora10g\rdbms\BIN>
It's strange ...
Thank's
YvesHi,
We set the HS_FDS_TRACE_LEVEL=255, stopped/started the listener, started the trace in the ODBC.
Here is the trace of the dg4odbc:
Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- LUNDI JUIL. 13 2009 10:42:42.849
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
HOSGIP returned value of "FALSE" for HS_FDS_SUPPORT_STATISTICS
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "IngresSvrA1"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.6.0_0006, Instance:IngresSvrA1
Exiting hgogprd, rc=0
hostmstr: 2960482304: HOA After hoagprd
hostmstr: 2960482304: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2009/07/13-10:42:42
Exiting hgolofn, rc=0 at 2009/07/13-10:42:42
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 ".,"
Exiting hgoinit, rc=0 at 2009/07/13-10:42:42
hostmstr: 2960482304: HOA After hoainit
hostmstr: 2960482304: HOA Before hoalgon
Entered hgolgon at 2009/07/13-10:42:42
reco:0, name:AGRT997, tflag:0
Entered hgosuec at 2009/07/13-10:42:42
Exiting hgosuec, rc=0 at 2009/07/13-10:42:42
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 AGRT997 as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2009/07/13-10:42:43
HS_FDS_CONNECT_INFO = "IngresSvrA1"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2009/07/13-10:42:43
dsn:IngresSvrA1, name:AGRT997
optn:
##>Connect Parameters (len=40)<##
## DSN=IngresSvrA1;
#! UID=AGRT997;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2009/07/13-10:42:43
DriverName:CAIIOD35.DLL, DriverVer:03.50.910.0089
DBMS Name:INGRES, DBMS Version:09.10.0000
Exiting hgocont, rc=0 at 2009/07/13-10:42:43
SQLGetInfo returns for SQL_CATALOG_NAME
Exiting hgolgon, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoalgon
hostmstr: 2954018816: RPC Before Upload Caps
hostmstr: 2954018816: HOA Before hoaulcp
Entered hgoulcp at 2009/07/13-10:42:43
Entered hgowlst at 2009/07/13-10:42:43
Exiting hgowlst, rc=0 at 2009/07/13-10:42:43
SQLGetInfo returns " for SQL_IDENTIFIER_QUOTE_CHAR
SQLGetInfo returns Y for SQL_COLUMN_ALIAS
Exiting hgoulcp, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoaulcp
hostmstr: 2954018816: RPC After Upload Caps
hostmstr: 2954018816: RPC Before Upload DDTR
hostmstr: 2954018816: HOA Before hoauldt
Entered hgouldt at 2009/07/13-10:42:43
Exiting hgouldt, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoauldt
hostmstr: 2954018816: RPC After Upload DDTR
hostmstr: 2954018816: RPC Before Begin Trans
hostmstr: 2954018816: HOA Before hoabegn
Entered hgobegn at 2009/07/13-10:42:43
tflag:0 , initial:1
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Exiting hgobegn, rc=0 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoabegn
hostmstr: 2954018816: RPC After Begin Trans
hostmstr: 2954018816: RPC Before Describe Procedure
hostmstr: 2954018816: HOA Before hoapdsc
Entered hgopdsc at 2009/07/13-10:42:43
Describing procedure AGRT997.admin_locale
Output hoada
hgopdsc, line 1222: NO hoada to print
Exiting hgopdsc, rc=942 at 2009/07/13-10:42:43
hostmstr: 2954018816: HOA After hoapdsc
hostmstr: 2954018816: RPC After Describe Procedure
hostmstr: 2954018816: RPC Before Describe Table
hostmstr: 2954018816: HOA Before hoadtab
Entered hgodtab at 2009/07/13-10:42:43
count:1
table: AGRT997.admin_locale
Entered hgopcda at 2009/07/13-10:42:44
Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:10
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
The hoada for table AGRT997.admin_locale follows...
hgodtab, line 577: Printing hoada @ 0224711C
MAX:13, ACTUAL:13, BRC:1, WHT=6
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
-6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
-6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
1 CHAR N 7 7 0/ 0 0 0 0 uti_id
91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadtab
hostmstr: 2954018816: HOA Before hoadafr
Entered hgodafr, cursor id 0 at 2009/07/13-10:42:44
Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadafr
hostmstr: 2954018816: RPC After Describe Table
hostmstr: 2954018816: RPC Before SQL Bundling
hostmstr: 2954018816: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
type:0
SQL text from hgopars, id=1, len=312 ...
000: 454C4553 41205443 64222E31 6E5F7269 [SELECT A1."dir_n]
010: 69645F6F 22636572 2E31412C 72646122 [o_direc",A1."adr]
020: 5F6F6E5F 5F6D6461 22676572 2E31412C [_no_adm_reg",A1.]
030: 6C646122 5F6F6E5F 5F6D6461 22636F6C ["adl_no_adm_loc"]
040: 2E31412C 6C646122 7365645F 64615F63 [,A1."adl_desc_ad]
050: 6F6C5F6D 412C2263 61222E31 615F6C64 [m_loc",A1."adl_a]
060: 5F317264 5F6D6461 22636F6C 2E31412C [dr1_adm_loc",A1.]
070: 6C646122 7264615F 64615F32 6F6C5F6D ["adl_adr2_adm_lo]
080: 412C2263 61222E31 615F6C64 5F337264 [c",A1."adl_adr3_]
090: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
0A0: 5F64635F 74736F70 6D64615F 22636C5F [_cd_post_adm_lc"]
0B0: 2E31412C 6C646122 5F6F6E5F 5F6C6574 [,A1."adl_no_tel_]
0C0: 5F6D6461 22636F6C 2E31412C 6C646122 [adm_loc",A1."adl]
0D0: 5F6F6E5F 5F786166 5F6D6461 22636F6C [_no_fax_adm_loc"]
0E0: 2E31412C 69747522 2264695F 2E31412C [,A1."uti_id",A1.]
0F0: 6B616222 5F74645F 6E726564 646F6D5F ["bak_dt_dern_mod]
100: 725F6669 2C226365 222E3141 5F697475 [if_rec",A1."uti_]
110: 755F6469 20226276 4D4F5246 47412220 [id_uvb" FROM "AG]
120: 39395452 222E2237 696D6461 6F6C5F6E [RT997"."admin_lo]
130: 656C6163 31412022 [cale" A1]
Exiting hgopars, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxpars
hostmstr: 2954018816: HOA Before hoxopen
Entered hgoopen, cursor id 1 at 2009/07/13-10:42:44
hgoopen, line 83: NO hoada to print
Exiting hgoopen, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxopen
hostmstr: 2954018816: HOA Before hoxdscr
Entered hgodscr, cursor id 1 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:1(dir_no_direc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:2(adr_no_adm_reg): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:3(adl_no_adm_loc): dtype:-6 (TINYINT), prc/scl:3/0, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:4(adl_desc_adm_loc): dtype:1 (CHAR), prc/scl:30/0, nullbl:0, octet:30, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:5(adl_adr1_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:6(adl_adr2_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:7(adl_adr3_adm_loc): dtype:1 (CHAR), prc/scl:35/0, nullbl:0, octet:35, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:8(adl_cd_post_adm_lc): dtype:1 (CHAR), prc/scl:6/0, nullbl:0, octet:6, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:9(adl_no_tel_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:10(adl_no_fax_adm_loc): dtype:1 (CHAR), prc/scl:10/0, nullbl:0, octet:10, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:11(uti_id): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:12(bak_dt_dern_modif_rec): dtype:93 (TIMESTAMP), prc/scl:19/0, nullbl:1, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
Entered hgopcda at 2009/07/13-10:42:44
Column:13(uti_id_uvb): dtype:1 (CHAR), prc/scl:7/0, nullbl:0, octet:7, sign:1, radix:0
Exiting hgopcda, rc=0 at 2009/07/13-10:42:44
hgodscr, line 521: Printing hoada @ 022470D0
MAX:13, ACTUAL:13, BRC:100, WHT=5
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
-6 TINYINT N 1 1 0/ 0 0 0 20 dir_no_direc
-6 TINYINT N 1 1 0/ 0 0 0 20 adr_no_adm_reg
-6 TINYINT N 1 1 0/ 0 0 0 20 adl_no_adm_loc
1 CHAR N 30 30 0/ 0 0 0 0 adl_desc_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr1_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr2_adm_loc
1 CHAR N 35 35 0/ 0 0 0 0 adl_adr3_adm_loc
1 CHAR N 6 6 0/ 0 0 0 0 adl_cd_post_adm_lc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_tel_adm_loc
1 CHAR N 10 10 0/ 0 0 0 0 adl_no_fax_adm_loc
1 CHAR N 7 7 0/ 0 0 0 0 uti_id
91 DATE Y 16 16 0/ 0 0 0 0 bak_dt_dern_modif_rec
1 CHAR N 7 7 0/ 0 0 0 0 uti_id_uvb
Exiting hgodscr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxdscr
hostmstr: 2954018816: RPC After SQL Bundling
hostmstr: 2954018816: RPC Before Describe Table
hostmstr: 2954018816: HOA Before hoadtab
Entered hgodtab at 2009/07/13-10:42:44
count:1
table: admin_locale
The hoada for table admin_locale follows...
hgodtab, line 577: NO hoada to print
Exiting hgodtab, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadtab
hostmstr: 2954018816: RPC After Describe Table
hostmstr: 2954018816: RPC Before SQL Bundling
hostmstr: 2954018816: HOA Before hoxclse
Entered hgoclse, cursor id 1 at 2009/07/13-10:42:44
Exiting hgoclse, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoxclse
hostmstr: 2954018816: HOA Before hoadafr
Entered hgodafr, cursor id 1 at 2009/07/13-10:42:44
Exiting hgodafr, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoadafr
hostmstr: 2954018816: HOA Before hoxpars
Entered hgopars, cursor id 1 at 2009/07/13-10:42:44
type:0
SQL text from hgopars, id=1, len=28 ...
00: 454C4553 2A205443 4F524620 6122204D [SELECT * FROM "a]
10: 6E696D64 636F6C5F 22656C61 [dmin_locale"]
Entered hgopoer at 2009/07/13-10:42:44
hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
hgopars, line 278: calling SQLPrepare got sqlstate HY000
Exiting hgopars, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgopars.c LINE:308 ID:Prepare stmt
hostmstr: 2954018816: HOA After hoxpars
hostmstr: 2954018816: RPC After SQL Bundling
hostmstr: 2954018816: RPC Before Rollback Trans
hostmstr: 2954018816: HOA Before hoaroll
Entered hgoroll at 2009/07/13-10:42:44
tflag:1 , cmt(0):
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Entered hgocpctx at 2009/07/13-10:42:44
Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
Entered hgopoer at 2009/07/13-10:42:44
hgopoer, line 159: got native error 7 and sqlstate HY000; message follows...
[Ingres][Ingres 3.0 ODBC Driver]Ingres API invalid handle error
Exiting hgopoer, rc=0 at 2009/07/13-10:42:44
hgoroll, line 124: calling SQLEndTran got sqlstate HY000
Exiting hgoroll, rc=28500 at 2009/07/13-10:42:44 with error ptr FILE:hgoroll.c LINE:124 ID:End transaction
hostmstr: 2954018816: HOA After hoaroll
hostmstr: 2954018816: RPC After Rollback Trans
hostmstr: 2954018816: RPC Before Rollback Trans
hostmstr: 2954018816: HOA Before hoaroll
Entered hgoroll at 2009/07/13-10:42:44
tflag:1 , cmt(0):
hoi:0x12f074, ttid (len 28) is ...
00: 50434341 3238352E 65363738 34322E62 [ACCP.582876eb.24]
10: 2E31312E 36323031 34373639 [.11.10269674]
tbid (len 10) is ...
0: 000B0018 009CB3EA 0104 [..........]
Entered hgocpctx at 2009/07/13-10:42:44
Exiting hgocpctx, rc=0 at 2009/07/13-10:42:44
Exiting hgoroll, rc=0 at 2009/07/13-10:42:44
hostmstr: 2954018816: HOA After hoaroll
hostmstr: 2954018816: RPC After Rollback Trans
hostmstr: 2954018816: RPC Before Logoff
hostmstr: 2954018816: HOA Before hoalgof
Entered hgolgof at 2009/07/13-10:42:46
tflag:1
Exiting hgolgof, rc=0 at 2009/07/13-10:42:46
hostmstr: 2956316672: HOA After hoalgof
hostmstr: 2956316672: RPC After Logoff
hostmstr: 2956316672: RPC Before Exit Agent
hostmstr: 2956316672: HOA Before hoaexit
Entered hgoexit at 2009/07/13-10:42:46
Exiting hgoexit, rc=0 at 2009/07/13-10:42:46
hostmstr: 2960150528: HOA After hoaexit
hostmstr: 2960150528: RPC After Exit Agent
If you want the "trace log" of the ODBC, I could send it to you in a further reply.
Thank's -
Oracle heterogeneous connectivity for DB2
Hi,
We want to connect DB2 database with Oracle 8i. We have read that it is possible with Generic connectivity and Transparent gateways.
Any one knows the differece between the two when connecting to DB2?
Which one is simpler if we have to use dblink concept
Thanks,
AjayDear Ajay,
I used heterogenous connectivity to connect to DB2 but it is very very slow. And checked about Oracle gateway to Db2 and came to know that it is also very slow. The next solution was using ODBC to db2 using Forms 6i Patch 13. The connectivity is very good otherwise u can use DB2 Information Integrator software (cost about $20-50 K). If you need any more information please let me know. -
Setting up the environment in WLS 7.0 and deplying?
Hi,
Previously I have used WLS 6.1.
I have set up the properties file and the required folders in the mydomain folder for the classes. It worked fine for me.
Now when I am using WLS 7.02.
This looks complicated. I have seen the documentation, it tells about different folders other than config like stage and server.
My question is can I use the same old environment setting as in 6.1 in 7.02 and deploy the applications as before.
If not, am I missing anything.
If anyone has worked on WLS 7.02, please let me know how you have set up the environment and deplyed the applications.
Thanks in Advance
Rama
[att1.html]"rama" <[email protected]> wrote in message news:[email protected]..
Hi,
Previously I have used WLS 6.1.
I have set up the properties file and the required folders in the mydomain folder for the classes. It worked fine for me.
Now when I am using WLS 7.02.
This looks complicated. I have seen the documentation, it tells about different folders other than config like stage and server.
You dont have to setup anything extra for 7.x deployment. The server and stage directories will take suitable defaults.
See 'Using WebLogic Server 6.x Deployment Protocol' in http://e-docs/wls/docs70/programming/deploying.html
My question is can I use the same old environment setting as in 6.1 in 7.02 and deploy the applications as before.
If not, am I missing anything.
If anyone has worked on WLS 7.02, please let me know how you have set up the environment and deplyed the applications.
Thanks in Advance
Rama
[att1.html] -
Setting up connection pool in MSSQL SERVER 2000
hi,
i m having too much trouble in setting up connection pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...
......so plz guide me how to do that...
TIA
bhupsi m having too much trouble in setting up connection
pool in TOMCAT 5.0.25 for MS SQL SERVER 2000...Never done it for SQL Server, but setting up a connection pool in tomcat is basically the same no matter what DB you're using:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
The two files you're interested in are server.xml and web.xml. You just need to look at the MYSQL and Oracle examples and "tweak" it ... -
Heterogeneous Connectivity to Mysql
Hi Fellows.
I need to connect to a Mysql Database online from Oracle 10G (Create a link) I read some article regarding Heterogeneous Connectivity to other non Oracle Databases without ODBC or DNS. Does anybody has deploy this Oracle feature???? Does Oracle 10G has another choice to connect to other relational databases............If somebody has information to connect to Mysql Database wil be great!!!!
Thanks a lot.!!!!
Emmanuel.I'm still really confused by why you're talking about DNS. DNS is just a mechanism for resolving host names into IP addresses and that happens only at connection time and only if you have specified a host name.
Yes, normally ODBC is not the most efficient API in the world-- it was designed as a least common denominator API and designed with SQL Server in mind. That said, if you want to use Heterogeneous Services, you would either need ODBC, OLE DB, or a Transparent Gateway. If you are under time constraints, I'm going to wager that you don't have the time and budget to go out an purchase a Transparent Gateway. So you'd either have to use ODBC or OLE DB. I do not know if there is a MySQL OLE DB provider that runs on SUSE-- I would tend to doubt it. Which leaves just ODBC, assuming you've got a MySQL ODBC driver that runs on SUSE.
Personally, I've used Generic Connectivity to connect to DB2 and SQL Server databases from an AIX box (using commercial ODBC drivers) and to Excel files from a Windows box. I've never personally connected to a MySQL database, though if you're talking about ODBC connections, it doesn't really matter what database you are connecting to.
Justin -
Heterogeneous Connectivity to SQL Server from 8.0.5
I read many topics in this forum relating to Heterogeneous Services (HS) but cannot find any documentation that details how to 'invoke' an HS connection through ODBC
We need simple connectivity to a SQL-Server DB so there is no need to install Transparent Gateway.
So, how do we invoke a "Heterogeneous Service" call from a SQL*Net script? Do we configure an ODBC connection to the SQL Server in the Win2k ODBC applet first? Then how do we make the 'call' to that ODBC connection?
We saw in some postings that the TNSNAMES & LISTENER files require some entries; what is the format for those entries?Mariano,
You want to use Generic Connectivity to access SQL Server. This is documented in Chap 7 of the Heterogeneous Connectivity Administrator's Guide.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1656
you will need an ODBC/OLE DB driver for sql server.
I hope that helps. -
Setting up test environment for EBS
Hi all !
We have r12 setup on RHEL 5.7 servers with SAN storage and 11.1.0.7 database. What are the best practices for setting up test environment for testing patches, fixes, etc. ? Should the test env be an exact replica of the production setup ? What if we can no more get the same hardware as our prod env now (due to technology enhancements from the vendors, etc.) ?
Thanks in advance !
Regards,
VinodVinodNagpure wrote:
Hi all !
We have r12 setup on RHEL 5.7 servers with SAN storage and 11.1.0.7 database. What are the best practices for setting up test environment for testing patches, fixes, etc. ? Should the test env be an exact replica of the production setup ? What if we can no more get the same hardware as our prod env now (due to technology enhancements from the vendors, etc.) ?
Thanks in advance !
Regards,
VinodYour TEST/Patch instance does not necessarily need to match your production in terms of hardware specs. However, you need to make sure you are running on the same OS and updates. UAT instance is the one that needs to be running on a hardware which is identical (or very close) to production.
Please see old threads for similar topic/discussion.
Re: How many lower levels of Oracle Applications?
https://forums.oracle.com/forums/search.jspa?threadID=&q=+Instances+AND+UAT+AND+Development&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Spawn setting in production environment
Has anyone heard or been told by oracle analyst that Oracle doesn't support spawn setting in production environment?
Answer that I received was enabling spawn can be flaky. The domain may easily hang without explanation and it's always been like that, so we don't support spawn in production.
We have 16 GB of memory
[PSAPPSRV]
Min 10
Max 25
Spawn Threshold=1,30:2,10
According peopletools performance guideline, CRM and HRMS use about 100-150 MB per application server process. We have lots of customization, so I will just bump it up to 250MB. If we are to disable spawn by setting min = max to 25, this means the app server process will constantly use at least 6GB of memory. We should still be able to avoid the memory issue, right? Unless my calculation is wrong...
I would like to hear more opinion and advice here.Hi,
created Asset number ranges-AS08 -
Heterogeneous Connectivity: Error when select data from table
Hi all,
I use Heterogeneous Connectivity in Oracle 10g Linux to connect SQL server Database. I use FeeTDS ODBC driver. After configuration, I create database link in Oracle, Database link is active.
But in SQLplus, I write: select * from all_catalog@DBL; It views all tables and views in sql server database.
When I write: select * from AA@DBL; It produce error:
ORA-00942: table or view does not exist
[Generic Connectivity Using ODBC]Record AA has no fields. Loading failed
ORA-02063: preceding 2 lines from DBL
Please help me. Thank you very much!I am sorry, i did not go through the entire message of yours
Does AA exist, does not contain columns, describe the table please.
Maybe you should not try Select * from ,,,, rather Select specific fields.. Also if in the remote database, the field and tablename are written in lower case you may want to try
select "field_name" , from "aa" etc
ammar sajdi -
Unable to set up connection factory for stand-alone resource adapter
I'm testing out JCA 1.5 in OC4J P4, and I try to register a resource apapter by configuring oc4j-ra.xml like this:
<connector-factory location="MySomething" connector-name="Something">
However, I get the following error:
05/09/28 17:14:24 Notification ==> Warning. Unable to set up connection factory
to location MySomething for a resource adapter deployed as stand-alone.
Is this a bug, or just me?
Would appreciate it if someone knew what was wrong.
Regards
-amLooks like you need to tell us more...
How is your adapter packaged?
Which files are included (deployment descriptors, etc)?
--olaf
Maybe you are looking for
-
How can I add values on a Drop Down by Index Webdynpro Element?
Hi every body Can anybody help me? How can I add values on a Drop Down by Index Webdynpro Element? How can I invoque my element on the Implementation Webdynpro?
-
Would some one explain me in what situation we will be having more than one Data Records in an IDOC? I am looking for a specific example if possible. Also, when we send PO to our Suppliers, if there are more than One PO for that supplier, whether I c
-
In golive I could place pdf and illustrator files. After that Golive asks me what page, whitch qualitiy... I don't see that option in Dreamweaver? Anyone kwons if this is possible?
-
Calling Multiple Normal Screens
Hi All, I have 6 Normal Screens. Now I want to call One by one in sequence. How can it will be possible? In Dialog programing Thanks in Advance
-
Hello Experts, Iu2019m new in dialog programming and need some help. Iu2019ve created few transactions for Display, Change & Create. On my Change transaction Iu2019m checking for material number (Matnr). I want to check if matnr is initial then Displ