Error with DG4ODBC while setting up connectivity from oracle to IBM iSeries AS400 version V7R1

Hi,
I have Enterprise linux 64-bit hosting Oracle 11gR2 64-bit (11.2.0.1) database.  I have access to IBM iSeries AS400 version V7R1.  I am trying to connect to IBM iSeries from Oracle Database through ODBC connectivity using Database Link.  The following is what I have done.
On the Database (Linux) host Installed iSeriesAccess-7.1.0-1.0.x86_64.rpm provided by IBM.
my odbcinst.ini has the following entries:
[PostgreSQL]
Description             = ODBC for PostgreSQL
Driver          = /usr/lib/libodbcpsql.so
Setup           = /usr/lib/libodbcpsqlS.so
FileUsage               = 1
[iSeries Access ODBC Driver]
Description             = iSeries Access for Linux ODBC Driver
Driver          = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup           = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
NOTE1           = If using unixODBC 2.2.11 or later and you want the 32 and 64-bit ODBC drivers to share DSN's,
NOTE2           = the following Driver64/Setup64 keywords will provide that support.
Driver64                = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup64         = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading               = 2
DontDLClose             = 1
UsageCount              = 1
[iSeries Access ODBC Driver 64-bit]
Description             = iSeries Access for Linux 64-bit ODBC Driver
Driver          = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Setup           = /opt/ibm/iSeriesAccess/lib64/libcwbodbcs.so
Threading               = 2
DontDLClose             = 1
UsageCount              = 1
The odbc.ini has the following entries:
[ODBC Data Sources]
dg4odbc = connection to db2
[dg4odbc]
Driver = /opt/ibm/iSeriesAccess/lib64/libcwbodbc.so
Description=iSeries Access for Linux ODBC Driver
LogonID=
Password=
Address=  (IBM host IP Address)
location=Vm520
noprompt=true
system= (IBM host IP Address)
UNICODE=UTF-8
Naming = 0
ConnectionType = 0
CommitMode = 2
ExtendedDynamic = 0
AllowDataCompression = 1
LibraryView = 0
AllowUnsupportedChar = 0
ForceTranslation = 0
Trace = 0
made sure I could connect via ODBC and DSN using the following command:
isql dg4odbc oracle oracle1 -v
+---------------------------------------+
| Connected!                            |
|                                       |
| sql-statement                         |
| help [tablename]                      |
| quit                                  |
|                                       |
+---------------------------------------+
SQL>
SQLRowCount returns -1
600 rows fetched
SQL>
could query the table in a library on AS400.
The $ORACLE_HOME/hs/admin/initdg4odbc.ora has the following entries:
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO = dg4odbc
HS_FDS_TRACE_LEVEL = off
HS_FDS_SHAREABLE_NAME=/etc/newlib/libodbc.so
HS_FDS_TRACE_LEVEL = 255
HS_FDS_SUPPORT_STATISTICS=FALSE
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
# Environment variables required for the non-Oracle system
The listener entries are as follows:
    (SID_DESC =
      (SID_NAME = dg4odbc)
      (ORACLE_HOME = /opt/oracle/dbs/product/11.2.0/dbhome_1)
      (PROGRAM = dg4odbc)
Stopped and started the listener.
The TNS entry is as follows:
armcdb2 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521))
    (CONNECT_DATA =
    (SID=dg4odbc)
    (HS=OK)
Could tnsping :
oracle@rmsdev[/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin]$ tnsping armcdb2
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-JUL-2013 16:01:23
Copyright (c) 1997, 2009, Oracle.  All rights reserved.
Used parameter files:
/opt/oracle/dbs/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = vmw-dev-rmsdb.xxx.vmc)(PORT = 1521)) (CONNECT_DATA = (SID=dg4odbc)) (HS=OK))
OK (0 msec)
created a public database link as follows:
SQL> create database link samplink connect to "oracle" identified by "oracle1" using 'armcdb2';
Database link created.
When I run a select query I get errors as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
408
Below is the Trace file of dg4odbc:
Oracle Corporation --- THURSDAY  JUL 11 2013 16:06:03.627
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY  JUL 11 2013 16:06:03.627
    Version 11.2.0.1.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_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL32UTF8"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
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_RSET_RETURN_ROWCOUNT 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
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dg4odbc"
Product-Info:
  Port Rls/Upd:1/0 PrdStat:0
  Agent:Oracle Database Gateway for ODBC
  Facility:hsa
  Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dg4odbc
Exiting hgogprd, rc=0
hostmstr:          0:   HOA After hoagprd
hostmstr:          0:   HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=871
HOCXU_DRV_NCHAR=873
HOCXU_DB_CSET=871
HOCXU_SEM_VER=112000
Entered hgolofn at 2013/07/11-16:06:03
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/etc/newlib/libodbc.so"
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLAllocHandle
symbol_peflctx=0xaab7c2f0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindCol
symbol_peflctx=0xaab7c9d0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLBindParameter
symbol_peflctx=0xaab7cb6c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLCancel
symbol_peflctx=0xaab7d416
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeParam
symbol_peflctx=0xaab7f7dc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDisconnect
symbol_peflctx=0xaab7f978
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLEndTran
symbol_peflctx=0xaab7fe42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecute
symbol_peflctx=0xaab808ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFetch
symbol_peflctx=0xaab80b5c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeHandle
symbol_peflctx=0xaab816aa
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLFreeStmt
symbol_peflctx=0xaab82144
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetData
symbol_peflctx=0xaab83ad8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetEnvAttr
symbol_peflctx=0xaab84e42
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetFunctions
symbol_peflctx=0xaab84fce
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLMoreResults
symbol_peflctx=0xaab85a0a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLNumResultCols
symbol_peflctx=0xaab85fba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLParamData
symbol_peflctx=0xaab86102
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPutData
symbol_peflctx=0xaab871fc
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLRowCount
symbol_peflctx=0xaab87364
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetEnvAttr
symbol_peflctx=0xaab89054
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescRec
symbol_peflctx=0xaab88e20
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColAttributeW
symbol_peflctx=0xaab7d6ba
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLColumnsW
symbol_peflctx=0xaab7e264
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLConnectW
symbol_peflctx=0xaab7e6b4
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDescribeColW
symbol_peflctx=0xaab7f39e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLDriverConnectW
symbol_peflctx=0xaab7fa9a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLExecDirectW
symbol_peflctx=0xaab805e6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLForeignKeysW
symbol_peflctx=0xaab80de6
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetConnectAttrW
symbol_peflctx=0xaab82714
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescFieldW
symbol_peflctx=0xaab83c76
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDescRecW
symbol_peflctx=0xaab83fbe
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagFieldW
symbol_peflctx=0xaab8448a
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetDiagRecW
symbol_peflctx=0xaab84916
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetInfoW
symbol_peflctx=0xaab85136
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetStmtAttrW
symbol_peflctx=0xaab85456
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLGetTypeInfoW
symbol_peflctx=0xaab8576e
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrepareW
symbol_peflctx=0xaab863b0
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLPrimaryKeysW
symbol_peflctx=0xaab8667c
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProcedureColumnsW
symbol_peflctx=0xaab86a14
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLProceduresW
symbol_peflctx=0xaab86e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetConnectAttrW
symbol_peflctx=0xaab874ac
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetStmtAttrW
symbol_peflctx=0xaab896c8
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLSetDescFieldW
symbol_peflctx=0xaab88b00
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLStatisticsW
symbol_peflctx=0xaab89e64
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Entered hgolofns at 2013/07/11-16:06:03
libname=/etc/newlib/libodbc.so, funcname=SQLTablesW
symbol_peflctx=0xaab8a668
hoaerr:0
Exiting hgolofns at 2013/07/11-16:06:03
Exiting hgolofn, rc=0 at 2013/07/11-16:06:03
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"
Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2013/07/11-16:06:03
hostmstr:          0:   HOA After hoainit
hostmstr:          0:   HOA Before hoalgon
Entered hgolgon at 2013/07/11-16:06:03
reco:0, name:oracle, tflag:0
Entered hgosuec at 2013/07/11-16:06:03
Exiting hgosuec, rc=0 at 2013/07/11-16:06:03
Entered hgopoer at 2013/07/11-16:06:03
hgopoer, line 233: got native error 408 and sqlstate 410; message follows...
408
Exiting hgopoer, rc=0 at 2013/07/11-16:06:03
hgolgon, line 193: calling SQLSetConnectAttr got sqlstate 410
Exiting hgolgon, rc=28500 at 2013/07/11-16:06:03 with error ptr FILE:hgolgon.c LINE:193 FUNCTION:hgolgon() ID:Connection Attribute: TRACE
hostmstr:          0:   HOA After hoalgon
RPC Calling nscontrol(0), rc=0
hostmstr:          0: RPC Before Exit Agent
hostmstr:          0:   HOA Before hoaexit
Entered hgoexit at 2013/07/11-16:06:03
Exiting hgoexit, rc=0
hostmstr:          0:   HOA After hoaexit
hostmstr:          0: RPC After Exit Agent
I have looked up the errors on Oracle forums and could not get any valuable help anywhere.  
Can someone kindly help out where I am going wrong?
Thanks,
Ram.

