Native Error: 24756
Anybody has idea about the possible chances of this exception?
Error while persisting the transaction data: 'An error occurred while accesing the database.
Detail:SQL statement: 'unknown'
Details:
An error occurred while accesing the database.
Detail:SQL statement: 'unknown'
Caused by: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1183)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:290)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:511)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:438)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1406)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1411)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
fuego.transaction.DatabaseException: An error occurred while accesing the database.
Detail:SQL statement: 'unknown'
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3157)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
Caused by: java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_NOTA start() failed on resource 'XAENGINEDS': XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA Error Occurred. Native Error: 24756
at weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:695)
at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1183)
at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1116)
at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:290)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:511)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:438)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1406)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1411)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1330)
at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.updateInstance(JdbcProcessInstancePersMgr.java:2384)
at fuego.server.persistence.Persistence.updateProcessInstance(Persistence.java:1031)
at fuego.server.execution.EngineExecutionContext.persistInstances(EngineExecutionContext.java:1991)
at fuego.server.execution.EngineExecutionContext.persist(EngineExecutionContext.java:1204)
at fuego.transaction.TransactionAction.beforeCompletion(TransactionAction.java:132)
at fuego.connector.ConnectorTransaction.beforeCompletion(ConnectorTransaction.java:692)
at fuego.connector.ConnectorTransaction.commit(ConnectorTransaction.java:375)
at fuego.transaction.TransactionAction.commit(TransactionAction.java:302)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:481)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
at fuego.ejbengine.ItemExecutionBean.processMessage(ItemExecutionBean.java:209)
at fuego.ejbengine.ItemExecutionBean.onMessage(ItemExecutionBean.java:120)
at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
at com.tibco.tibjms.TibjmsxSessionImp._submit(TibjmsxSessionImp.java:3817)
at com.tibco.tibjms.TibjmsxSessionImp._dispatchAsyncMessage(TibjmsxSessionImp.java:2088)
at com.tibco.tibjms.TibjmsxSessionImp$Dispatcher.run(TibjmsxSessionImp.java:3343)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1343)
at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:189)
at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:64)
at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:92)
at weblogic.jdbc.wrapper.Connection.prepareStatement(Connection.java:482)
at fuego.jdbc.FaultTolerantConnection.prepareStatement(FaultTolerantConnection.java:541)
at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.executeUpdateInstance(JdbcProcessInstancePersMgr.java:3019)
... 21 more
Thanks for the links!!! This solved my problem, too. Long-running BPEL process instances where completing successfully but showing faults, presumably because the associated XA transaction had timed out while the process was making a call to a slow external web service. Making the suggested configuration changes to the datasource in WebLogic seems to have fixed the errors:
1. Set "Set XA TransactionTimeout" to true.
2. Set "XA Transaction Timeout" to 0
See:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1138284.1
Similar Messages
-
I want to call Stored Procedure that return records and output parameter, from CVI
I can get output parrameter but when I want to get records stream I recieve following wrror:
function return value == -10. Native error code -2146824584 ADOBD.Recordset: Operation is not allowed when object is closedin Stored procedure I create table variable and and insert into string values
when I remove usage of table variable the error desappear -
I installed Oracle Gateway for MSSQL version 11.2.0.3.0 to a separate Oracle Home (platform is IBM AIX 6.1 64-bit). After setting up listener, init.ora file etc., I created database link and tried few queries (database version 11.2.0.2.0 with patches 12827726, 12827731 applied). All queries result in error message:
SQL> select count(*) from s4user@imosprodnew;
select count(*) from s4user@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Trace file shows:
Heterogeneous Agent Release
11.2.0.3.0
ODBCINST set to "/app/oragw/product/11.2.0.3/dg4msql/driver/dg4msql.loc"
RC=-1 from HOSGIP for "LIBPATH"
LIBPATH from environment is "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
Setting LIBPATH to "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/app/oragw/product/11.2.0.3/dg4msql/driver/lib/odbc.so"
treat_SQLLEN_as_compiled = 1
uencoding=UTF8
##>Connect Parameters (len=226)<##
## DRIVER=Oracle 11g dg4msql;
## Address=10.1.0.20\IMOS;
## Database=imosprod;
#! UID=IMOS;
#! PWD=*
## AnsiNPW=Yes;
## EnableQuotedIdentifiers=1;
## IANAAppCodePage=2252;
## OctetSizeCalculation=1;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20450; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english. {01000
,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgocont, line 2688: calling SqlDriverConnect got sqlstate 20450
DriverName:HGmsss23.so, DriverVer:06.11.0052 (b0047, U0046)
DBMS Name:Microsoft SQL Server, DBMS Version:10.00.4000
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 1007 and sqlstate 22003; message follows...
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric represe
ntation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near '0421004210042100421
10421104211042190421904219'. {10103,NativeErr = 102}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoulcp, line 1932: calling SQLGetTypeInfo got sqlstate 22003
Exiting hgoulcp, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgoulcp.c LINE:1932 ID:SQLGetTypeInfo: LONGVARCHAR
hostmstr: 349326: RPC After Upload Caps
hostmstr: 349326: RPC Before Exit Agent
hostmstr: 349326: HOA Before hoalgof
Entered hgolgof at 2013/06/06-14:54:21
tflag:0
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20131; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20131 {20131}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgolgof, line 180: calling SQLDisconnect got sqlstate 20131
Exiting hgolgof, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgolgof.c LINE:180 ID:Disconnect
hostmstr: 349326: HOA After hoalgof
hostmstr: 349326: HOA Before hoaexit
Entered hgoexit at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate HY010; message follows...
[DataDirect][ODBC lib] Function sequence error {HY010}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoexit, line 126: calling SQLFreeHandle got sqlstate HY010
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:126 ID:Free ENV handle
hostmstr: 349326: HOA After hoaexit
hostmstr: 349326: RPC After Exit Agent
Could this be some sort of incompatibility between DG4MSQL version 11.2.0.3.0 and RDBMS version 11.2.0.2.0?
I did not find anything relevant by searching, really (apart from one thread suggesting that this could be caused by misconfigured Linux OS, but my platform is AIX)I created test table and inserted data (using FreeTDS tsql tool):
locale is "en_US.UTF-8"
locale charset is "UTF-8"
1> use imosprod
2> go
1> create table TEST_MSSQL (PKEY integer, DATA varchar(20))
2> go
1> insert into TEST_MSSQL values (1000,'Data for key 1000')
2> go
1> insert into TEST_MSSQL values (2000,'Data for key 2000')
2> go
1> select * from TEST_MSSQL
2> go
PKEY DATA
1000 Data for key 1000
2000 Data for key 2000
(2 rows affected)
Then, I queried test table with:
1) DG4ODBC 11.2.0.2 + IBM-branded DataDirect ODBC driver,
2) DG4MSQL 11.2.0.2 and
3) DG4MSQL 11.2.0.3
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning and Automatic Storage Management options
SQL> select * from test_mssql@imos;
PKEY DATA
========== ====================
1000 Data for key 1000
2000 Data for key 2000
SQL> select * from test_mssql@imosprod;
PKEY DATA
========== ====================
1000 Data for key 1000
2000 Data for key 2000
SQL> select * from test_mssql@imosprodnew;
select * from test_mssql@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server
Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL
Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number
'042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC
SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Seems to be a change in internal logic of DG4MSQL in version 11.2.0.3 to me. -
ODBC Gateway error - hgopoer, line 159: got native error 0 and sqlstate HYC
Hi,
I am trying to connect to a RTDB by using the ODBC Gateway and a Simba Driver. When testing the connection I get the following error. I am using Oracle 11gR1(standard edition) on a 32bit Windows 2003 R2 server.
Link : "SIMBA"
Error : ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[SimbaLNA][Simba][SimbaEngine ODBC Driver]Driver not capable.
ORA-02063: preceding 2 lines from SIMBA
It seems that I can connect to the server I am trying to reach, as shown in the trace log.
I am looking for suggestions as to what causes the problem, and solutions I can try.
Below is a copy of the init file, tnsnames, listener and trace log.
------------ initSimba.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 = BasicServer-RTDB
HS_FDS_TRACE_LEVEL = DEBUG
# Environment variables required for the non-Oracle system
#set <envvar>=<value>
------------tnsnames.ora
# tnsnames.ora Network Configuration File: e:\Oracle\product\11.1.0\db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
PDPPER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = perap02applic)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PDPPER)
Simba =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST= perap02applic)(PORT=1521))
(CONNECT_DATA=(SID=Simba))
(HS=OK)
---------listener.ora
# listener.ora Network Configuration File: e:\Oracle\product\11.1.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = perap02applic)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=Simba)
(ORACLE_HOME=e:\Oracle\product\11.1.0\db_1)
(PROGRAM=dg4odbc)
#CONNECT_TIMEOUT_LISTENER = 0
----------trace log
Oracle Corporation --- MONDAY MAY 31 2010 12:40:54.656
Heterogeneous Agent Release
11.1.0.7.0
Oracle Corporation --- MONDAY MAY 31 2010 12:40:54.656
Version 11.1.0.7.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "Simba"
Product-Info:
Port Rls/Upd:7/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.1.0.7.0_0006, Instance:Simba
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=110000
Entered hgolofn at 2010/05/31-12:40:55
Exiting hgolofn, rc=0 at 2010/05/31-12:40:55
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2010/05/31-12:40:55
Entered hgolgon at 2010/05/31-12:40:55
reco:0, name:BMI_CIMS, tflag:0
Entered hgosuec at 2010/05/31-12:40:55
Exiting hgosuec, rc=0 at 2010/05/31-12:40:55
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using BMI_CIMS as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2010/05/31-12:40:55
HS_FDS_CONNECT_INFO = "BasicServer-RTDB"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2010/05/31-12:40:55
dsn:BasicServer-RTDB, name:BMI_CIMS
optn:
##>Connect Parameters (len=43)<##
## DSN=BasicServer-RTDB;
#! UID=BMI_CIMS;
#! PWD=*
Exiting hgogenconstr, rc=0 at 2010/05/31-12:40:56
DriverName:SIMCLT32.DLL, DriverVer:7.00.0101
DBMS Name:RTDB, DBMS Version:04.21.1630
Exiting hgocont, rc=0 at 2010/05/31-12:40:56
Entered hgopoer at 2010/05/31-12:40:56
hgopoer, line 159: got native error 0 and sqlstate HYC00; message follows...
[SimbaLNA][Simba][SimbaEngine ODBC Driver]Driver not capable.
Exiting hgopoer, rc=0 at 2010/05/31-12:40:56
hgolgon, line 626: calling SQLGetInfo got sqlstate HYC00
Exiting hgolgon, rc=28500 at 2010/05/31-12:40:56 with error ptr FILE:hgolgon.c LINE:626 ID:GetInfo: Support catalogs
Entered hgoexit at 2010/05/31-12:40:56
Entered hgopoer at 2010/05/31-12:40:56
hgopoer, line 159: got native error 0 and sqlstate HY010; message follows...
[Microsoft][ODBC Driver Manager] Function sequence error
Exiting hgopoer, rc=0 at 2010/05/31-12:40:56
hgoexit, line 118: calling SQLFreeHandle got sqlstate HY010
Exiting hgoexit, rc=0 at 2010/05/31-12:40:56 with error ptr FILE:hgoexit.c LINE:118 ID:Free ENV handleHi,
Since the Gateway for ODBC 11g version, you need to use ODBC driver level 3 compliant.
There is a strong probability that your driver is not level 3 compliant.
Please can you check with ODBC provider if the driver is level 3 compliant.
Regards,
Mireille -
I configured MySQL in TestStand and making a query in TestStand like this:
Command :=> "SELECT * FROM crc_table ; " or "SELECT CRC_Value FROM crc_table ; " returns the total number of records without any errors.
But when I add the "where" clause
"SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= Locals.File_ID and crc_table.Version_ID = Locals.Version_ID and crc_table.Link_ID = Locals.Link_ID; "
I get the error as:
Error, The following SQL command failed: 'SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= Locals.File_ID and crc_table.Version_ID = Locals.Version_ID and crc_table.Link_ID = Locals.Link_ID; ...' Native error code -2147217887 0x80040e21 Microsoft OLE DB Provider for ODBC Drivers: ODBC driver does not support the requested properties. [Error Code: -10, User-defined error code.]
I tried the same syntax in MySQL Query Browser and got the correct result:
SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID= "FID1" and crc_table.Version_ID = "VID1" and crc_table.Link_ID = "L1";
I would appreciate your help.
Thank you,
VidulaVidula,
I am not completely sure if this is the cause of the error but it is something that will cause problems if it is not fixed. In your SQL statement you must properly concatenate your strings with your variables. In the statement you posted you were simply putting the variable names in the string, not actually pulling their values. To do so properly your query should look something like this:
"SELECT crc_table.CRC_Value FROM crc_table where crc_table.File_ID='"+Locals.File_ID+"' and crc_table.Version_ID = '"+ Locals.Version_ID+"' and crc_table.Link_ID = '"+Locals.Link_ID+"' ;"
This way we are using the values of the variables in conjunction with the text strings. In this case the usage of single quotes (') casts the variables as strings so you may need to change this character sequence, but from the second example you gave I think that your variables are of type string so this should work fine.
Message Edited by herosphro on 04-01-2008 03:52 PM
John B.
Applications Engineer
National Instruments -
Hello,
I have installed on my Microsoft SBS 2003 server:
1. MSSQL server 2008 R2
We use this SQL server services:
SQL Server (ACRONIS) (Acronis backup software)
SQL Server (MSSQLSERVER)
2. Microsoft SQL server desktop engine (service SBSMONITORING)
Note: I recently performed on the server
reinstall SBS monitoring.
Since then, there are problems with backups. In
application event log appear errors
ID 24583 (source SQLWRITER):
Error description:
Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005. SQLSTATE: HYT00, Native Error: 0
Source: Microsoft SQL Server Native Client 10.0
Error message: Login timeout expired
SQLSTATE: 08001, Native Error: 10061
Source: Microsoft SQL Server Native Client 10.0
Error message: 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, Native Error: 10061
Error state: 1, Severity: 16
Source: Microsoft SQL Server Native Client 10.0
Error message: TCP Provider: Nemohlo být vytvořeno žádné připojení, protože cílový počítač je aktivně odmítl.
DBPROP_INIT_DATASOURCE: ROSE\SBSMONITORING
DBPROP_INIT_CATALOG: master
DBPROP_AUTH_INTEGRATED: SSPI
Can you help me in solving this problém?
Thank you in advance for your help.
JazabraThank for your reply.
I send more information:
SQL server is running
Firewall is not switched (i am connecting locally via SQL management studio)
SQL server not listening on TCPIP port:
"2014-09-25 09:47:49.17 server Microsoft SQL Server 2000 - 8.00.760 (Intel X86)
Dec 17 2002 14:22:05
Copyright (c) 1988-2003 Microsoft Corporation
Desktop Engine on Windows NT 5.2 (Build 3790: Service Pack 2)
2014-09-25 09:47:49.19 server Copyright (C) 1988-2002 Microsoft Corporation.
2014-09-25 09:47:49.19 server All rights reserved.
2014-09-25 09:47:49.19 server Server Process ID is 16752.
2014-09-25 09:47:49.19 server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL$SBSMONITORING\LOG\ERRORLOG'.
2014-09-25 09:47:49.19 server SQL Server is starting at priority class 'normal'(8 CPUs detected).
2014-09-25 09:47:49.19 server Performance monitor shared memory setup failed: -1
2014-09-25 09:47:49.22 server SQL Server configured for thread mode processing.
2014-09-25 09:47:49.22 server Using dynamic lock allocation. [500] Lock Blocks, [1000] Lock Owner Blocks.
2014-09-25 09:47:49.39 spid3 Starting up database 'master'.
2014-09-25 09:47:49.70 server Using 'SSNETLIB.DLL' version '8.0.766'.
2014-09-25 09:47:49.70 spid5 Starting up database 'model'.
2014-09-25 09:47:49.72 spid3 Server name is 'ROSE\SBSMONITORING'.
2014-09-25 09:47:49.72 spid3 Skipping startup of clean database id 4
2014-09-25 09:47:49.72 spid3 Skipping startup of clean database id 5
2014-09-25 09:47:49.84 spid5 Clearing tempdb database.
2014-09-25 09:47:50.20 spid5 Starting up database 'tempdb'.
2014-09-25 09:47:50.24 spid3 Recovery complete.
2014-09-25 09:47:50.47 server SQL server listening on Shared Memory, Named Pipes.
2014-09-25 09:47:50.47 server SQL Server is ready for client connections
2014-09-25 09:47:51.13 spid51 Starting up database 'msdb'.
2014-09-25 09:47:51.61 spid51 Using 'xpsqlbot.dll' version '2000.80.760' to execute extended stored procedure 'xp_qv'.
2014-09-25 09:48:50.97 spid54 Using 'xpstar.dll' version '2000.80.760' to execute extended stored procedure 'xp_regread'.
2014-09-25 10:45:02.46 spid54 Starting up database 'SBSMonitoring'."
I try setting connection parameters via SQL server configuration manager, but service SBSmonitoring NOT appeared in list of "SQL Server services" (?).
How fix this issue.
Thank in advance for help. -
Failed to Publish: Native Error: Server name or address could not be resolved
I'm trying to publish my RoboHelp HTML project to our server
(dentiis01). I get the following error:
"Warning: Failed to publish to "dentiis01". reason:
Connection failed. Please check the connection and post again.
Native Error:The server name or address could not be
resolved."
(Note: The person who originally published the project has
left the company, so I'm not sure what options he specified).
I have tried substituting the IP address for the server. I
have also tried specifying with and without the port number (8000
in our case). I can successfully ping the server using either the
host name or IP address. I can view the current RoboHelp content
via a browser. So, it appears the engine is running properly.
Please let me know if you have any suggestions.
Thanks.I resolved my problem. I was trying to publish from "WebHelp
(Primary Layout)" instead of "WebHelp Pro". Now the publish
operation seems to be working fine.
Thanks,
Greg -
Sun One & mySQL: Native Error Code: 2013
This one's really starting to get me down. I've found many forums of programmers with the same problem, but no real solution in sight.
The error only occurs periodically and when I refresh the page a few times it loads fine. Here's the code:
Dim conn, rs, query
set conn = createobject("ADODB.Connection")
conn.open = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=db_server; DATABASE=my_db; UID=user; PWD=pwd; OPTION=35;"
query = "SELECT * FROM tblFranchise ORDER BY Franchise"
set rs = conn.Execute( query )
'display some data
Call rs.Close()
Call conn.Close()
and here's that awful error message:
Error Type:
ADODB.Recordset.1 (0x80004005)
SQLState: S1000 Native Error Code: 2013 [TCX][MyODBC]Lost connection to MySQL server during query
/home.asp, line 127
Any help much appreciated.Actually you can just forget about the OPTION setting, I was trying something else, but it's not present in the code that's giving me the error. I'm hosting the site with a third party, but I believe they're using Apache 1.3.26
As for the Sun One version, I'm not sure, but I recieved the following message with the above error:
HTTP 500.100 - Internal Server Error - ASP error
Apache/1.3.26 (Unix) Sun-ONE-ASP/4.0.0 mod_gzip/1.3.26.1a mod_auth_pam/1.0a PHP/4.3.8 PHP/3.0.18 mod_ssl/2.8.10 OpenSSL/0.9.6g mod_perl/1.27 mod_jk/1.1.0 FrontPage/5.0.2.2510 -
Connection Failed, Native Error
A staff member is receiving a Publishing Failed message:
Connection Failed. Please check connection and post again. Native
Error: Cannot accept uploading file. Further processing is stopped.
He is using RH6. Some of the language used in the project is
portugeise. I am wondering if this might be the problem if certain
characters are used in conjunction with the language. Any
familiarity with this error message?They are using RH 6 and server 6. They have setup the
permissions correctly. They also ran a test project, which did
publish successfully, but when they try to publish the original
project, publishing fails with the message: Native Error: Cannot
accept uploading file. Further processing is stopped. -
im updating a db with a stored proc call
and one field in my db is a err_desc column to pass native java errors to the db
should i be passing in the Exceptions here or am i going about this wrong???
any suggestions - thanks in advance
public static int updateStatus()
Connection conn = null;
int statcodeout = 0;
try
conn = getDbConnection(USERID, PWD, SERVER);
CallableStatement cs = conn.prepareCall("{CALL " + UPDATE + "(?, ?, ?, ?, ?, ?, ?, ?, ?)}");
cs.setInt(1,getId());
cs.setInt(2,0);
cs.setInt(3,0);
cs.setString(4, err_desc);//String to pass native error to??
cs.setString(5,SERVER);
cs.setString(6,DIR);
cs.setString(7,getName());
cs.setInt(8,getFileSize());
cs.setInt(9,0);
cs.registerOutParameter(9, Types.INTEGER);
cs.executeUpdate();
statcodeout = cs.getInt(9);
cs.close();
catch(Exception e)
e.printStackTrace();
finally
try
conn.close();
catch(SQLException sqle)
sqle.printStackTrace();
return statcodeout;
}yea - that is why im confused too - it should not update
if it fails right??? i Aye.
think my instuctoins were not clear??Aye
but i started to do something like thisAye, I use this:
final StringWriter sw = new StringWriter();
throwable.printStackTrace( new PrintWriter( sw ) );
String s = sw.toString();for an email alert.
im going to have to ask again, Aye :-) -
How to recover from Oracle XA Error Native Error 24776?
Hello,
I believe that I have a connection leak somewhere and that an Oracle
connection is hung.
I get the following error when trying to access the data source
getConnection method.
How can I recover from this? The WL Server console shows 0 connections
to the connection pool, but obviously some are in there.
Thanks,
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
has occur
ed in the transaction branch start() failed on resource 'Oracle Connection
Pool': XAER_RMERR : A resource manager error has occured in the
transaction bra
nch
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occur
red. Native Error: 24776
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:203)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:385)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:343)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:305)Steven ,
It's already been answered:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&threadm=4009ccc9%241%40newsgroups.bea.com&rnum=1&prev=/groups%3Fq%3D24776%2520OracleImplXAResource%26hl%3Den%26lr%3D%26ie%3DUTF-8%26c2coff%3D1%26sa%3DN%26tab%3Dwg
Regards,
Slava Imeshev
"Steven Ostrowski" <[email protected]> wrote in message news:40ce1480$1@mktnews1...
Hello,
I believe that I have a connection leak somewhere and that an Oracle
connection is hung.
I get the following error when trying to access the data source
getConnection method.
How can I recover from this? The WL Server console shows 0 connections
to the connection pool, but obviously some are in there.
Thanks,
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error
has occur
ed in the transaction branch start() failed on resource 'Oracle Connection
Pool': XAER_RMERR : A resource manager error has occured in the
transaction bra
nch
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occur
red. Native Error: 24776
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:203)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:385)
at weblogic.jdbc.jta.DataSource.connect(DataSource.java:343)
at
weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSour
ce.java:305)
[att1.html] -
Native Error: [Database Vendor Code: 12154]
I am using vb.net 2005 with crystal 11 rel 2. Crystal uses oracle data provider for oracle db.
I get this error while running report from the vb application. After this error I have to restart the application and error goes away. My tnsfile points to correct database. I have used same file while starting the application. My code uses same logon credentails for crystal login.
This error does not occure all the time. It occurs only some time.Hello,
Thank you for the new info. You did not mention your Oracle client was version 11.1.
If you are also having issues within Crystal Reports itself I suggest you post this to the Report Design Forum. If it doesn't work in the designer it won't work in code either.
So yes this is possibly an issue with Crystal. Oracle may simply say it's our problem but until our Developers have a look at the problem we can't say for sure.
What you can do is post your question to the Design forum and see if this is a known issue. If it is and it has been tracked then you simply need to wait for the patch release. If it hasn't been tracked already I suggest you purchase a case on line to log this issue and get a dedicated support Engineer to work the case and escalate it with you. If R&D determines it is our problem then you'll get a refund for you case, if it turns out to be an Oracle issue then no refund.
Before you do that though try creating a new report using either our Native Oracle driver, it shows up in the list as Oracle Server, or ODBC and see if you get the same errors. It may be that the OLE DB driver has problems, either Oracles or the CR OLE DB driver. It also helps determine which part is having issues.
If you don't log the case then one of the SAP Report Design forum Moderators should be able to escalate the issue but it will have a lower priority than if you purchase a case.
Let us know what you decide to do?
Thank you
Don -
TimesTen 11.2 version : native error 778
Hello,
We are trying to integrate 64-bit 11.2.1_9 TimesTen. and we are getting the following error when performing UPDATE ....................... WHERE ROWID=? operation.
execute on 'SQLExecute(Select then Update: Update)
state=S1000 msg=[TimesTen][TimesTen 11.2.1.9.0 ODBC Driver][TimesTen]TT0778: Log write failed because filesystem is full -- file "logmgr.c", lineno 6873, procedure "sbLogRecInsert" native=778
following is the content of .odbc.ini:
[ODBC Data Sources]
LOCKS=TimesTen Driver
[ODBC]
Trace=0
TraceFile=
Installdir=/opt/TimesTen/64
[LOCKS]
Isolation=1
Driver=/opt/TimesTen/64/lib/libtten.so
DataStore=/tmp/TTDataStoreLocks.stor
AutoCreate=1
#Making overwrite to 1because of the following reason
#Specifies that the existing database should be overwritten with a new one when a connection is attempted.
OverWrite=0
DurableCommits=0
Logging=1
LogPurge=1
LockLevel=1
#Increasing the log file size to allow more than a client. else it was failing with an error. 64 is default.
LogFileSize=100
#LogBufSize is replaced by LogBufMB and the default value of LogBufMB is 64MB
LogBufMB=1000
PermSize=80
TempSize=55
PermWarnThreshold=80
TempWarnThreshold=80
Temporary=1
WaitForConnect=1
ExclAccess=0
ThreadSafe=1
SMPOptLevel = 0
Preallocate=0
MemoryLock=4
LogDir=/tmp/logs
1. Can some one please point out what's going wrong?
2. Is there a way to calculate LogBufMB and LogFileSzie?
Thanks.
PriyaYou store your transaction log files in LogDir=/tmp/logs
The error "TT0778: Log write failed because filesystem is full " indicates there is no more space on the disk on which /tmp/logs is created.
This is a Temporary datastore but it will still have transaction log files. -
Native Error: 12505 - listener could not resolve SID given in connection description
Hi - I am having great difficulties with this - 2 products, and
Aspect ACD telephony switch, and Crystal Decisions Seagate
software - the common link? Well, neither make the Oracle
Client, and will NOT help me resolve the error message I am
getting - when I go through Net8 Configureation, the tests etc
are successful, but when I attempt it from the ODBC test, I get
the message above.
This is my first posting here, so I apologise if there is a more
appropriate place for it.
With kindest regards, Mark Tait CGEYyou should properly configure the SQL*NET files - sqlnet.ora and
tns<ORACLESID>.ora file.
thx,
dan -
Transaction on Oracle 9i data source connection times out before JTA transaction
Hello,
I have a MDB with a long-running transaction (3600 second timeout).
In the MDB, I make a call to another EJB that has its transaction
attribute set to NotSupported (I do this because I need
non-transactional semantics in the called method).
If the EJB call take more than about a minute to complete, then I get a
datasource error when using the data source in the MDB after the return
(see error at bottom). However, if the call completes quickly, then I do
not get this error. It seems like the datasource connection somehow
times out, but I don't see where I can change this timeout.
pseudocode:
// timeout set to 3600 seconds
transactional MDB onMessage() {
// receive connection from Oracle BEA driver
// myEJB performLongOperation has transaction attribute
// set to NotSupported
String result = myEJB.performLongOperation();
// use connection from Oracle BEA driver
If the performLongOperation takes more than about a minute, then I get
the following error when using the connection after the operation:
Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
valid start() failed on resource 'Oracle IDENT Connection Pool':
XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occurred. Native Error: 24756
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:218)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at
weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
at
weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
a:80)
at
weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)Thanks for the reply.
I don't have contract customer support access with BEA, and thus I can't
download the patch. Is there any other workaround for this?
Thanks
Slava Imeshev wrote:
Steven,
Please check this:
http://www.viewtier.com/newsgroups/thread.jspa?threadID=20&tstart=0
Hope this helps.
Regards,
Slava Imeshev
"Steven Ostrowski" <[email protected]> wrote in message news:40cf35cc@mktnews1...
I have a MDB with a long-running transaction (3600 second timeout).
In the MDB, I make a call to another EJB that has its transaction
attribute set to NotSupported (I do this because I need
non-transactional semantics in the called method).
If the EJB call take more than about a minute to complete, then I get a
datasource error when using the data source in the MDB after the return
(see error at bottom). However, if the call completes quickly, then I do
not get this error. It seems like the datasource connection somehow
times out, but I don't see where I can change this timeout.
pseudocode:
// timeout set to 3600 seconds
transactional MDB onMessage() {
// receive connection from Oracle BEA driver
// myEJB performLongOperation has transaction attribute
// set to NotSupported
String result = myEJB.performLongOperation();
// use connection from Oracle BEA driver
If the performLongOperation takes more than about a minute, then I get
the following error when using the connection after the operation:
Caused by: java.sql.SQLException: XA error: XAER_NOTA : The XID is not
valid start() failed on resource 'Oracle IDENT Connection Pool':
XAER_NOTA : The XID is not valid
javax.transaction.xa.XAException: [BEA][Oracle JDBC Driver]Oracle XA
Error Occurred. Native Error: 24756
at
weblogic.jdbcx.oracle.OracleImplXAResource.checkError(Unknown Source)
at weblogic.jdbcx.oracle.OracleImplXAResource.start(Unknown Source)
at weblogic.jdbcx.base.BaseXAResource.start(Unknown Source)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
at
weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
urceInfo.java:1075)
at
weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
sourceInfo.java:1007)
at
weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
ourceInfo.java:218)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
rverTransactionImpl.java:419)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1
250)
at
weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:185)
at
weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.jav
a:80)
at
weblogic.jdbc.wrapper.Connection.createStatement(Connection.java:297)
Maybe you are looking for
-
Install eyetv hybrid software on new Mac mini
I just bought the new Mac mini ( without DVD drive) and was wondering if there is any way to get the eyetv hybrid software on it? I previously had the old Mac mini and was able to insert the DVD for the install. I just didn't think about that befor
-
InDesign.exe CS5 crashes on exit
I have a marketing user here who has an annoying, but not a showstopping error every time she closes InDesign. InDesign CS5 works fine, but when she is done and closes out, it causes this message: DDE Server Window: InDesign.exe - Application Error T
-
How do i have preview use outlook for mail as my primary email?
i am usning Preview on my MacBook Air, when ever i try to mail a documenet or a pdf in outlook, te Mail stamp jumps up which i do not use. My primary and only email sysmtem that i want to use is Outlook. can anyone suggest how to find where i can p
-
Problem in adding parameter in selection screen
Hi, I am trying to add a parameter on the selection screen of a standard transaction(EG90 in ISU system).I added it through enhancement point but i am not getting how to maintain text for that parameter.As it is a standard transaction when i am going
-
My printer, hp photosmart c4200 all-in-one is stuck in scan mode
My HP printer--HP Photosmart C4200 All-in-One is stuck in scan mode. I have tried holding start button 60 sec, unplug from power supply, hold while I plug back in with no luck.