Oracle Gateway Not Connecting to Sybase database

Hi,
I'm trying to setup an oracle gateway to connect to Sybase database. I followed in details the instructions but still can connect successfully. The Oracle database is in RAC environment. Below are the steps I took:
The oracle gateway and oracle database are in the same server while Sybase is on a separate unix box.
1. create an initdg4sybs.ora file
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
HS_FDS_CONNECT_INFO=[999.99.108.99]:4527/common ## IP address of sybase server
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
2. create a listener on the oracle gateway home
# listener.ora Network Configuration File: /u03/app/oracle/gateway/11.2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node A)
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.24)(PORT = 1543)(IP = FIRST)) #IP address of oracle gateway (node B)
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
3. create tnsnames.ora in oracle database home
dg4sybs =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 99.999.155.26)(PORT = 1543)) #IP address of Node A
(CONNECT_DATA =
(SERVER = DEDICATED) #added for single node test
(SID = dg4sybs)
(HS=OK)
4. create database link
create database link dg4sybs connect to "user" identified by "password" using 'dg4sybs'
5. when testing the connection; i'm getting below error message. tried all the setup based my research and couldn't make it work.
SQL> select * from dual@dg4sybs
2 /
select * from dual@dg4sybs
ERROR at line 1:
ORA-03113: end-of-file on communication channel
Process ID: 7427
Session ID: 495 Serial number: 787
I perform above settings on a standalone database running in windows and successfully connect to the sybase. In UNIX setup, been unsuccessful. Can someone please help.
Also, below is the trace file error message:
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.747
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- THURSDAY OCT 18 2012 10:57:55.745
Version 11.2.0.1.0
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
ODBCINST set to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/dg4sybs.loc"
RC=-1 from HOSGIP for "LD_LIBRARY_PATH_64"
Setting LD_LIBRARY_PATH_64 to "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME_ICU" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libHGicu23.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME_INST" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbcinst.so"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib/libodbc.so"
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using ro as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
SQL text from hgopars, id=1, len=20 ...
00: 53454C45 4354202A 2046524F 4D202244 [SELECT * FROM "D]
10: 55414C22 [UAL"]
hgopars, line 526: calling SQLNumResultCols got sqlstate 42S02
SQL text from hgopars, id=2, len=57 ...
00: 53454C45 43542027 58272046 524F4D20 [SELECT 'X' FROM ]
10: 2264626F 222E2273 79737573 65727322 ["dbo"."sysusers"]
20: 20413120 57484552 45204131 2E226E61 [ A1 WHERE A1."na]
30: 6D65223D 2764626F 27 [me"='dbo']
Deferred open until first fetch.
HS Agent received unexpected RPC disconnect
Network error 1003:  NCR-01003: NCRS: Read error.
Edited by: gonzroman on Oct 18, 2012 11:03 AM

-=-=-=-=-=- tnsnames.ora on the UNIX side
GTW_C100_COMN =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) #IP address of jrc1suvip01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) #IP address of jrc1sudb01a
(CONNECT_DATA =
(SERVER = DEDICATED) # added for single configuration
(SID = dg4sybs_comn_c100)
(HS=OK)
-=-=-=-=-=- listener.ora of the GATEWAY
LISTENER_DG4SYSBS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1543))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)(IP = FIRST)) #IP address of jrc1suvip01a
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)(IP = FIRST)) #IP address of jrc1sudb01a
#(ADDRESS = (PROTOCOL = TCP)(HOST = jrc1suvip01a)(PORT = 1543))
SID_LIST_LISTENER_DG4SYSBS=
(SID_LIST=
(SID_DESC=
(SID_NAME=dg4sybs)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
(SID_DESC=
(SID_NAME=dg4sybs_comn_c100)
(ORACLE_HOME=/u03/app/oracle/gateway/11.2)
(ENVS="LD_LIBRARY_PATH=/u03/app/oracle/gateway/11.2/dg4sybs/driver/lib:/u03/app/oracle/gateway/11.2/lib")
(PROGRAM=dg4sybs)
ADR_BASE_LISTENER = /u03/app/oracle/gateway/11.2
TRACE_LEVEL_LISTENER_DG4SYSBS = OFF
TRACE_FILE_LISTENER_DG4SYSBS = /u03/app/oracle/gateway/11.2/network/admin/LISTENER_DG4SYBS.trc
INBOUND_CONNECT_TIMEOUT_LISTENER_DG4SYSBS=0
-=-=-=-=- initdg4sybs_comn_c100.ora parameter
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Sybase
# HS init parameters
#HS_FDS_CONNECT_INFO=[glb0pod29.aexeo.citco.com]:4100/common
HS_FDS_CONNECT_INFO=[209.87.108.99]:4527/common
HS_FDS_TRACE_LEVEL=ON
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
-=-=-=-=- gateway listener status
jrc1sudb01a:/u03/app/oracle/gateway/11.2/dg4sybs/admin $ lsnrctl status LISTENER_DG4SYSBS
LSNRCTL for Solaris: Version 11.2.0.1.0 - Production on 20-OCT-2012 13:09:05
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1543)))
STATUS of the LISTENER
Alias LISTENER_DG4SYSBS
Version TNSLSNR for Solaris: Version 11.2.0.1.0 - Production
Start Date 18-OCT-2012 13:16:24
Uptime 1 days 23 hr. 52 min. 41 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u03/app/oracle/gateway/11.2/network/admin/listener.ora
Listener Log File /u03/app/oracle/gateway/11.2/log/diag/tnslsnr/jrc1sudb01a/listener_dg4sysbs/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.26)(PORT=1543)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.124.155.24)(PORT=1543)))
Services Summary...
Service "dg4sybs" has 1 instance(s).
Instance "dg4sybs", status UNKNOWN, has 1 handler(s) for this service...
Service "dg4sybs_comn_c100" has 1 instance(s).
Instance "dg4sybs_comn_c100", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
-=-=-=-=-=- tnsping output
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping dg4sybs
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:28
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.24)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs)) (HS=OK))
OK (10 msec)
jrc1sudb01a:/u03/app/oracle/product/11.2.0.3/network/admin $ tnsping GTW_C100_COMN
TNS Ping Utility for Solaris: Version 11.2.0.3.0 - Production on 20-OCT-2012 13:11:35
Copyright (c) 1997, 2011, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.124.155.26)(PORT = 1543)) (CONNECT_DATA = (SERVER = DEDICATED) (SID = dg4sybs_comn_c100)) (HS=OK))
OK (0 msec)