Hello kgronau,
Thank You very much for your recommendations.  I removed the parameter HS_FDS_TRACE_LEVEL = 255.
I added HS_FDS_FETCH_ROWS=1 and also HS_NLS_NCHAR = UCS2
Tested my sql statement, which yielded the result as follows:
SQL> select * from mdiaz.AREMAIL@samplink;
select * from mdiaz.AREMAIL@samplink
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
㈵″㠵6
SO I thought I would give a try of removing the line HS_NLS_NCHAR = UCS2
and again tested my sql statement and it worked like a charm!!!!
I tested a count(*) and got the results back.
SQL> select count(*) from mdiaz.AREMAIL@samplink;
  COUNT(*)
       600
I really appreciate your valuable pointers and help.
Thanks once again!!!
Ram.

Similar Messages

  • Dblink oracle to postgres with dg4odbc | ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line

    Hi, i'm trying to create database link from a database Oracle 11g to PostgreSQL with DG4ODBC, and unixODBC
    my configured to /etc/odbc.ini
    [PostgreSQL]
    Description = Test to Postgres
    Driver = psqlodbc
    Trace = Yes
    TraceFile = /tmp/sql.log
    Database = danieldb
    Servername =
    UserName = SA
    Password = password
    Port = 5432
    Protocol = 6.4
    ReadOnly = No
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    my configured to /etc/odbcinst.ini
    [ODBC]
    CommLog=1
    Debug=1
    FileUsage=1
    Pooling=No
    Trace=1
    [psqlodbc]
    Description=PostgreSQL ODBC driver
    Driver=/usr/lib64/psqlodbcw.so
    CommLog=1
    Debug=0
    FileUsage=1
    my configured to /u01/app/oracle/product/11.2.0/xe/hs/admin/initPostgreSQL.ora
    HS_FDS_CONNECT_INFO = PostgreSQL
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbcpsql.so
    set ODBCINI=/etc/odbc.ini
    my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
    Listener =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
    SID_LIST_LISTENER =
            (SID_LIST =
                    (SID_DESC=
                            (SID_NAME=PostgreSQL)
                            (ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe)
                            (PROGRAM=dg4odbc)
                            (ENVS="LD_LIBRARY_PATH=/usr/lib64:/u01/app/oracle/product/11.2.0/xe/lib")
    my configured to /u01/app/oracle/product/11.2.0/xe/network/admin/tnsname.ora
    PostgreSQL=
            (DESCRIPTION =
                    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521))
                    (CONNECT_DATA =
                            (SID = PostgreSQL)
                    (HS = OK)
    i'm try to created public database link :
    CREATE PUBLIC DATABASE LINK "orapos" CONNECT TO "SA" IDENTIFIED BY "password" USING 'PostgreSQL';
    when i used tnsping
    [root@oracle-poc admin]# tnsping PostgreSQL
    TNS Ping Utility for Linux: Version 11.2.0.2.0 - Production on 16-MAY-2013 20:34:19
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oracle-poc)(PORT = 1521)) (CONNECT_DATA = (SID = PostgreSQL)) (HS = OK))
    OK (0 msec)
    and last i try to use the database link :
    SQL> select * from "tabel2"@orapos
      2  ;
    select * from "tabel2"@orapos
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from ORAPOS
    Whats wrong with my configuration??
    Thank you and best regards,
    Daniel

    Mike,
    yes i've downloaded the ODBC driver manager..
    for HS_FDS_SHAREABLE_NAME i use /usr/lib/psqlodbc.so
    and i get this error when i call the db link(orpos)
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from ORAPOS
    for HS_FDS_SHAREABLE_NAME = /usr/lib64/psqlodbcw.so
    and i get this error when i call the db link(orpos)
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    c
    and when i used isql isql to call DNS(PostgreSQL) is success
    whats wrong with my config?
    about PostGres ODBC did you mean postgresql-odbc-08.04.0200-1.el6.x86_64 ??
    Thank you and best regards,
    Daniel

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this

    Hi ALL<
    Please assist i am doing heterogeneous connectivity as oracle to sql server the below error encounterd after created db link.
    SQL> select * from SqlTest@jadoo;
    select * from SqlTest@jadoo
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-28541: Error in HS init file on line 20.
    ORA-02063: preceding 2 lines from JADOO

    Hi,
    my dg4odbc.ora is as below:
    $ cat initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mssqlserver
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/opt/ibm/WSII/odbc/ddl/lib/FRmsss21.so
    # ODBC specific environment variables
    set ODBCINI=/usr/opt/ibm/WSII/odbc/ddl/odbc.ini
    # Environment variables required for the non-Oracle system
    set <envvar>=<value>
    $
    MY odbc.ini file is as :
    $ cat odbc.ini
    [ODBC Data Sources]
    DB2 Wire Protocol=DataDirect 5.1 DB2 Wire Protocol
    Informix Wire Protocol=DataDirect 5.1 Informix Wire Protocol
    Oracle Wire Protocol=DataDirect 5.0 Oracle Wire Protocol
    Oracle=DataDirect 5.1 Oracle
    SQLServer Wire Protocol=DataDirect 5.1 SQL Server Wire Protocol
    Sybase Wire Protocol=DataDirect 5.1 Sybase Wire Protocol
    mssqlserver=MS SQL Server 2008
    [DB2 Wire Protocol]
    Driver=/home2/alesio/odbc64v51/lib/dddb221.so
    Description=DataDirect 5.1 DB2 Wire Protocol
    AddStringToCreateTable=
    AlternateID=
    AlternateServers=
    ApplicationUsingThreads=1
    CatalogSchema=
    CharsetFor65535=0
    #Collection applies to OS/390 and AS/400 only
    Collection=
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    #Database applies to DB2 UDB only
    Database=<database_name>
    DynamicSections=200
    GrantAuthid=PUBLIC
    GrantExecute=1
    IpAddress=<DB2_server_host>
    LoadBalancing=0
    #Location applies to OS/390 and AS/400 only
    Location=<location_name>
    LogonID=
    Password=
    PackageOwner=
    ReportCodePageConversionErrors=0
    SecurityMechanism=0
    TcpPort=<DB2_server_port>
    UseCurrentSchema=1
    WithHold=1
    [Informix Wire Protocol]
    Driver=/home2/alesio/odbc64v51/lib/ddifcl21.so
    Description=DataDirect 5.1 Informix Wire Protocol
    AlternateServers=
    ApplicationUsingThreads=1
    CancelDetectInterval=0
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=<database_name>
    HostName=<Informix_host>
    LoadBalancing=0
    LogonID=
    Password=
    PortNumber=<Informix_server_port>
    ReportCodePageConversionErrors=0
    ServerName=<Informix_server>
    TrimBlankFromIndexName=1
    [Oracle Wire Protocol]
    Driver=/home2/alesio/odbc64v51/lib/ddora21.so
    Description=DataDirect 5.1 Oracle Wire Protocol
    AlternateServers=
    ApplicationUsingThreads=1
    ArraySize=60000
    CachedCursorLimit=32
    CachedDescLimit=0
    CatalogIncludesSynonyms=1
    CatalogOptions=0
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    DefaultLongDataBuffLen=1024
    DescribeAtPrepare=0
    EnableDescribeParam=0
    EnableNcharSupport=0
    EnableScrollableCursors=1
    EnableStaticCursorsForLongData=0
    EnableTimestampWithTimeZone=0
    HostName=<Oracle_server>
    LoadBalancing=0
    LocalTimeZoneOffset=
    LockTimeOut=-1
    LogonID=
    Password=
    PortNumber=1521
    ProcedureRetResults=0
    ReportCodePageConversionErrors=0
    ServiceType=0
    ServiceName=
    SID=<Oracle_SID>
    TimeEscapeMapping=0
    UseCurrentSchema=1
    [Oracle]
    Driver=/home2/alesio/odbc64v51/lib/ddor821.so
    Description=DataDirect 5.1 Oracle
    AlternateServers=
    ApplicationUsingThreads=1
    ArraySize=60000
    CatalogIncludesSynonyms=1
    CatalogOptions=0
    ClientVersion=9iR2
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    DefaultLongDataBuffLen=1024
    DescribeAtPrepare=0
    EnableDescribeParam=0
    EnableNcharSupport=0
    EnableScrollableCursors=1
    EnableStaticCursorsForLongData=0
    EnableTimestampWithTimeZone=0
    LoadBalancing=0
    LocalTimeZoneOffset=
    LockTimeOut=-1
    LogonID=
    OptimizeLongPerformance=0
    Password=
    ProcedureRetResults=0
    ReportCodePageConversionErrors=0
    ServerName=<Oracle_server>
    TimestampEscapeMapping=0
    UseCurrentSchema=1
    [SQLServer Wire Protocol]
    Driver=/home2/alesio/odbc64v51/lib/ddmsss21.so
    Description=DataDirect 5.1 SQL Server Wire Protocol
    Address=<SQLServer_host, SQLServer_server_port>
    AlternateServers=
    AnsiNPW=Yes
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    Database=<database_name>
    LoadBalancing=0
    LogonID=
    Password=
    QuotedId=No
    ReportCodePageConversionErrors=0
    [Sybase Wire Protocol]
    Driver=/home2/alesio/odbc64v51/lib/ddase21.so
    Description=DataDirect 5.1 Sybase Wire Protocol
    AlternateServers=
    ApplicationName=
    ApplicationUsingThreads=1
    ArraySize=50
    Charset=
    ConnectionRetryCount=0
    ConnectionRetryDelay=3
    CursorCacheSize=1
    Database=<database_name>
    DefaultLongDataBuffLen=1024
    EnableDescribeParam=0
    EnableQuotedIdentifiers=0
    InitializationString=
    Language=
    LoadBalancing=0
    LogonID=
    NetworkAddress=<Sybase_host, Sybase_server_port>
    OptimizePrepare=1
    PacketSize=0
    Password=
    RaiseErrorPositionBehavior=0
    ReportCodePageConversionErrors=0
    SelectMethod=0
    TruncateTimeTypeFractions=0
    WorkStationID=
    [mssqlserver]
    Driver=/usr/opt/ibm/WSII/odbc/ddl/lib/FRmsss21.so
    Description=MS SQL Server Driver for AIX
    Database=TraceTest
    LogonID=TraceAdmin
    Password=sqltest@123$
    Address=10.10.1.92\MSSQL2008
    QuotedId=YES
    QEWSD=41143
    AnsiNPW=YES
    [ODBC]
    IANAAppCodePage=4
    InstallDir=/usr/opt/ibm/WSII/odbc/ddl
    Trace=0
    TraceDll=/usr/opt/ibm/WSII/odbc/dd/lib/odbctrac.so
    TraceFile=odbctrace.out
    UseCursorLib=0
    $
    Please advise.
    Best Regards,
    Edited by: user13707876 on 23-Aug-2012 04:54

  • ORA-28500: connection from ORACLE to a non-Oracle system returned

    Hi All,
    My database is in 10.2.0.4 and has a dblink to sqlserver. The dblink works fine for normal queries.
    However when executing the following query from my oracle database
    SELECT ROWNUM, "ad2_id", my_name, "data"
    FROM "abc"@xyz.com
    WHERE "startDateTime" > (TO_DATE ('20100120', 'YYYYMMDD') - 1)
    AND "startDateTime" < TO_DATE ('20100120', 'YYYYMMDD')
    AND ROWNUM < 101
    I am getting the following error
    Note : Line 8 is "startDateTime" > (TO_DATE ('20100120', 'YYYYMMDD') - 1)
    ERROR at line 8:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from xyz
    Note:
    1.data is of datatype VARCHARN(1000) and if we ignore that field I am able to get the output
    2. If I give the StartDateTime to a value without using to_date I am able to get the output.
    Could you please tell me what could be the problem ?
    Thanks in advance.

    user12061473 wrote:
    If the edit masks doesn't match how come I am able to get output for the below query
    SELECT ROWNUM, "ad2_id", my_name, "data"
    FROM "abc"@xyz.com
    WHERE "startDateTime" < TO_DATE ('20100120', 'YYYYMMDD')
    AND ROWNUM < 101
    The problem as far as I am know is if I try to select data and use both the where clauses I am getting the error.
    Which is
    SELECT ROWNUM, "ad2_id", my_name, "data"
    FROM "abc"@xyz.com
    WHERE "startDateTime" > (TO_DATE ('20100120', 'YYYYMMDD') - 1)
    AND "startDateTime" < TO_DATE ('20100120', 'YYYYMMDD')
    AND ROWNUM < 101
    Error
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from xyzThat's a different error. The error you posted above was
    "ORA-01861:literal does not match format string"which my posts addressed.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from xyzis an entirely different message, related not to date formats but what looks like a distributed query. Unfortunately I am getting
    No Response from Application Web Server
    There was no response from the application web server for the page you requested.
    Please notify the site's webmaster and try your request again later. when I look up ORA-28500 and ORA-02063 in the on-line documentation right now :(
    Is your database connect string correct? The ones I use don't have .com attached to them.

  • SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has be

    Hello, I have a sql 2005 server, and I am a developer, with the database on my own machine.  It alwayws works for me but after some minutes the other developer cant work in the application
    He got this error
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: 192.168.1.140]
    and When I see the log event after that error, it comes with another error.
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: 192.168.1.140]
    He has IIS5 and me too.
    I created a user on the domain called ASPSYS with password, then in the IIS on anonymous authentication I put that user with that password, and it works, on both machines.
    and in the connection string I have.
    <add key="sqlconn" value="Data Source=ESTACION15;Initial Catalog=GescomDefinitiva;Integrated Security=SSPI; Trusted_Connection=true"/>
    I go to the profiler, and I see that when he browses a page, the database is accesed with user ASPSYS, but when I browse a page, the database is accesed with user SE\levalencia.
    Thats strange.
    The only way that the other developer can work again on the project is to restart the whole machine. He has windows xp profession, I have windows 2000.
    If you want me to send logs please tellme

    Well here's my problem, maybe you can help. Intermittenly I get a login failed when connecting to a db engine through Server Management Studio using Windows authentication. When this happens the following entries are generated on the server's application event log:
    Event Type:        Error
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              17806
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    SSPI handshake failed with error code 0x8009030c while establishing a connection with integrated security; the connection has been closed. [CLIENT: <ip address>]
    Event Type:        Failure Audit
    Event Source:    MSSQLSERVER
    Event Category:                (4)
    Event ID:              18452
    Date:                     1/14/2009
    Time:                     10:41:31 AM
    User:                     N/A
    Computer:          <server name>
    Description:
    Login failed for user ''. The user is not associated with a trusted SQL Server connection. [CLIENT: <ip address>]
    I've already ensured that the server is set to mixed authentication mode. Oddly enough, the workaround that I've found is that if I remote desktop into the server, log in and then log back out, Management Studio is suddenly able to connect again. No idea why it works. 
    As I said before, it is intermitten. Some days it errors on login, other days it doesn't and there are no configuration changes between them. Also, both client and server are in the same domain and same site so there is no VPN or anything in between. I'm really quite stumped. Any help would be great, or if you can point me in the right direction of where to look. Thank you in advance!

  • Application Deployment in Managed Node Failed with the error - ERROR   - Caught exception while looking up Connection Factory with JNDI Name: java:comp/env/eis/PRAdapterConnectionFactory, javax.naming.ServiceUnavailableException [Root exception is java.ne

    2013-06-24 21:16:28,551 [bxapp2.healthnet.com] [  STANDARD] [                    ] (l.access.RuleCandidateIterator) INFO    - Single candidate rule resolution optimization is enabled
    Error retrieving JNDI initial context:
    2013-06-24 21:16:28,952 [bxapp2.healthnet.com] [  STANDARD] [                    ] (    pegarules.resadap.RAClient) ERROR   - Caught exception while looking up Connection Factory with JNDI Name: java:comp/env/eis/PRAdapterConnectionFactory, javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
    javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.pega.pegarules.priv.util.JNDIUtil.getInitialContext(JNDIUtil.java:106)
    at com.pega.pegarules.priv.util.JNDIUtil.lookupUsingRealContextClassLoader(JNDIUtil.java:128)
    at com.pega.pegarules.resadap.RAClient.init(RAClient.java:102)
    at com.pega.pegarules.resadap.RAClient.<init>(RAClient.java:84)
    at com.pega.pegarules.resadap.RAClientContainer.get(RAClientContainer.java:47)
    at com.pega.pegarules.session.internal.async.BatchUtils.callRAClient(BatchUtils.java:146)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.callRAClient(ListenerWrapper.java:358)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:233)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startOneListener(ListenerStateManagerImpl.java:713)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startServiceTypeListeners(ListenerStateManagerImpl.java:464)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startListenerType(ListenerStateManagerImpl.java:423)
    at com.pega.pegarules.integration.engine.internal.PRIntegrationEngineProviderImpl.initServices(PRIntegrationEngineProviderImpl.java:166)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.initServices(PREnvironment.java:620)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:522)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:379)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1516)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:619)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)
    at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.doStartup(EngineBean.java:120)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
    at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.doStartup(EngineBeanBoot.java:130)
    at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.doStartup(EngineBMT_h449u3_ELOImpl.java:124)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:259)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
    at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.UnknownHostException: Unknown protocol: 'TCP'
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
    ... 94 more
    2013-06-24 21:16:28,952 [bxapp2.healthnet.com] [  STANDARD] [                    ] (tener.ListenerStateManagerImpl) ERROR   - Unexpected exception.
    java.lang.NullPointerException
    at com.pega.pegarules.session.internal.async.BatchUtils.callRAClient(BatchUtils.java:150)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.callRAClient(ListenerWrapper.java:358)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerWrapper.launchListener(ListenerWrapper.java:233)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startOneListener(ListenerStateManagerImpl.java:713)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startServiceTypeListeners(ListenerStateManagerImpl.java:464)
    at com.pega.pegarules.integration.engine.internal.services.listener.ListenerStateManagerImpl.startListenerType(ListenerStateManagerImpl.java:423)
    at com.pega.pegarules.integration.engine.internal.PRIntegrationEngineProviderImpl.initServices(PRIntegrationEngineProviderImpl.java:166)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.initServices(PREnvironment.java:620)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:522)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:379)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1516)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:619)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)
    at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.doStartup(EngineBean.java:120)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
    at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.doStartup(EngineBeanBoot.java:130)
    at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.doStartup(EngineBMT_h449u3_ELOImpl.java:124)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:259)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
    at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2013-06-24 21:16:28,956 [bxapp2.healthnet.com] [  STANDARD] [                    ] (          internal.async.Agent) INFO    - Agents will be executed via the enterprise tier.
    2013-06-24 21:16:28,956 [bxapp2.healthnet.com] [  STANDARD] [                    ] (          internal.async.Agent) INFO    - Passivation will be done on a per-page basis.
    2013-06-24 21:16:30,023 [bxapp2.healthnet.com] [  STANDARD] [                    ] (    pegarules.resadap.RAClient) ERROR   - Caught exception while looking up Connection Factory with JNDI Name: java:comp/env/eis/PRAdapterConnectionFactory, javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
    javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'TCP']
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:787)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:368)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:175)
    at com.pega.pegarules.priv.util.JNDIUtil.getInitialContext(JNDIUtil.java:106)
    at com.pega.pegarules.priv.util.JNDIUtil.lookupUsingRealContextClassLoader(JNDIUtil.java:128)
    at com.pega.pegarules.resadap.RAClient.init(RAClient.java:102)
    at com.pega.pegarules.resadap.RAClient.<init>(RAClient.java:84)
    at com.pega.pegarules.resadap.RAClientContainer.get(RAClientContainer.java:47)
    at com.pega.pegarules.session.internal.async.BatchUtils.callRAClient(BatchUtils.java:146)
    at com.pega.pegarules.monitor.internal.UsageDaemonImpl.initialize(UsageDaemonImpl.java:546)
    at com.pega.pegarules.session.internal.async.Agent.start(Agent.java:1400)
    at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.startNode(PRNodeImpl.java:1520)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:533)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:379)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1516)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:619)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)
    at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.doStartup(EngineBean.java:120)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
    at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.doStartup(EngineBeanBoot.java:130)
    at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.doStartup(EngineBMT_h449u3_ELOImpl.java:124)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:259)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
    at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.UnknownHostException: Unknown protocol: 'TCP'
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:216)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:197)
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238)
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:200)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:353)
    ... 84 more
    2013-06-24 21:16:30,038 [bxapp2.healthnet.com] [  STANDARD] [                    ] (      etier.impl.EngineStartup) ERROR   - PegaRULES initialization failed. Server: pg-sbxapp2.healthnet.com
    com.pega.pegarules.pub.context.InitializationFailedError: PRNodeImpl init failed
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:387)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1516)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:619)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
    at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)
    at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.doStartup(EngineBean.java:120)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
    at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.doStartup(EngineBeanBoot.java:130)
    at com.pega.pegarules.internal.etier.ejb.EngineBMT_h449u3_ELOImpl.doStartup(EngineBMT_h449u3_ELOImpl.java:124)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:259)
    at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:167)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
    at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
    at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: com.pega.pegarules.pub.PRRuntimeException: Method Invocation exception
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1045)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:765)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:379)
    ... 60 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1043)
    ... 62 more
    Caused by: java.lang.NullPointerException
    at com.pega.pegarules.session.internal.async.BatchUtils.callRAClient(BatchUtils.java:150)
    at com.pega.pegarules.monitor.internal.UsageDaemonImpl.initialize(UsageDaemonImpl.java:546)
    at com.pega.pegarules.session.internal.async.Agent.start(Agent.java:1400)
    at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.startNode(PRNodeImpl.java:1520)
    at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:533)
    ... 67 more
    2013-06-24 21:16:30,051 [bxapp2.healthnet.com] [  STANDARD] [                    ] (      etier.impl.EngineStartup) INFO    - PegaRULES initialization failed. Server: pg-sbxapp2.healthnet.com
    2013-06-24 21:16:30,164 [bxapp2.healthnet.com] [  STANDARD] [                    ] (ervlet.WebAppLifeCycleListener) ERROR   - Enterprise tier failed to initialize properly, PegaRULES not available
    2013-06-24 21:16:30,190 [bxapp2.healthnet.com] [  STANDARD] [                    ] (ervlet.WebAppLifeCycleListener) INFO    - Web Tier initialization is complete.
    <Jun 24, 2013 9:16:30 PM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Jun 24, 2013 9:16:30 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jun 24, 2013 9:16:30 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jun 24, 2013 9:16:30 PM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 167.238.162.41:8008 for protocols iiop, t3, ldap, snmp, http.>
    <Jun 24, 2013 9:16:30 PM PDT> <Notice> <WebLogicServer> <BEA-000330> <Started WebLogic Managed Server "pegamanaged2" for domain "sbxdomain8" running in Production Mode>
    <Jun 24, 2013 9:16:31 PM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jun 24, 2013 9:16:31 PM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Greetings,
    javax.naming.NameNotFoundException. Root exception is
    org.omg.CosNaming.NamingContextPackage.NotFound
    =================
    Below is the line of my LoginServlet class which is
    referred to in the stack trace - Object object =
    context.lookup
                        ( "java:comp/env/ejb/WarehouseClerk" );The root of the naming context is 'java:comp/env' and this is where lookup automatically begins for EJBs and resources. IOW, by specifying "java:comp/env/ejb/WarehouseClerk" as the EJB lookup name the server is actually treating this as "java:comp/env/java:comp/env/ejb/WarehouseClerk". Specify only the ejb context ("ejb/WarehouseClerk") in your lookup and you should be fine.
    Any help would be most appreciated.
    SeanRegards,
    Tony "Vee Schade" Cook

  • How do I troubleshoot "A non-SQL error occurred while requesting a connection from DSN ." errors?

    Hello,
    Last week we began seeing some timeout errors, but today there have been much more of them and I’m not sure how to proceed in troubleshooting.
    We have 2 load balanced app servers:
    Windows Server 2008 R2 (virtualized)
    ColdFusion 8, Enterprise
    And a database server:
    Windows Server 2008 R2
    SQL 2012
    The error in “coldfusion-out.log” is:
    A non-SQL error occurred while requesting a connection from <DSN>.
    Timed out trying to establish connection
    This only happens on one of the web servers, but it happens more frequently when the app servers is under a heavier load. Most of the day it works fine, but 4 or 5 times throughout the day we will have 1 – 15 requests timeout in a row(always varies), and then things will be fine again w/out restarting or doing anything.
    The database server is much more powerful than the app server, and I don't believe the issue involves long running queries or the DB server being under heavy load.
    I’m a DBA who is temporarily handling System Admin responsibilities, and I’m not sure how to further trouble shoot this. I just started some pings going from the app server to the database using IP and the listeners name. How else can I prepare for the next time it happens. What other logs should I be looking at to gain some insight? Are there PerfMon counters I could use to help troubleshoot?
    Thanks for your help!

    I've had several timeout since the pings were started. Got a some response times > 1ms (nothing greater than 7 or 8ms), but no timeouts.

  • Error While Querying DB Link from Oracle 10g to Postgres 8.2

    Hi,
    I have installed unixodbc 2.3.1, postgres odbc driver (psqlodbc-07.03) and dg4odbc 11.2
    On querying : select sysdate from dual@dblink_postgresql, the following error occurs:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found {01000}
    ORA-02063: preceding 2 lines from DBLINK_POSTGRES
    Similar error appears in the trace file as well.
    [unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a'
    $ isql -v postgresql postgres postgres@2012
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/libpsqlodbc.a' : file not found
    [ISQL]ERROR: Could not SQLConnect
    However the file is present in the location and has no permission related problems.
    $ pwd
    /oracle/psqlodbc/lib
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rw-r--r-- 1 oracle oinstall 731419 Mar 25 15:28 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Mar 25 22:11 win_md5.o
    -rw-r--r-- 1 oracle oinstall 18100 Mar 25 22:11 options.o
    -rw-r--r-- 1 oracle oinstall 13196 Mar 25 22:11 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Mar 25 22:11 lobj.o
    -rw-r--r-- 1 oracle oinstall 122442 Mar 25 22:11 info.o
    -rw-r--r-- 1 oracle oinstall 26464 Mar 25 22:11 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Mar 25 22:11 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Mar 25 22:11 drvconn.o
    -rw-r--r-- 1 oracle oinstall 83758 Mar 25 22:11 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Mar 25 22:11 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Mar 25 22:11 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Mar 25 22:11 bind.o
    -rw-r--r-- 1 oracle oinstall 3768 Mar 25 22:11 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Mar 25 22:11 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Mar 25 22:11 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Mar 25 22:11 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Mar 25 22:11 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Mar 25 22:11 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Mar 25 22:11 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Mar 25 22:11 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Mar 25 22:11 parse.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Mar 25 22:11 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Mar 25 22:11 multibyte.o
    -rw-r--r-- 1 oracle oinstall 706 Mar 25 22:11 info30.o
    -rw-r--r-- 1 oracle oinstall 5972 Mar 25 22:11 gpps.o
    -rw-r--r-- 1 oracle oinstall 37546 Mar 25 22:11 dlg_specific.o
    My odbc.ini and init4dg4odbc looks like below:
    $ pg odbc.ini
    [postgresql]
    Description = Test to Postgres
    Driver = /oracle/psqlodbc/lib/libpsqlodbc.a
    Trace = Yes
    TraceFile = postgres.log
    Database = postgres
    Servername = TCLDSAPORTUAT
    UserName = postgres
    Password = postgres@2012
    Port = 5432
    Protocol = TCP
    ReadOnly = Yes
    RowVersioning = No
    ShowSystemTables = No
    ShowOidColumn = No
    FakeOidIndex = No
    $ pg initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = postgresql
    HS_FDS_TRACE_LEVEL = DEBUG
    HS_FDS_SHAREABLE_NAME = /oracle/unixodbc64/lib/libodbc.so
    # ODBC specific environment variables
    set ODBCINI=/oracle/unixodbc64/etc/odbc.ini
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    I found similar threads in the forum but could not find solution for this problem.
    Please help to resolve this issue.
    Thanks,
    Akanksha
    Edited by: 996208 on Mar 26, 2013 5:35 AM

    Hi Mike,
    I used the truss option for diagnosis, the output is really long and shows the same error at the end of execution:
    $truss isql -v postgresql postgres postgres@2012
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    access("/usr/lib/nls/msg/en_US/execerr.cat", 0) = 0
    _getpid()                                       = 27262980
    kopen("/usr/lib/nls/msg/en_US/execerr.cat", O_RDONLY) = 3
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kfcntl(3, F_SETFD, 0x0000000000000001) = 0
    kioctl(3, 22528, 0x0000000000000000, 0x0000000000000000) Err#25 ENOTTY
    kread(3, "\0\001 ù\001\001 I S O 8".., 4096) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    _getpid()                                       = 27262980
    lseek(3, 0, 1) = 4096
    lseek(3, 4639, 0) = 4639
    kread(3, "\t 0 5 0 9 - 1 9 4 E x".., 4096) = 1686
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    getuidx(4) = 207
    getuidx(2) = 207
    getuidx(1) = 207
    getgidx(4) = 203
    getgidx(2) = 203
    getgidx(1) = 203
    kload("/usr/lib/nls/loc/en_US__64", 17301632, "/oracle/unixodbc64/lib") = 648518346072918576
    kioctl(1, 22528, 0x0000000000000000, 0x0000000000000000) = 0
    [01000][unixODBC][Driver Manager]Can't open lib '/oracle/psqlodbc/lib/psqlodbc.o' : file not found
    kwrite(1, " [ 0 1 0 0 0 ] [ u n i x".., 99)     = 99
    [ISQL]ERROR: Could not SQLConnect
    kwrite(2, " [ I S Q L ] E R R O R :".., 34) = 34
    kfcntl(1, F_GETFL, 0x0000000010DF0051) = 67110914
    kfcntl(2, F_GETFL, 0x0000000010DF0051) = 67110914
    _exit(1)
    Do I need to install postgres software also?
    While installing postgres odbc driver in /oracle/psqlodbc only two folders were created viz. lib and share
    In lib folder two files were created viz. psqlodbc.la and libpsqlodbc.a
    And everybody on the net seems to refer psqlodbc.so in the "Driver = " parameter
    Today, I extracted the libpsqlodbc.a by using ar -X 64 -xv libpsqlodbc.a again, still no file with .so has been created.
    $ ls -lrt
    total 2952
    -rwxr-xr-x 1 oracle oinstall 663 Mar 25 15:28 psqlodbc.la
    -rwxr-xr-x 1 oracle oinstall 731419 Mar 28 13:51 libpsqlodbc.a
    -rw-r--r-- 1 oracle oinstall 12215 Apr 01 13:50 win_md5.o
    -rw-r--r-- 1 oracle oinstall 3768 Apr 01 13:50 tuplelist.o
    -rw-r--r-- 1 oracle oinstall 2816 Apr 01 13:50 tuple.o
    -rw-r--r-- 1 oracle oinstall 36770 Apr 01 13:50 statement.o
    -rw-r--r-- 1 oracle oinstall 10490 Apr 01 13:50 socket.o
    -rw-r--r-- 1 oracle oinstall 74140 Apr 01 13:50 results.o
    -rw-r--r-- 1 oracle oinstall 22686 Apr 01 13:50 qresult.o
    -rw-r--r-- 1 oracle oinstall 1977 Apr 01 13:50 psqlodbc.o
    -rw-r--r-- 1 oracle oinstall 25893 Apr 01 13:50 pgtypes.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 pgapi30.o
    -rw-r--r-- 1 oracle oinstall 34071 Apr 01 13:50 parse.o
    -rw-r--r-- 1 oracle oinstall 18100 Apr 01 13:50 options.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 odbcapi30.o
    -rw-r--r-- 1 oracle oinstall 41540 Apr 01 13:50 odbcapi.o
    -rw-r--r-- 1 oracle oinstall 11601 Apr 01 13:50 multibyte.o
    -rw-r--r-- 1 oracle oinstall 13196 Apr 01 13:50 misc.o
    -rw-r--r-- 1 oracle oinstall 4234 Apr 01 13:50 lobj.o
    -rw-r--r-- 1 oracle oinstall 706 Apr 01 13:50 info30.o
    -rw-r--r-- 1 oracle oinstall 122442 Apr 01 13:50 info.o
    -rw-r--r-- 1 oracle oinstall 5972 Apr 01 13:50 gpps.o
    -rw-r--r-- 1 oracle oinstall 26464 Apr 01 13:50 execute.o
    -rw-r--r-- 1 oracle oinstall 22070 Apr 01 13:50 environ.o
    -rw-r--r-- 1 oracle oinstall 8633 Apr 01 13:50 drvconn.o
    -rw-r--r-- 1 oracle oinstall 37546 Apr 01 13:50 dlg_specific.o
    -rw-r--r-- 1 oracle oinstall 83758 Apr 01 13:50 convert.o
    -rw-r--r-- 1 oracle oinstall 62529 Apr 01 13:50 connection.o
    -rw-r--r-- 1 oracle oinstall 5685 Apr 01 13:50 columninfo.o
    -rw-r--r-- 1 oracle oinstall 19724 Apr 01 13:50 bind.o
    Thanks,
    Akanksha

  • Considering upgrading from CF8 up to CF11... notice in the CF11 support matrix that Sybase Adaptive Server Enterprise 15.0, 15.5  is not supported.  While we primarily connect to Oracle DB, we do need to connect to Sybase DBs periodically. Is the plan to

    Considering upgrading from CF8 up to CF11... notice in the CF11 support matrix that Sybase Adaptive Server Enterprise 15.0, 15.5  is not supported.  While we primarily connect to Oracle DB, we do need to connect to Sybase DBs periodically.
    Is the plan for CF11 to support Sybase again in the near future?

    Did you ever get a response? I'm merely trying to connect to a Sybase database - and it gives me a java.sql.SQLException:null  error - with no other information.
    I'm running the server on Ubuntu 14.x, 64bit.
    Thanks.

  • Error, while pushing the data from Oracle to MSSQL.

    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.

    [email protected] wrote:
    Hi,
    I am facing the below error, while pushing the data from Oracle to MSSQL.
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Update or insert of view or function 'View_Name' failed because it contains a derived or constant field.[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepared. (SQL State: 00000; SQL Code: 8180)
    Please suggest me, how to overcome from this.
    Thanks.This is an error from SQL Server being passed back to Oracle so you can see the problem.
    What it is saying is that you are trying to insert (or update) data to a database view and that view contains a column that is either a constant (literal) value or is derived (a calculation, formula or string concatenation etc.).
    As such, you can't insert or update data on that column because it has nowhere to go on the database table(s) that underly the view.

  • An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server)

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named
    Pipes Provider, error: 40 - Could not open a connection to SQL Server)
    Hello,
    Make sure your SQL Server service is started.
    Make sure TCP\IP and names pipes protocol is enabled
    Make sure you have made an exception in firewall for SQL Server connection
    Make sure SQL Server browser service is enabled
    Make sure you connect with correct name hostname\instance name for named instance,MSSQLSERVER for default instance and Hotname\SQLEXPRESS for express edition.
    Please make sure you use port no when connecting to SQL server listeing on different port (hostname\instance ,portno)
    http://blogs.msdn.com/sql_protocols/archive/2006/09/30/SQL-Server-2005-Remote-Connectivity-Issue-TroubleShooting.aspx
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • SQL Server Agent Log showing errors [298] SQLServer Error: 10061, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL

    Hi All,
    I have started receiving this error in the logs for the last 10 days and the Schedules Jobs for the database have stopped running. My MS CRM application is working fine.
    Can anyone guide me what could be the problem.
    Date                      17/4/2014 2:04:20 PM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct
    and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
    Date                      17/4/2014 2:11:55 PM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error
    has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online. [SQLSTATE 08001]
    Date                      7/4/2014 11:00:31 AM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error
    has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online. [SQLSTATE 08001]

    Check this link
    http://social.msdn.microsoft.com/Forums/en-US/906da9b5-2482-468c-a424-ae099da2d96b/sql-server-agent-service-account-error?forum=sqlsetupandupgrade
    Regards, RSingh

  • HT4060 My USB charger is not supporting while i am connecting from PC to iPad for charging (showing as " Not Charging"), Kindly advice me

    My USB charger is not supporting while i am connecting from PC to iPad for charging (showing as " Not Charging"), Kindly advice me

    Hi Folks,
    I have tried most of what have been said here ( thank you for the great Job) but unforunatally it didn't solve the issue.
    However, now the "Not Charging" message in the right corner disappeared and my iPad is charging normally from my laptop.
    The reason behind that is using the USB3.0 port in my Dell inspiron N5110. Earlier, I was using the USB 2.0  ports and that is why it was showing that message but as sooon as I pluged it in the eSATA USB 3.0 port , the message disapeared and the iPad started charging normally.
    So don't waste ur time here and there try to plug it to USB 3.0 port and it will works, Insha ALLAH.
    Cheers
    KoRn

  • Problem connecting from Oracle to MS Excel - 64 bit

    Hello,
    I have problem connecting to excel from oracle 11.2 using DG4ODBC.
    OS - Windows 7 - 64 bit
    Database version :- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit
    Created System DSN using ODBC:
    Data Source Name = test12
    Oracle home Path :- D:\app\11g64db\product\11.2.0\dbhome_1
    Content of initdg4odbc.ora file :
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = test12
    HS_FDS_TRACE_LEVEL = 255
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Content of listener.ora:
    # listener.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = vis)
          (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
          (SID_NAME = vis)
        (SID_DESC =
          (PROGRAM = dg4odbc)
          (SID_NAME = dg4odbc)
          (ORACLE_HOME = D:\app\11g64db\product\11.2.0\dbhome_1)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = D:\app\11g64db
    Content of tnsnames.ora:
    # tnsnames.ora Network Configuration File: D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    excel_test =
       (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
        (CONNECT_DATA=(SID=dg4odbc))
        (HS=OK)
    VIS =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = vis)
    Listener status
    LSNRCTL for 64-bit Windows: Version 11.2.0.4.0 - Production on 29-AUG-2014 13:56
    :11
    Copyright (c) 1991, 2013, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.4.0 - Produ
    ction
    Start Date                29-AUG-2014 13:34:58
    Uptime                    0 days 0 hr. 21 min. 12 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\app\11g64db\product\11.2.0\dbhome_1\network\admin\l
    istener.ora
    Listener Log File         D:\app\11g64db\diag\tnslsnr\Est-Subramanya\listener\al
    ert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "dg4odbc" has 1 instance(s).
      Instance "dg4odbc", status UNKNOWN, has 1 handler(s) for this service...
    Service "vis" has 2 instance(s).
      Instance "vis", status UNKNOWN, has 1 handler(s) for this service...
      Instance "vis", status READY, has 1 handler(s) for this service...
    Service "visXDB" has 1 instance(s).
      Instance "vis", status READY, has 1 handler(s) for this service...
    The command completed successfully
    DB Link:
    CREATE PUBLIC DATABASE LINK TEST123 USING 'excel_test';
    error while querying the data:
    select * from test@test123;
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    ORA-02063: preceding line from TEST123
    28500. 00000 -  "connection from ORACLE to a 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.
    Error at Line: 1 Column: 20
    Appreciate the help in advance............
    Thanks...

    Also HS log file showed error.. Below are the contents of the trace file:
    Oracle Corporation --- FRIDAY    AUG 29 2014 14:01:06.212
    Heterogeneous Agent Release
    11.2.0.4.0
    Oracle Corporation --- FRIDAY    AUG 29 2014 14:01:06.211
        Version 11.2.0.4.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_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    setting HS_NLS_NCHAR to default of "UCS2"
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    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_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC 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"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dg4odbc"
    Product-Info:
      Port Rls/Upd:4/0 PrdStat:0
      Agent:Oracle Database Gateway for ODBC
      Facility:hsa
      Class:ODBC, ClassVsn:11.2.0.4.0_0019, Instance:dg4odbc
    Exiting hgogprd, rc=0
    hostmstr: 8795961769984: HOA After hoagprd
    hostmstr: 8795961769984: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=178
    HOCXU_DRV_NCHAR=1000
    HOCXU_DB_CSET=873
    HS_LANGUAGE not specified
    rc=1239980 attempting to get LANG environment variable.
    HOCXU_SEM_VER=112000
    Entered hgolofn at 2014/08/29-14:01:06
    Exiting hgolofn, rc=0 at 2014/08/29-14:01:06
    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"
    Invalid value of 64 given for HS_FDS_SQLLEN_INTERPRETATION
    treat_SQLLEN_as_compiled = 1
    Exiting hgoinit, rc=0 at 2014/08/29-14:01:06
    hostmstr: 8795961769984: HOA After hoainit
    hostmstr: 8795961769984: HOA Before hoalgon
    Entered hgolgon at 2014/08/29-14:01:06
    reco:0, name:OPTIM, tflag:0
    Entered hgosuec at 2014/08/29-14:01:06
    Exiting hgosuec, rc=0 at 2014/08/29-14:01:06
    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_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 OPTIM as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    Entered hgocont at 2014/08/29-14:01:06
    HS_FDS_CONNECT_INFO = "test12"
    RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
    Entered hgogenconstr at 2014/08/29-14:01:06
    dsn:test12, name:OPTIM
    optn:
    Entered hgocip at 2014/08/29-14:01:06
    dsn:test12
    Exiting hgocip, rc=0 at 2014/08/29-14:01:06
    ##>Connect Parameters (len=31)<##
    ## DSN=test12;
    #! UID=OPTIM;
    #! PWD=*
    Exiting hgogenconstr, rc=0 at 2014/08/29-14:01:06
    Entered hgopoer at 2014/08/29-14:01:06
    SQLGetDiagRec returns rc=100 (SQL_NO_DATA) for handle 4619630 (SQL_HANDLE_DBC)
    Exiting hgopoer, rc=0 at 2014/08/29-14:01:06 with error ptr FILE:hgopoer.c LINE:186 ID:GetDiagRec error
    hgocont, line 2831: calling SqlDriverConnect got sqlstate
    Exiting hgocont, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgocont.c LINE:2851 ID:Something other than invalid authorization
    Exiting hgolgon, rc=28500 at 2014/08/29-14:01:06 with error ptr FILE:hgolgon.c LINE:806 ID:Calling hgocont
    hostmstr: 8795908591616: HOA After hoalgon
    RPC Calling nscontrol(0), rc=0
    hostmstr: 8795908591616: RPC Before Exit Agent
    hostmstr: 8795908591616: HOA Before hoaexit
    Entered hgoexit at 2014/08/29-14:01:06
    Exiting hgoexit, rc=0
    hostmstr: 8795911442432: HOA After hoaexit
    hostmstr: 8795911442432: RPC After Exit Agent

  • ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75

    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    Scenario:
    I am having difficulty getting ODBC connection between Oracle OWB app with an 11gR2 DB (running on a VirtualBox Linux) and SQL Server 2008 running directly on the host. (Windows 8)
    I am trying to take a SQL Server 2008 feed into Oracle Ware house Builder, and think(!) I have read everything and configured it in accordance (but I presume not given 3 days of failed attempts to fix it). I have also read several blogs, hence there might be a few more settings in the configuration files than the formal documentation says, but these have come from blogs that have “Solved” problems for other similar situations.
    The environments:
    HOST:
    Name: RESOLVEIT-PC
    IP: 192.168.1.80
    Windows 8 (64bit) , with system DSN ODBC connection ACME_POS created with 32 bit ODBC set up (This setting still shows up fine in the 64 bit ODBC).
    GUEST VM:
    Name: OraDBSvr.com
    GUES fixed IP Address: 192.1.200
    Oracle VirtualBox (4.2.16)
    Oracle Redhat Linux 6 (x86)
    Oracle 11gR2 Enterprise Edition (11.2.0.1.0)
    ODBC: Freetds driver
    Configuration files:
    initacmepos.ora
    HS_FDS_CONNECT_INFO = 192.168.1.80/SQLEXPRESS/ACME_POS
    HS_FDS_TRACE_LEVEL = 0
    HS_FDS_SUPPORT_STATISTICS=FALSE
    HS_RPC_FETCH_REBLOCKING= OFF
    HS_FDS_FETCH_ROWS = 1
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    set ODBCINI=/opt/odbc/odbc.ini
    # set <envvar>=<value>
    odbc.ini
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    odbcinst.ini
    [PostgreSQL]
    Description                        = ODBC for PostgreSQL
    Driver                   = /usr/lib/psqlodbc.so
    Setup                    = /usr/lib/libodbcpsqlS.so
    Driver64                              = /usr/lib64/psqlodbc.so
    Setup64                              = /usr/lib64/libodbcpsqlS.so
    FileUsage                           = 1
    [MySQL]
    Description                        = ODBC for MySQL
    Driver                   = /usr/lib/libmyodbc5.so
    Setup                    = /usr/lib/libodbcmyS.so
    Driver64                              = /usr/lib64/libmyodbc5.so
    Setup64                              = /usr/lib64/libodbcmyS.so
    FileUsage                           = 1
    [FreeTDS]
    Discription             = TDS driver (Sybase / MS SQL)
    Driver                           = /usr/local/lib/libtdsodbc.so
    # Setup                         = /usr/local/lib/libtdsS.so
    FileUsage                           = 1
    CPTimeout               =
    CPReuse                 =
    [oracle@oraDBsvr etc]$
    freetds.conf
    #   $Id: freetds.conf,v 1.12 2007-12-25 06:02:36 jklowden Exp $
    # This file is installed by FreeTDS if no file by the same
    # name is found in the installation directory. 
    # For information about the layout of this file and its settings,
    # see the freetds.conf manpage "man freetds.conf". 
    # Global settings are overridden by those in a database
    # server specific section
    [global]
            # TDS protocol version
    ;              tds version = 4.2
                   # Whether to write a TDSDUMP file for diagnostic purposes
                   # (setting this to /tmp is insecure on a multi-user system)
    ;              dump file = /tmp/freetds.log
    ;              debug flags = 0xffff
                   # Command and connection timeouts
    ;              timeout = 10
    ;              connect timeout = 10
                   # If you get out-of-memory errors, it may mean that your client
                   # is trying to allocate a huge buffer for a TEXT field.
                   # Try setting 'text size' to a more reasonable limit
                   text size = 64512
    # A typical Sybase server
    [egServer50]
                   host = symachine.domain.com
                   port = 5000
                   tds version = 5.0
    # A typical Microsoft server
    [ACME_POS]
      host = 192.168.1.80
      port = 60801                                # also tried 1433
      instance = SQLEXPRESS
      tds version = 8.0
      client charset = UTF-8
    tsql -LH 192.168.1.80
         ServerName RESOLVEIT-PC
       InstanceName SQLEXPRESS
        IsClustered No
            Version 10.50.4000.0
                tcp 60801
                 np \\RESOLVEIT-PC\pipe\MSSQL$SQLEXPRESS\sql\query
                via RESOLVEIT-PC,0:1433
    Oracle listener:
    [oracle@oraDBsvr log]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = acmepos)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = dg4odbc)
    (HS = OK)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oraDBsvr)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    [oracle@oraDBsvr log]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 16-SEP-2013 13:57:41
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oraDBsvr)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                16-SEP-2013 13:50:34
    Uptime                    0 days 0 hr. 7 min. 7 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oraDBsvr/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oraDBsvr)(PORT=1521)))
    Services Summary...
    Service "acmepos" has 1 instance(s).
    Instance "acmepos", status UNKNOWN, has 1 handler(s) for this service...
    Service "dw" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    Service "dwXDB" has 1 instance(s).
    Instance "dw", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Oracle tnsnames.ora
    [oracle@oraDBsvr admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    dw =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dw)
    acmepos  =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=acmepos)
    (HS=OK)
    Oracle sqlnet.ora
    [oracle@oraDBsvr admin]$ cat sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (EZCONNECT, TNSNAMES)
    ADR_BASE = /u01/app/oracle
    I can connect from the linux server to SQL Server, and query the database:
    [oracle@oraDBsvr etc]$ tsql -S acme_pos -U acme_dw_user -P acme1234
    locale is "en_US.utf8"
    locale charset is "UTF-8"
    using default charset "UTF-8"
    1> select last_name from dbo.employees;
    2> go
    last_name
    Davolio
    Fuller
    Leverling
    Peacock
    Buchanan
    Suyama
    King
    Callahan
    Dodsworth
    (9 rows affected)
    1>
    However, I can’t get a response through Oracle OWB , and I get:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: ORA-02063: preceding line from OWB_75
    In the hs log file I get:
    [oracle@oraDBsvr log]$ cat acmepos_agt_3821.trc
    Oracle Corporation --- MONDAY    SEP 16 2013 13:51:22.170
    Heterogeneous Agent Release
    11.2.0.1.0
    HS Gateway:  NULL connection context at exit
    [oracle@oraDBsvr log]$
    I am really stuck now and going round in circles and can’t see the wood for trees! Can anyone please help?!!
    Many Thanks.
    Rafe.

    Let us rewrite your ODBC DSN a little bit... Your current odbc.ini looks like:
    [ACME_POS]
    Driver     = FreeTDS
    Description = ODBC Connection via FreeTDS
    Trace       = 1
    Servername  = 192.168.1.80
    Database    = dbo
    Let us change it a little bit so that we only need one config file - no odbcinst.ini nor freetds.conf file anymore:
    [ACME_POS]
    Driver =/usr/local/lib/libtdsodbc.so
    Server = 192.168.1.80
    Database
    = dbo     ####  I have some doubts that you have a SQL Server database called dbo - one database that always exists is master - so as a test use master here or get the real database name of the SQL Server database you want to connect
    Port = 60801 ## make sure it really is the correct port - best would be to check on the SQL server and then try telnet <ip> <port> if you can connect to the SQL server
    TDS_Version = 8.0
    QuotedId=YES
    Especially the last 2 parameters are mandatory. TDS_Version specifies the TDS Version you have to use to connect to the SQL Server and QuotedID is required for DG4ODBC as it surrounds objevt names by double quotes.
    What happens now when you try to connect with for example isql - the ODBC test utility shipped with the ODBC Driver manager?
    In addition, could you please do me another favour and check the word size of DG4ODBC and the ODBC Driver Manager as well as the ODBC Driver - just execute:
    file /u01/app/oracle/product/11.2.0/dbhome_1/bin/dg4odbc
    file /usr/local/lib/libtdsodbc.so
    file < the patch to your libodbc.so library>/libodbc.so
    and post the output.

Maybe you are looking for

  • Upgrade to iLife 06 seemed to cause partial loss of iTunes music

    Upgraded to iLife06 Shortly afterwards tried to update iPod Shuffle and noticed songs marked with ! Clicking on songs results in message that these songs cannot be found. At first thought that this only affected purchased songs, but subsequently noti

  • Phone resets itself to January 1980

    For the past five days or so, my iPhone 5 (os 7.0.4) will arbitrarily reset itself to January 5, 1980; this happens only at home.  The phone could be charging, or not charging.  It's completely arbitrary. Upon a hard shutdown (home key/power off) and

  • Zen V Plus - Album Art Dimensi

    Does anybody know the size (i.e width and height in pixels) at which album art is displayed (the large version) on a Zen V Plus? I know it'll scale as appropriate, but if you could match the size exactly it'd give a better quality image with no scali

  • Restore-SBFarm - How to make this work?

    Hi, I've read through some docs on the restore-sbfarm cmdlet, which according to Microsoft does the same as new-sbfarm except with existing databases (full of data one would assume). Restore-SBFarm I have tried to do this, but I keep running into an

  • Manual reservation

    Hello, How do you create Manual reservation for a Sales Order/Line item? regards