Similar Messages

  • Run a java class in Oracle db to connect to Sybase

    Hi All, I'm looking for a way to connect to Sybase database at no-license-cost (meaning Oracle Gateway or similar 3rd party products), first coming idea was JDBC, I know I can run a java class in Oracle, the simple idea is to write a java class which connects to Sybase via JDBC thin driver and return the resultset of given query in a java class, the resultset will be presented in Oracle Apex framework.  Does anyone know if this can be done or not, and how?  Any howto articles are welcomed.
    Henry

    Henry:
    To connect to Sysbase or MsSQL Server you could use jTDS open source driver.
    http://sourceforge.net/projects/jtds/
    upload above driver (jar file) using loadjava, and grants the port connection using dbms_java.grant_permission procedure.
    Because jTDS is pure java driver (mode 4) is possible to use directly inside the RDBMS.
    Best regards, Marcelo.
    PD: Latest jtds driver is compiled against 1.6 sources, but oldest version will work with 1.5 for 11g.

  • Intermittent error in production server JBO-25200: Application module is not connected to a database.

    We've set 60 min as session timeout and AM pool parameters also high  (<AM-Pooling jbo.ampool.maxinactiveage="1200000" jbo.ampool.initpoolsize="25" jbo.ampool.maxpoolsize="1000" jbo.recyclethreshold="50" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="25"/>) in our application due to requirements.  We are using jdev 11.1.1.7.0
    Intermittently The page is getting refreshed and unsaved data is lost when user leaves a page for 5 or 10 min and on return back to application and performing operations back. There is not much load also on the server. When we analyze the logs the below exception is thrown on the logs.
    Exception Class: oracle.jbo.NotConnectedException
    Message: JBO-25200: Application module is not connected to a database.
    Agent: APP_BSA_BPA[mnatest_soa2]@egw-bpm2-mnat.wfs.com:5508
    API: Exception
    Thread Name: [ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' <562720362>
    Exception StackTrace
    Method Class Line        File Name
    handleRollback oracle.jbo.server.DefaultTxnHandlerImpl 145         <unknown>
    doRollback oracle.jbo.server.DBTransactionImpl 5174       <unknown>
    rollback oracle.jbo.server.DBTransactionImpl 2544       <unknown>
    resetState oracle.jbo.server.ApplicationModuleImpl 4860       <unknown>
    disconnect oracle.jbo.common.ampool.DefaultConnectionStrategy 343         <unknown>
    doPoolDisconnect oracle.jbo.server.ApplicationPoolMessageHandler 592         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationPoolMessageHandler 430         <unknown>
    doPoolMessage oracle.jbo.server.ApplicationModuleImpl 9316       <unknown>
    sendPoolMessage oracle.jbo.common.ampool.ApplicationPoolImpl 4530       <unknown>
    prepareApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 2460       <unknown>
    doCheckout oracle.jbo.common.ampool.ApplicationPoolImpl 2270       <unknown>
    useApplicationModule oracle.jbo.common.ampool.ApplicationPoolImpl 3169       <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 592         <unknown>
    useApplicationModule oracle.jbo.http.HttpSessionCookieImpl 234         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 525         <unknown>
    useApplicationModule oracle.jbo.common.ampool.SessionCookieImpl 520         <unknown>
    initializeApplicationModule oracle.adf.model.bc4j.DCJboDataControl 523         <unknown>
    getApplicationModule oracle.adf.model.bc4j.DCJboDataControl 869         <unknown>
    internalGetBeanDataControl oracle.adf.model.bc4j.DCJboDataControl 969         <unknown>
    findOrCreateMethodRowSetIterator oracle.adf.model.bc4j.DCJboDataControl 1236       <unknown>
    initSourceRSI oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 698         <unknown>
    callInitSourceRSI oracle.adf.model.binding.DCIteratorBinding 1679       <unknown>
    internalGetRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1652       <unknown>
    refresh oracle.adf.model.binding.DCIteratorBinding 4506       <unknown>
    refreshIfNeeded oracle.adf.model.binding.DCExecutableBinding 341         <unknown>
    getRowSetIterator oracle.adf.model.binding.DCIteratorBinding 1612       <unknown>
    getViewObject oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding 473         <unknown>
    _loadCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3504 <unknown>
    getCriterionList oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding$AdfConjunctionCriterion 3417 <unknown>
    invoke sun.reflect.GeneratedMethodAccessor4821 - <unknown>
    invoke sun.reflect.DelegatingMethodAccessorImpl       25 <unknown>
    invoke java.lang.reflect.Method 597         <unknown>
    Any idea why this exception thrown ? Is this because of weblogic server connections cleanup or something to do with connections?  As per my understanding , JDBC connection will not be released when AM is active/managed mode.  Oracle Doc says
    " That application module instance holds onto the JDBC connection object that it acquired from the pool until the application module instance is removed from the application module pool."

    jbo.ampool.maxinactiveage is set to 20 min which means that If AM in the pool is inactive for 20 min then clean this AM in the next cycle (still that is not our case).  We also set jbo.recyclethreshold="50" means 50 AMs can exists in the pool with managed-state. We set these because of performance reasons.  As per my understanding, AM instance will be deleted (????) but in any action on the UI will pick up another instance of the AM because datacontrolframe is still valid in the session.  Do we have any best practice like jbo.ampool.maxinactiveage should be equal to session time out?. The error seems AM lost the underlying JDBC connection and somehow application is using that stale AM ?. what will be possible reason?.

  • Error Could not connect to the database - ora-12545: tns:name lookup failure

    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

    Copy the tnsname.ora file from Oracle Database serve onto the client PC.
    Path: %Oracle_home%\net80\admin\
    Send me a mail if there is any other issues
    Regards
    Oluseyi Funmi Oduberu
    Oracle Consultant
    Email:[email protected]
    Hi,
    I am a tech at a failing company. Unfortuneatly some users still need ADI installed and working with very limited resources to troubleshoot oracle. I am getting the error - ( Could not connect to the database - ora-12545: tns:name lookup failure )when the user tries to log on to ADI. Any suggestions? I would really appreciate it. We are on Windows NT on an NT network. Oracle 8.05 client installed and ADI 6.0.
    Thanks, Mary

  • Could not connect to the database

    I have installed Oracle 11.5.10.2 and ADI 7.1.3.10.5
    I can logon to oracle 11i but I cannot logon to ADI using the same username and password of oracle 11i.
    In the ADI define databases form I have the following:
    GWYUID: applsyspub/pub
    FNDNAM: apps
    NCA Connection: (blank)
    Server ID: (blank)
    I receive the following message:
    ''Could not connect to the database. Invalid Username or Password''
    I can use tnsping and tnsping80 successfully from the client.
    Any help would be appreciated
    Thank you.

    Starting from 11.5.10 and above, you have to provide the 'Server ID'. Change the current value of 'Server ID' to match APPL_SERVER_ID value found in your dbc file.
    Find the dbc file under:
    $FND_TOP/secure directory
    The Server ID field is one of the parameters used in setting up the database definition in ADI.

  • Error connecting to Sybase database through WSAD

    In my jsp page I am trying to connect to Sybase database within WSAD.
    Here is my code:
    InitialContext ctx = new InitialContext();
    DataSource ds = (DataSource) ctx.lookup("jdbc/AimDB");
    Connection con = ds.getConnection();
    It is giving an error message:
    Error 500: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.
    On console below error message is coming:
    E SRVE0026E: [Servlet Error]-[Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.]: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. Root exception is java.lang.Exception: Failed security check. Client is not permitted to create connection factory jdbc/AimDB
         at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.createMCFandPM(ConnectionFactoryBuilderImpl.java:1566)
         at com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl.getObjectInstance(ConnectionFactoryBuilderImpl.java:1188)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:313)
         at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:884)
         at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1762)
         at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1615)
         at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1525)
         at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1225)
         at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:132)
         at javax.naming.InitialContext.lookup(InitialContext.java:359)
         at org.apache.jsp._Test1._jspService(_Test1.java:89)
    Thanks,
    Vineet

    Hi ,
    Any body have this solution ??? I am using wsad -5.1.2 .When I try to access datasource from test server I got this same problems....
    I tried whatever instructs in above link.But after that I got same problem ....
    Sorry,for bad english
    advance thanks

  • URGENT!!!!!!!! Tomcat 5.0 does not connect to the database !!!!!!

    We had an already existing system on tomcat 4.1.18. Since migrating to Tomcat 5.0, we are facing lots of problem while trying to connect to the database. The database in SQL Server 2000.
    The first time i try to connect (after restarting tomcat service) the system is able to connect to the database but after sometime it again stops connecting.
    The beans on our system are able to connect to the database without any problem but when we try using the same via http, it doesnt connect. The classpath is set properly. Also the database drivers are also the latest ones and in the proper place. We have placed them in the common/lib folder. We have checked that normal jsp pages which are not connecting to the database are working fine.
    Please HELP!!!!!!!!!!!
    Thanks in advance

    well.....Tomcat is not a database connecting engines.....U would need to check your db connection codes to check if you have missed anything.....so the first question will be
    1. How do u connect to the DB
    2. Which type of JDBC drivers are u using.
    Finaly, tomcat is not at fault...its the fault of you configuration
    Cheers,
    Manjun ath

  • JBO-25200: Application module is not connected to a database

    Using JDev 9.0.3.
    I am receiving the following error when running my app through JDevloper's embedded OC4J:
    JBO-25200: Application module is not connected to a database.
    The error is happening when I execute the following line(s) of code:
    // holds the ViewObject RowSet
    RowSet accessTypeRS = PersonalInfoForm.getAccessTypeRS();
    if (accessTypeRS != null) {
    if (accessTypeRS.getEstimatedRowCount() > 0) {
    accessTypeRS.setRangeSize(-1);
    I receive the error when trying to execute the setRangeSize method. However, several prior attempts caused the error at the line above (getEstimatedRowCount)
    I am using connection pooling with a datasource and I'm retrieving an application module through the app module pool.
    jbo.doconnectionpooling is set to true.
    Disconnect ApplicationModule upon release is checked.
    Any ideas on why and how this is happening?
    Thanks!
    -Teri Kemple
    <AppModuleConfig name="PersonalInfoBcModuleLocal">
    <DsName>jdbc/arcavisionCoreDS</DsName>
    <DeployPlatform>LOCAL</DeployPlatform>
    <DsPasswd>adw02_www</DsPasswd>
    <jbo.doconnectionpooling>true</jbo.doconnectionpooling>
    <DsUserName>adw02_www</DsUserName>
    <JDBCDataSource>jdbc/arcavisionCoreDS</JDBCDataSource>
    <jbo.project>PersonalInfoBC0</jbo.project>
    <AppModuleJndiName>com.arca.personalinfo.bc.PersonalInfoBcModule</AppModuleJndiName>
    <ApplicationName>com.arca.personalinfo.bc.PersonalInfoBcModule</ApplicationName>
    </AppModuleConfig>
    <ConnectionDefinition name="jdbc/arcavisionCoreDS">
    <ENTRY name="DsPasswd" value="adw02_www"/>
    <ENTRY name="DsName" value="jdbc/arcavisionCoreDS"/>
    <ENTRY name="DsUserName" value="adw02_www"/>
    </ConnectionDefinition>

    Hi,
    Please post test steps using the BC4J tester or a test script that illustrates the issue against a simple table. Otherwise, it is extremeley difficult to debug/diagnose the issue on this forum.
    I have not seen this issue in any of the automated unit test scripts that exercise the ApplicationModule pooling.
    Thanks,
    JR

  • Gateway not connecting to foxtel

    Is anyone having problems with the gateway not connecting to foxtel? I've reset the modem and the iQ3 lots but nothing seems to work

    Hi what do you mean by a full restore as i have the same problem

  • Application deployed on Oracle Java Cloud Service - SaaS Extension is not connecting with cloud database.

    Hello Experts,
    I have deployed an ADF application on Oracle Java Cloud Service - SaaS Extension and also deployed database objects from local environment to cloud using JDeveloper. I can see the cloud database has tables and data which I have deployed but when I access the application it seems it is not able to connect with cloud database.
    I have followed below document and same sample application (HRSystem). 
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart1/jdeveloperPart1.html
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/JDeveloperPart2/jdeveloperPart2.html
    Please guide me what can be the issue.
    Regards
    Gulam Dyer

    Hi,
    Can you give us more details about your issue? Any error messages?
    Thanks,
    Bogdan

  • Unable to connect to Sybase databases in EPM V11

    Hello,
    I have installed EPM 11 on a linux rel 5 x64 machine and able to connect to Oracle dbs but having problems with sybase databases. Checked the odbc.ini that it is pointing to the right files. I have tried to start, stop and restart the Data access service, defined using ODBC and Sybase System but nothing seems to help.
    I get the folling error in html and the 2018 error in the IR web client.
    An Interactive Reporting Service error has occurred.-Failed to acquire requested service.
    Error Code: 2001
    The Oracle db connections seemed to be fine. Sybase connections using isql are fine.
    Any help would be greatly appreciated.
    Thanks,
    Shrinath

    I had that problem for almost a year, both with a Linksys router and with a Netgear router.  Finally purchased a Belkin router (the N1 Vision, which we absolutely love!) and have not had the problem one single time since - in over 3 months.  I did a lot of reading on the Linksys and Netgear forums and found that a lot of people were having the same problem.  I have a new problem though, about 2 months ago my TouchSmart began to tell me I don't have a wireless network adapter installed - I typically have to reboot it anywhere from 7-13 times before it will recognize it.  Any ideas or similar problems with that situation?

  • New tools in /usr./sap/put/exe do not connect to the database.

    As per CHECKS LOG,  In the Initialization phase.
    the new tools in /usr/sap/put/exe do not connect, Check environment settings or adapt language files.
    currently on a distributed env, with 4.6D kernel, oracle 10.2.02 client on CI
    Oracle 10.2.0.2 server on the database.
    Initialization phase fails with the above error. please help.. urgent....
    I believe the new set of R3trans, tp, R3load tools in /usr/sap/put/exe are unable to connect to the database, while the current set of tools in /usr/sap/<SID>exe/run are working fine.
    DBCONNCHECK.LOG for further details.
    4 ETW000 R3trans version 6.14 (release 700 - 18.09.06 - 09:35:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 08.02.2008 - 23:54:36
    4 ETW000 control file: <no ctrlfile>
    4 ETW000 R3trans was called as follows: R3trans -d -w C:\oracle\log
    4 ETW000  trace at level 2 opened for a given file pointer
    4 ETW000  [dev trc     ,00000]  Fri Feb 08 23:54:38 2008                                  0.000000
    4 ETW000  [dev trc     ,00000]  db_con_init called                                        0.000000
    4 ETW000  [dev trc     ,00000]  create_con (con_name=R/3)                                 0.000000
    4 ETW000  [dev trc     ,00000]  Loading DB library 'dboraslib.dll' ...                    0.000000
    4 ETW000  [dev trc     ,00000]  load shared library (dboraslib.dll), hdl 0         10389  0.010389
    4 ETW000  [dev trc     ,00000]      using "D:\usr\sap\put\exe\dboraslib.dll"        4689  0.015078
    4 ETW000  [dev trc     ,00000]  Library 'dboraslib.dll' loaded                      5920  0.020998
    4 ETW000  [dev trc     ,00000]  function DbSlExpFuns loaded from library dboraslib.dll
    4 ETW000                                                                             102  0.021100
    4 ETW000  [dev trc     ,00000]  Version of 'dboraslib.dll' is "700.08", patchlevel (0.73)
    4 ETW000                                                                              81  0.021181
    4 ETW000  [dev trc     ,00000]  function dsql_db_init loaded from library dboraslib.dll
    4 ETW000                                                                              11  0.021192
    4 ETW000  [dev trc     ,00000]  function dbdd_exp_funs loaded from library dboraslib.dll
    4 ETW000                                                                              21  0.021213
    4 ETW000  [dev trc     ,00000]  New connection 0 created                              15  0.021228
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              29  0.021257
    4 ETW000  [dev trc     ,00000]  db_con_connect (con_name=R/3)                         14  0.021271
    4 ETW000  [dev trc     ,00000]  find_con_by_name found the following connection for reuse:
    4 ETW000                                                                              12  0.021283
    4 ETW000  [dev trc     ,00000]  0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
    4 ETW000                                                                              15  0.021298
    4 ETW000  [dev trc     ,00000]  Prepending C:\oracle\ora10_32 to Path.               178  0.021476

    Yes i am on x86_64 bit Windows 2003 SP1, 4.6D kernel is running in 32-bit mode.Database sits on a diffrent host and is upgraded to Oracle 10.2.0.2.
    In that case , do i need install PREPARE in 32 bit mode so that all executables in put\exe will be working in 32 bit mode.
    Could you please also look into note,
    906205 - Upgrading SAP system <= 4.6 on x86_64 Windows
    Actions after PREPARE (before you start the upgrade)
    1. -
    2. Unpack ORACLE Client 10.2 into directories \usr\sap\put\exe and \usr\sap\<SID>\sys\exe\run.
    a) Mount the CD which contains the ORACLE 10.2 client software and change to subdirectory OCL_WINDOWS_X86_64.
    b) Start a command prompt and change into directory \usr\sap\put\exe.
    c) Type 'sapcar.exe -xvf <DIR>\OCL10264.SAR'.
    d) Start a command prompt and change into directory \usr\sap\<SAPSID>\sys\exe\run.
    e) Type 'sapcar.exe -xvf <DIR>\OCL10264.SAR'
    As per the note, 64 bit client has to uncarred "After Prepare before Upgrade", since the tools in /usr/sap/put/exe are not able to connect to the database since they are in 64 bit mode, and my Initialization phase fails, i uncarred the client into put/exe during PREPARE.
    Please guide. What problems should i anticipate in the PREPARE phase when it builds shadow instance.
    Govind.

  • Could not connect to a DATABASE with localhost as Hostname from SQL develop

    I am not able to connect to any Database from SQL Developer by providing "localhost" as Hostname. I could able to connect by providing the IP(192.168.1.50) of the system.
    The problem here is If I am out of internet, My system does not have IP, So I am not able to connect to DB
    But I need to submit a project wheere I will not have any internet. Could you please let me know how to connect to DB using localhost
    Following are the listener.ora and tnsnames.ora files.
    listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    =============================
    tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\oracle\product\10.2.0\db_2\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORA9 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora9)
    ORA8 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = ora8)
    EMP =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = emp)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.50)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Thanks in advance,
    Srini

    Oracle always uses DNS.
    DNS consults the local host file.
    Try in a command box
    ping localhost
    This should work.
    If this doesn't work you need to edit
    %WINDOWS%\'systems\drivers\etc\hosts
    The first line needs to read
    127.0.0.1 localhost
    Sybrand Bakker
    Senior Oracle DBA

  • I can not connect to my database

    I am using Oracle9i JDeveloper on Windows machine and when I try to connect to my database in Oracle 8.x.x on Linux RH8 machine, I receive the following error message:
    I/O exception:The network adapter could not establish the connection.
    I tried to modify some parameters in the connection and I receive this error message:
    I/O exception:Connection refused (DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR_STACK=(ERROR=(CODE(=12505)(EMFI=4))))
    What is wrong?
    Where can I find the list of JDBC errors?
    What is the VSNNUM, and EMFI?
    Tanks

    I am using Oracle9i JDeveloper on Windows machine and when I try to connect to my database in Oracle 8.x.x on Linux RH8 machine, I receive the following error message:
    I/O exception:The network adapter could not establish the connection.
    I tried to modify some parameters in the connection and I receive this error message:
    I/O exception:Connection refused (DESCRIPTION=(TMP=)(VSNNUM=135294976)(ERR_STACK=(ERROR=(CODE(=12505)(EMFI=4))))The only important number is is the ERROR=(CODE(=<oracle error number))
    You have an TNS-12505 here, here's the info from the docs about it:
    TNS-12505 TNS:listener could not resolve SID given in connect descriptor
    Cause: The SID in CONNECT_DATA was not found in the listener's tables.
    Action: Check to make sure that the SID specified is correct. The SIDs that are currently registered with the listener can be obtained by typing "LSNRCTL SERVICES listener_name". These SIDs correspond to SID_NAMEs in TNSNAMES.ORA, or DB_NAMES in the INIT.ORA file.
    Your SID is not correct here, did you specify the SERVICE_NAME instead of the SID?
    Hope this helps,
    Rob

  • Connecting to sybase database

    Hi ,
    i have a requirement to connect to a sysbase database through DB adapter .. Can anybody tell me how can i configure sybase database in Oracle application server 10.1.3.4
    Regards ,
    Mohan

    Hi,
    I´m use Sybase AS Enterprise and in my physical conection is used:
    Driver:com.sybase.jdbc2.jdbc.SybDriver
    URL: jdbc:sybase:Tds:HOST:PORT
    Try this!
    Regards

Maybe you are looking for

  • Any ideas of what service to go with for a laptop that I want to be able to use anywhere

    I just bought a lap top and it will be my main source of internet use now.  I am over whelmed with all the stuff on the internet about wireless internet.    I need to be able to play games on pogo along with browsing the net   e-mail and photos.  I u

  • How can I send a document in iworks as a pdf file?

    How can I send a document in iworks as a pdf file?  My friends who have windows are not able to open any attachment I send them.  Very frustrating.

  • Editing ID Tags

    How do you "embed" the ID tags into the songs? These are songe downloaded from a Torrent. I change the info using "get info" but other than changing the title, the artist name and album name do not change in the file.

  • Support for IE 7.0 in WebHelp?

    With the new version of Internet Explorer (IE 7.0) coming out with Windows Vista and to the general public, there will be limitations to the functionality of WebHelp, due to the way RH_SHOWHELP makes the calls to the browser. Is anyone aware of an up

  • Unable to Play AVCHD clips in Permiere Elements 8

    I just downloaded thge Photoshop/Premiere Elements 8 bundle to use on a Lenovo Think Pad T-400 with video from a Canon Vixia HF 200 AVCHD camcorder.  Photoshop works fine, but not Premiere.  It will not play my camera's AVCHD video clips (.mts files)