XA error with Oracle 9.2.0.x / Weblogic 7 sp2

Hi,
I have encountered some problems when accessing Oracle 9i (9.2.0.2) via
Weblogic7 sp2 .
The problem occurs when a stateless session bean invokes a DAO that get a
connection from the datasource. The SLSB transaction attribute is set to
'required'.
This problem does not when using oracle.driver.OracleDriver or using Oracle
9.0.1.
Please help.
Thanks!
Regards...
<JDBCConnectionPool
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
SupportsLocalTransaction="false" Targets="myserver"
URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
<JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
PoolName="MyConnectionPool" Targets="myserver"/>
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
occured in the transaction branch start() failed on resource
'MyConnectionPool': XAER_RMERR : A resource manager error has occured in the
transaction branch
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
at
weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.ja
va:1165)
at
weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.
java:1108)
at
weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourceInfo.j
ava:287)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
nsactionImpl.java:391)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1143)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1098)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:145)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:211)
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:139)
at
weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
Attached the error log and config.
[apps.log]
[config.xml]

Which version of oracle database are you trying to connect to? we have seen some problems with oracle 920 thin driver. It will be good to use 9013 thin driver instead for now.
Mitesh
Wee Hong Ee wrote:
Hi,
I have encountered some problems when accessing Oracle 9i (9.2.0.2) via
Weblogic7 sp2 .
The problem occurs when a stateless session bean invokes a DAO that get a
connection from the datasource. The SLSB transaction attribute is set to
'required'.
This problem does not when using oracle.driver.OracleDriver or using Oracle
9.0.1.
Please help.
Thanks!
Regards...
<JDBCConnectionPool
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
SupportsLocalTransaction="false" Targets="myserver"
URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
<JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
PoolName="MyConnectionPool" Targets="myserver"/>
java.sql.SQLException: XA error: XAER_RMERR : A resource manager error has
occured in the transaction branch start() failed on resource
'MyConnectionPool': XAER_RMERR : A resource manager error has occured in the
transaction branch
oracle.jdbc.xa.OracleXAException
at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
at
weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.ja
va:1165)
at
weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.
java:1108)
at
weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourceInfo.j
ava:287)
at
weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTra
nsactionImpl.java:391)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1143)
at
weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1098)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:145)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:211)
at
weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.ja
va:139)
at
weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:81
Attached the error log and config.
Name: apps.log
apps.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: x-uuencode
<?xml version="1.0" encoding="UTF-8"?>
<!--If your domain is active, please do not edit the config.xml file. Any changes made to that file while the domain is active will not have any effect on the domain's configuration and are likely to be lost. If your domain is inactive, you may edit this file with an XML editor. If you do so, please refer to the BEA Weblogic Server Configuration Reference documentation available from http://edocs.bea.com/wls/docs70/config_xml. In general, we recommend that changes to your configuration file be made through the Administration Console.-->
<Domain ConfigurationVersion="7.0.0.0" Name="mydomain">
<Application Deployed="true" Name="DefaultWebApp"
Path="C:\bea\user_projects\mydomain\applications"
StagedTargets="" TwoPhase="true">
<WebAppComponent Name="DefaultWebApp" Targets="myserver" URI="DefaultWebApp"/>
</Application>
<Application Deployed="true" Name="certificate"
Path=".\applications" StagedTargets="" TwoPhase="false">
<WebAppComponent Name="certificate" Targets="myserver" URI="certificate.war"/>
</Application>
<Application Name="poc" Path="D:\HSA\src\deploy\poc.ear"
StagingMode="nostage" TwoPhase="true">
<EJBComponent Name="poc-hsa_waf-ejb.jar" Targets="myserver" URI="poc-hsa_waf-ejb.jar"/>
<EJBComponent Name="user-ejb.jar" Targets="myserver" URI="user-ejb.jar"/>
<WebAppComponent Name="poc.war/" Targets="myserver" URI="poc.war/"/>
</Application>
<ApplicationManager Name="mydomain"/>
<EmbeddedLDAP
Credential="{3DES}PMLvNRl/VFtDLKDdfidrUP5bYwm+FAcgdR+UXOY0YiY=" Name="mydomain"/>
<FileRealm Name="wl_default_file_realm"/>
<JDBCConnectionPool
DriverName="oracle.jdbc.xa.client.OracleXADataSource"
InitialCapacity="10" MaxCapacity="10" Name="MyConnectionPool"
Password="{3DES}EuCgBGHa7vhKa8GfpTjs4w==" Properties="user=psm"
ShrinkPeriodMinutes="1" ShrinkingEnabled="false"
SupportsLocalTransaction="false" Targets="myserver" URL="jdbc:oracle:thin:@192.168.142.153:1521:oscdev"/>
<JDBCTxDataSource JNDIName="MyDataSource" Name="MyDataSource"
PoolName="MyConnectionPool" Targets="myserver"/>
<JTA Name="mydomain"/>
<Log FileName=".\wl-domain.log" Name="mydomain"/>
<PasswordPolicy Name="wl_default_password_policy"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
<SNMPAgent Name="mydomain"/>
<Security GuestDisabled="false" Name="mydomain"
PasswordPolicy="wl_default_password_policy"
Realm="wl_default_realm" RealmSetup="true"/>
<SecurityConfiguration
Credential="{3DES}22b8VM1wFkNwKqrWc093vhUk4XsQKkozia+O7H8K4I602imSpWAOlikFQyDOvETIj6mhrD+D+2/Ays3XL4PM//3Y2/TeWxHb" Name="mydomain"/>
<Server ListenPort="7001" Name="myserver" NativeIOEnabled="true"
ServerVersion="7.0.0.0" XMLEntityCache="XMLCacheMBean_myserver">
<COM Name="myserver"/>
<ExecuteQueue Name="default" ThreadCount="15"/>
<IIOP Name="myserver"/>
<JTAMigratableTarget Cluster="" Name="myserver" UserPreferredServer="myserver"/>
<KernelDebug Name="myserver"/>
<Log FileName=".\myserver\myserver.log" Name="myserver"/>
<SSL Enabled="true" HostnameVerificationIgnored="true"
ListenPort="7002" Name="myserver"
ServerCertificateChainFileName="ca.pem"
ServerCertificateFileName="democert.pem" ServerKeyFileName="demokey.pem"/>
<ServerDebug Name="myserver"/>
<ServerStart Name="myserver"/>
<WebServer DefaultWebApp="DefaultWebApp"
LogFileName=".\myserver\access.log" LoggingEnabled="true" Name="myserver"/>
</Server>
<XMLEntityCache Name="XMLCacheMBean_myserver"/>
</Domain>

Similar Messages

  • XA error with Oracle 9.2.0.x / Weblogic 6.1

    I have encountered some problems when accessing Oracle 9i (9.2.0.2) via Weblogic6.1
    sp3 .
    The problem occurs when a stateless session bean invokes a DAO that get a connection
    from the datasource.
    04.03.2003 17:29 ERROR (SingleTableDAO.java:394) - no.ergo.ergosolutions.ergoconnect.access.jdbc.SingleTableDAO
    delete OBJECTSTORE: XA error: XAER_NOTA : The XID is not valid start() failed
    on resource 'ECJDBCConnectionPoolXA' null
    04.03.2003 17:29 ERROR (SUProxyBean.java:291) - no.ergo.ergosolutions.ergoconnect.adapter.su.SUProxyBean
    SQLException caught in exportOrdre, Rollback will be performed.

    which driver are you using by the way?
    If you are using oracle thin driver, I suggest you to use oracle9013 thin driver with 9202 database.
    Thanks,
    Mitesh
    Michael Duale wrote:
    I have encountered some problems when accessing Oracle 9i (9.2.0.2) via Weblogic6.1
    sp3 .
    The problem occurs when a stateless session bean invokes a DAO that get a connection
    from the datasource.
    04.03.2003 17:29 ERROR (SingleTableDAO.java:394) - no.ergo.ergosolutions.ergoconnect.access.jdbc.SingleTableDAO
    delete OBJECTSTORE: XA error: XAER_NOTA : The XID is not valid start() failed
    on resource 'ECJDBCConnectionPoolXA' null
    04.03.2003 17:29 ERROR (SUProxyBean.java:291) - no.ergo.ergosolutions.ergoconnect.adapter.su.SUProxyBean
    SQLException caught in exportOrdre, Rollback will be performed.

  • Deployment Manager Error with Oracle Weblogic Server 10.3.1

    I have installed Identity Manager 9.1.0.2 (patch upgraded from 9.1.0.1) on OEL 5.3 64bit and Weblogic 10.3.1
    Database:Oracle 11gR2 (remote machine).
    **I am aware that IM 9.1.0.2 is not certified on Weblogic 10.3.1 (it is only certified on 10.3),
    The installation was successful and OIManager is up and running. Able to create Users, Resources etc. as well.
    As part of configuring OIM Connectors tried to Import .xml file using Import option from Deployment Management section as below and the following error was displayed.
    "Either your session timed out or you are trying to access a page without logging in".
    Did all workarounds like enabling java, changing browsers, restarting machine etc as per the below discussion but in vain.
    Deployment Manager Error with Oracle Weblogic Server
    Can any one suggest any workaround or solution for this problem.
    Or atleast can any one confirm there is no Identity manager available on this date which is compatible with 10.3.1? and cannot be continued further.
    Thanks in Advance
    Sudheer
    Edited by: SudheerPrabhala on Oct 20, 2009 1:26 AM

    You are facing this issue because you're using a non certified combination.
    Other folks who tried to use OIM in 10.3.1 ended up in the same problem you're facing.

  • ORA-24816 error with oracle 10 driver

    Friends,
    I am getting the following error with Oracle 10 driver while trying to insert data > 4k into a LONG column. The table also contains another column of type varchar2(4000). The code works perfectly fine with Oracle 9i driver.
    ORA-24816: Expanded non LONG bind data supplied after actual LONG or LOB column
    Kindly let me know if this is a programming error or a driver problem.
    Thanks,
    Vinay

    this driver you mentioned, is it the jdbc driver?
    ORA-24816:     Expanded non LONG bind data supplied after actual LONG or LOB column
    Cause:     A Bind value of length potentially > 4000 bytes follows binding for LOB or LONG.
    Action:     Re-order the binds so that the LONG bind or LOB binds are all at the end of the bind list.
    using this forum may be more efficient -> http://forums.oracle.com/forums/forum.jspa?forumID=99&start=0

  • PeopleSoft 8.53 Integration Error with Oracle SES

    My System Details are :
    Machine 1
    Hostname : host1
    Port : port1
    Application : PeopleSoft 8.53 + HCM 9.2 + Oracle 11g
    OS : Windows 7 (64 Bit)
    Machine 2
    Hostname : host2
    Port : port2
    Application :Oracle Secure Enterprise Search 11.1.2.2.0
    OS : Windows 2008 Server (64 Bit)
    No Error was encountered while installation and systems started without any error.
    Now when trying to integrate PeopleSoft with Oracle SES.
    I entered all the details as per installation docs at PeopleTools->Search Framework->administration->Search Instance
    When I click on Ping I encounter the following error :
    Ping Test Result: Failure. Exception caught GetMessageText: No default message. (0,0) (262,612)
    I am behind a proxy server and have made the required entries in integrationGateway.properties files for proxy server.
    Also have added userid:pwd in Proxy-Authorization property for HTTPTARGET connector ID.
    The Errorlog.html contains the following error:
    Type - Error
    ErrorLevel - Standard Gateway Exception
    Description - HttpTargetConnector:ExternalApplicationException. External System responded with an Error status.
    Exception -  PeoplesoftListeningConnector: GeneralFrameworkException 
    MessageCatalog  
    MessageSet: 158  MessageID: 10623  MessageParms: HttpStatusCode returned : 407
    Stack Trace
    com.peoplesoft.pt.integrationgateway.common.ExternalApplicationException: HttpTargetConnector:ExternalApplicationException. External System responded with an Error status.
    at com.peoplesoft.pt.integrationgateway.targetconnector.HttpTargetConnector.send(HttpTargetConnector.java:1159)
    at com.peoplesoft.pt.integrationgateway.service.BasicConnectorInvocator.execute(BasicConnectorInvocator.java:131)
    at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.invokeService(GatewayManager.java:147)
    at com.peoplesoft.pt.integrationgateway.framework.GatewayManager.connect(GatewayManager.java:191)
    at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.doPost(PeopleSoftListeningConnector.java:183)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at com.peoplesoft.pt.integrationgateway.listeningconnector.PeopleSoftListeningConnector.service(PeopleSoftListeningConnector.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.peoplesoft.pt.integrationgateway.common.IBFilter.doFilter(IBFilter.java:84)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Request
    Message-ID: <1975883609.1375092327640.JavaMail.userId@host1>
    Date: Mon, 29 Jul 2013 15:35:27 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related; boundary="Integration_Server_MIME_Boundary"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    PeopleSoft-ToolsRelease: 8.48
    --Integration_Server_MIME_Boundary
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    <?xml version="1.0"?><IBInfo><ExternalOperationName><![CDATA[GETAPIVERSION.V1]]></ExternalOperationName><OperationType>sync</OperationType><From><RequestingNode><![CDATA[PSFT_HR]]></RequestingNode><Protocol>http</Protocol><WS-Security><WSTokenType><![CDATA[]]></WSTokenType><WSTokenEncrypted></WSTokenEncrypted><WSTokenSigned></WSTokenSigned><WSTokenEncryptLevel></WSTokenEncryptLevel><WSRequestAliasName><![CDATA[]]></WSRequestAliasName></WS-Security><SAML-CertAlias><![CDATA[]]></SAML-CertAlias><SAML-QualifierName><![CDATA[]]></SAML-QualifierName><SAML-Issuer><![CDATA[]]></SAML-Issuer><SAML-SubjectName><![CDATA[]]></SAML-SubjectName><SAML-Signature><![CDATA[]]></SAML-Signature><SAML-TokenData>***deleted for security purposes****</SAML-TokenData><URIResourceIndex>-1</URIResourceIndex><SegmentsUnOrder>N</SegmentsUnOrder></From><ContentSections><ContentSection><ID>ContentSection0</ID><ContentType>text/plain; charset=UTF-8</ContentType><ContentTransfer>8bit</ContentTransfer><NonRepudiation>N</NonRepudiation></ContentSection></ContentSections><Connector><ConnectorClassName><![CDATA[HttpTargetConnector]]></ConnectorClassName><ConnectorParameters><ConnectorParam><Name><![CDATA[Method]]></Name><Value><![CDATA[POST]]></Value></ConnectorParam><ConnectorParam><Name><![CDATA[URL]]></Name><Value><![CDATA[http://host2:port2/search/api/admin/AdminService]]></Value></ConnectorParam><ConnectorParam><Name><![CDATA[SOAPUpContent]]></Name><Value><![CDATA[Y]]></Value></ConnectorParam></ConnectorParameters><ConnectorHeaders><Header><Name><![CDATA[sendUncompressed]]></Name><Value><![CDATA[Y]]></Value></Header><Header><Name><![CDATA[Content-Type]]></Name><Value><![CDATA[text/xml; charset=utf-8]]></Value></Header></ConnectorHeaders></Connector><AttachmentSection ResponseAsAttachment="N"></AttachmentSection></IBInfo>
    --Integration_Server_MIME_Boundary
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-ID: ContentSection0
    Content-Disposition: inline
    <?xml version="1.0"?>
    <getAPIVersion xmlns="http://search.oracle.com/Admin"><credentials xmlns=""><userName>eqsys</userName><password>***deleted for security purposes****</password></credentials></getAPIVersion>
    --Integration_Server_MIME_Boundary--
    Response
    Message-ID: <2136182902.1375092327641.JavaMail.userId@host1>
    Date: Mon, 29 Jul 2013 15:35:27 +0530 (IST)
    Mime-Version: 1.0
    Content-Type: multipart/related;
    boundary="----=_Part_8_1450854121.1375092327639"
    Content-ID: PeopleSoft-Integration-Broker-Internal-Mime-Message
    ------=_Part_8_1450854121.1375092327639
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: IBInfo
    <?xml version="1.0"?><IBInfo><Status><StatusCode>40</StatusCode><MsgSet>158</MsgSet><MsgID>10623</MsgID><Parameters count="1"><Parm>HttpStatusCode returned : 407</Parm></Parameters><DefaultTitle>Integration Gateway Error</DefaultTitle></Status><ContentSections><ContentSection><ID>ContentSection0</ID><ContentType>text/plain; charset=UTF-8</ContentType><ContentTransfer>8bit</ContentTransfer><NonRepudiation>N</NonRepudiation></ContentSection></ContentSections></IBInfo>
    ------=_Part_8_1450854121.1375092327639
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Content-Disposition: inline
    Content-ID: ContentSection0
    <HEAD><TITLE>Proxy Authorization Required</TITLE></HEAD>
    <BODY BGCOLOR="white" FGCOLOR="black"><H1>Proxy Authorization Required</H1><HR>
    <FONT FACE="Helvetica,Arial"><B>
    Description: Authorization is required for access to this proxy</B></FONT>
    <HR>
    <!-- default "Proxy Authorization Required" response (407) -->
    </BODY>
    ------=_Part_8_1450854121.1375092327639--
    I have checked the required entries in integrationGateway.properties files for proxy server.
    Also have checked the userid:pwd entered in Proxy-Authorization property for HTTPTARGET connector ID.
    I have restarted the servers and machines as well but still the same error.
    Kindly help me ?

    RCC wrote:
    I agree with Hakan, sounds like your problem is getting to the proxy.
    Is the SES server on the same network as PS?  Or is it really somewhere else? Is this some kind of home setup since you are running PS on Win 7?  If SES is on the same network as PS, I would drop the proxy config and test that way first.  Get it working without the extra complexity, then add in Proxy.  You can test connectivity from PS to SES with telnet or just browsing to SES.
    Thanks for the response RCC.
    The PS is a Demo Instance being used for study purpose. Both the machines are on the same network.
    I tried the ping after removing the entries in integrationGateway.properties files for proxy server and it worked.
    Ping, Test Login and Validate are successful.
    I get the following error when I check Proxy Login.
    Proxy login failed : Invalid credentials for the federation entity (262,1317) (262,1318)
    I have created Federation Trusted Entity key by the name HCM92 on Oracle SES side and am using the same ID and password in the Query Service Credentials on the Search Instance Properties Page.
    I was not getting any error in any log file related to this.
    Kindly help.

  • Sqlj runtime error with oracle 10G in Websphere6 or 5.1

    We are trying to migrate from oracle 9i to 10G and we are compiled all our sqlj code with codegen = -oracle option.(previously we used to use codegen=-jdbc which for some reason doesnot work).it compiles fine with out any erros.. But when we try to run then get this exception.
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
    at sqlj.runtime.ref.ConnectionContextImpl.getOracleConnection(ConnectionContextImpl.java:167)
    at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(ExecutionContext.java:1397)
    We are using ojdbc14.jar that came with oracle 10G.
    Hope any one can give any pointers.

    I'm having same issue - but I'm having it when I try to invoke a method that contains a database Object type from a Tibco Business Works Process called a Java Method.
    How exactly do you do the codegen=iso configuration?
    I've tried:
    1. Project Properties / Compiler SQLJ and then select from Code Generation drop down iso.
    2. From Connections / Database / Navigate to package / right-click / Generate Java / Browse to my custom jpub.properties file where I have tried multiple entries such as (by themselves and in some combination.:
    - jpub.codegen=jdbc
    - jpub.codegen=iso
    - jpub.compatible=9i
    - jpub.compatible=8i
    - compatible=both8i
    - jpub.usertypes=oracle
    - jpub.compatible=customdatum
    - jpub.compatible=sqlj
    I've also played with changing from the default some of the Mapping Options in Connections / Database / Navigate to package / right-click / Generate Java / Mapping Options.
    This doc here, says that code should change (section 6 JPublisher Input Files - based on configuration of Input files)
    Oracle® Database
    JPublisher User's Guide
    10g Release 2 (10.2)
    B14188-01
    No matter what I do, the code that gets generate is the same.
    Also, the documentation talks about running things from the command line but how exactly do you do that? Do I need to be in specific directory? I tried the c:\ C:\jdev\system and c\jdev\ and c:jdev\bin and always get error message: 'jpub' is not recognized as an internal or external command, operable program or batch file.
    I've built a java client in JDeveloper to successfully call the same method and I don't see the error.
    Edited by: disaak on Mar 9, 2010 11:51 AM

  • Java.sql.SQLException: Internal Error with oracle.sql.ARRAY getArray()

    hi,
    I am having having problems with the getArray() of oracle.sql.ARRAY.
    Here are the details:
    Oracle Database - 9.2.0.6. The JDBC driver used -10.2.0.1 jar.(the latest available).
    I am calling a stored procedure from java, that has out param as a collection (VARRAY) of a user defined type.
    The stored procedure works fine, if the user/schema used to connect,contains actual type, and i am able to extract the user defined object from the oracle.sql.ARRAY, via getArray().
    But if i use a different user to connect which has public synonyms and execute rights to the actual type, i get the following error:
    java.sql.SQLException: Internal Error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
         at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
         at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
         at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
         at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
         at oracle.sql.ARRAY.getArray(ARRAY.java:370)
    The problem is happening because we have 2 different users to connect to the database. one is the dba user, which contains all the types, packages and other one the application user, which we are supposed to use, to connect via java. This application user does have access to types via public synonym, but it gives the above mentioned error.
    Please help :(.
    Regards,
    Gaurav.

    Hi avi,
    Even I am getting the same error inspite of preceding the type name with the same user who has created the type.
    It has displayed the array length.When I am trying to fetch each array, I am getting the error.
    ARRAY simpleArray = (ARRAY) cs.getObject(3);          
    System.out.println("Array is of length " + simpleArray.length());          ********************** The above stmt prints 2 records ******************
    But it goes to exception in the foll stmt..
    Object [] objArrStructArray = null;
    try{
         objArrStructArray = (Object[]) simpleArray.getArray();
    }catch(SQLException e){
         e.printStackTrace();
    Do u know abt this?
    The foll is the error which I am getting.
    java.sql.SQLException: Internal Error
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.initCollElemTypeName(OracleTypeCOLLECTION.java:1026)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.getAttributeType(OracleTypeCOLLECTION.java:1056)
         at oracle.jdbc.oracore.OracleNamedType.getFullName(OracleNamedType.java:110)
         at oracle.jdbc.oracore.OracleTypeADT.createStructDescriptor(OracleTypeADT.java:2262)
         at oracle.jdbc.oracore.OracleTypeADT.unpickle81(OracleTypeADT.java:1656)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81UPT(OracleTypeUPT.java:466)
         at oracle.jdbc.oracore.OracleTypeUPT.unpickle81rec(OracleTypeUPT.java:416)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody_elems(OracleTypeCOLLECTION.java:979)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81_imgBody(OracleTypeCOLLECTION.java:923)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unpickle81(OracleTypeCOLLECTION.java:743)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION._unlinearize(OracleTypeCOLLECTION.java:242)
         at oracle.jdbc.oracore.OracleTypeCOLLECTION.unlinearize(OracleTypeCOLLECTION.java:208)
         at oracle.sql.ArrayDescriptor.toJavaArray(ArrayDescriptor.java:963)
         at oracle.sql.ARRAY.getArray(ARRAY.java:353)
         at com.telstra.plo.data.NetworkDAO.findCablesInBuffer(NetworkDAO.java:730)
         at com.telstra.plo.data.NetworkDAOTest.testFindCablesInBuffer(NetworkDAOTest.java:45)
         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:324)
         at junit.framework.TestCase.runTest(TestCase.java:154)
         at junit.framework.TestCase.runBare(TestCase.java:127)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:118)
         at junit.framework.TestSuite.runTest(TestSuite.java:208)
         at junit.framework.TestSuite.run(TestSuite.java:203)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Thanks
    Archana

  • ORA-12505 error with oracle 11.2.0.2 RAC Grid

    Hi,
    We have just installed Oracle 11.2.0.2 with oracle clusterware. Every thing went well during the installation, How ever after install we can not connect to the RAC instance from clients, through jdbc OR oracle sql developer.
    We get following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
    After the installation we created service (myrac) through OEM Cluster Managed Database Services tab. and We are using service name as following:
    jdbc:oracle:thin:@orap-cluster.mydomain.com:1521:myrac
    Here below is Service TNS string:
    myrac = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = orap-cluster.mydomain.com)(PORT = 1521))(LOAD_BALANCE = YES)(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = myrac)))
    Any help..??
    Cheers

    HI,
    to clarify:
    if you try with
    <SERVER>:<PORT>:<SID> you are accessing the server with a database SID, whereas
    <SERVER>:<PORT>/<SERVICE> will access a service.
    The SCAN Listener only know of services, and not of database SIDs.
    This is the reason you should always create separate services for your RAC databases, since only they are registered. If you connect via. a service the listener will forward you to (one of) the corresponding instances servicing the service.
    Database SIDs are only known to the local listener on the node (not to the SCAN listener). And SIDs actually should not be used anymore.
    However if you still need to access the SID you can use the virtual hostname of the server resp. the VIP address of the server in the connection and this will work:
    <VIP>:<PORT>:<SID>
    Note the SID of a RAC database is either myrac1 or myrac_1 (depending on administrator or policy managed database).
    I still would recommend using services and not SIDs.
    Furthermore the SCAN can only be resolved correctly by 11.2 clients.
    Any pre 11.2 client should use an address_list containing the SCAN VIPs:
    PRE112 =
    (DESCRIPTION =
    (LOAD_BALANCE=ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.41)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.42)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.43)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = pre112)
    If a application server does not understand / then try using the TNSNAMES entry directly:
    jdbc:oracle:thin:@(DESCRIPTION = (LOAD_BALANCE=ON)(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.41)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.42)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.43)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = pre112)))
    Hope that helps
    Regards
    Sebastian

  • Ifsmgr on solaris 2.6 errors with oracle.ifs...IfsApp

    When I attempt to start ifsmgr I get the following error.
    oracle.ifs.clients.admintool.client.IfsApp
    Did I miss anything during the installation process?
    -Krish

    Hello:
    I have the same problem with an only Adaptec AHA-2940, but it is bigger....i can't install Solaris with this problem.
    I am sure that it isn't hardware problem becouse i have 3 IBM PC Servers 315 and i have the same problem with all them.
    Some help would be very grateful.
    Hello,
    I have an intel box running Solaris 2.6 with Oracle
    8.i.
    There are 2 SCSI cards. The first one has the
    following devices. [0 = Seagate 9.5gig drive] [4 =
    Seagate tape drive] [6 = TEAC cdrom] [7 = adaptec 2940
    SCSI card].
    The Second has the following devices. [0 = Seagate
    9.5gig drive] [1 = Seagate 9.5gig drive] [7 = Adaptec
    2040 SCSI card].
    Solaris is partitioned as followed. 1 root drive. 1
    /opt drive. And 1 /backup drive.
    My problem is periodically we get Transport errors.
    Dec 2 08:15:45 HAFC unix: WARNING:
    /pci@0,0/pci9004,7861@4 (adp1):
    Dec 2 08:15:45 HAFC unix: timeout: abort
    request, target=1 lun=0
    Dec 2 08:15:45 HAFC unix: WARNING:
    /pci@0,0/pci9004,7861@4 (adp1):
    Dec 2 08:15:45 HAFC unix: timeout: abort device,
    target=1 lun=0
    Dec 2 08:15:45 HAFC unix: WARNING:
    /pci@0,0/pci9004,7861@4 (adp1):
    Dec 2 08:15:45 HAFC unix: timeout: reset target,
    target=1 lun=0
    Dec 2 08:15:45 HAFC unix: WARNING:
    /pci@0,0/pci9004,7861@4 (adp1):
    Dec 2 08:15:45 HAFC unix: timeout: early
    timeout, target=1 lun=0
    Dec 2 08:15:45 HAFC unix: WARNING:
    /pci@0,0/pci9004,7861@4/cmdk@1,0 (Disk8):
    Dec 2 08:15:45 HAFC unix: SCSI transport failed:
    reason 'incomplete': retrying command
    Like this. When they come it is by the thousands.
    Sometimes locking up the system. Many times the errors
    indicate a disk and give a block error or two. If I
    replace the disk. The problem usually goes away.
    Sometimes replacing the cable clears the problem.
    Sometimes this happens when there is no real activity
    on the server. I have applied patch 111031-01 witch
    was supposed to fix this problem. But it hasnt. Unless
    I have bad hardware. Is it possible?

  • ClassNotFound Error with Oracle 10g...please help!

    Hello everyone!
    I am currently using jdk 1.4.2_10 with Oracle 10g. I tried to connect to the database, like this:
    try{
    String driverName = "oracle.jdbc.driver.OracleDriver";
    String serverName = "***.***.*.*";
    String portNumber = "****";
    String sid = "****";
    String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
    String usr = "*****";
    String pwd = "*****";
    //Load the JDBC driver
    Class.forName(driverName);
    //Connect to the base
    connect = DriverManager.getConnection(url,usr,pwd);
    catch(ClassNotFoundException e){
    System.out.println("Error---No database driver");
    catch(SQLException s){
    System.out.println("Error---No connection to the database");
    Here is what's in my classpath, (i added the ojdbc14.jar) :
    c:\oracle\product\10.2.0\client_2\jdbc\lib\ojdbc14.jar;
    C:\Program Files\QuickTime\QTSystem\QTJava.zip
    Can anyone please help me?
    It's really a problem, i've been searching for 2 days now.....
    thank you

    Most likely it is about
    oracle.jdbc.driver.OracleDriver
    You need to include Oracle JDBC lib.
    If you are using JDeveloper then:
    In Project properties click on Libraries
    Click AddLibrary
    In the list that appears choose Oracle JDBC

  • Petstore throws populateServlet error with Oracle thin driver

    When i point connection pool to Oracle database, i get the following error. The
    data is populated in the database, looks like when petstore is enumerating db
    tables and make sure all tables exist, this error is happening. Some how, database
    metadata coming as NULL. Has anybody tried petstore with Oracle JDBC driver?
    thanks,
    PopulateServlet Error:
    java.lang.NullPointerException java.lang.NullPointerException at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.checkTables(PopulateServlet.java:276)
    at com.sun.j2ee.blueprints.tools.populate.web.PopulateServlet.doGet(PopulateServlet.java:127)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2456)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    I believe that you do not have weblogicaux.jar in your classpath.
    -Selvan
    Laurie Cohen wrote:
    Im using Solaris 2.7 with WLS 5.1.0 and Commerce Server 2.0.1 with
    current service packs on both. JDK 1.2.1_04 and the Oracle thin driver
    (classes111.zip which I am told is the only one supported in this
    configuration). Has anyone seen this problem? Is it that the driver is
    using 1.1 and I only have 1.2 installed?
    devapp01% java -classpath
    /usr/local/weblogic/classes:/usr/local/weblogic/license utils.t3dbping
    t3://localhost:7601 username password "" oracle.jdbc.driver.OracleDriver
    jdbc:oracle:thin:@10.200.201.110:1521:q01c
    Connecting to WebLogic with the WebLogic JDBC Driver
    Exception in thread "main" java.lang.NoClassDefFoundError:
    com/sun/java/util/collections/ArrayList
    at weblogic.kernel.Kernel.declareProperties(Kernel.java:253)
    at weblogic.kernel.Kernel.ensureInitialized(Kernel.java:107)
    at weblogic.common.T3Client.<init>(T3Client.java:218)
    at weblogic.common.T3Client.<init>(T3Client.java:269)
    at weblogic.common.T3Client.<init>(T3Client.java:323)
    at weblogic.jdbcbase.t3.Driver.connect(Driver.java:121)
    at java.sql.DriverManager.getConnection(Compiled Code)
    at java.sql.DriverManager.getConnection(DriverManager.java:106)
    at utils.t3dbping.main(t3dbping.java:115)
    Thanks,
    Laurie

  • Getting error  with oracle oci type driver

    Hi,
    while I'm using the oracle oci type driver I got the error but it works fine with the thin driver.
    so where should I the information regard this.I'm working with oracle 8i.
    with
    raghu

    while I'm using the oracle oci type driver I got the
    error but it works fine with the thin driver.What is the error ?
    so where should I the information regard this.I'm
    working with oracle 8i.As long as you have the 8i client set up properly, the JDBC OCI drivers will work. To test just go to the command prompt and try tnsping and/or sqlplus to connect to your DB.
    Post your JDBC URL and the exception you are getting if you are still having problems.

  • Ssl with Oracle jdbc thin driver on weblogic 9.2

    http://www.oracle.com/technology/products/weblogic/howto/jdbcssl/index.html
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/pdf/wp-oracle-jdbc_thin_ssl_2007.pdf
    I had already created the ssl-jdbc connections for Weblogic 9.2 with Oracle 10.2.0.3.0 based on the documents above.
    My questions
    1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal?
    2. If using the unassigned port is the normal case, where can I limit the port range?
    3. How to prove the connections are in SSL?

    1. the connections are not using the desired ports. The TCP listener is using 1521, and TCPS listener is using 1522, and 2484. However the connections do not use the configured ports. Is it normal? It is normal.
    2. If using the unassigned port is the normal case, where can I limit the port range? I still have no idea.
    3. How to prove the connections are in SSL? No idea, too.

  • JDBC error with Oracle Database

    Hi,
      We are now facing some problems when using Oracle JDBC in XI JDBC Adapter, and this problem happens randomly.
      Our oracle is ver 8.1.5, jdbc ver 9.2.0.1 ojdbc14.jar, J2RE 1.4.2 IBM AIX build ca142-20060824.
      The following exceptions have been found in log viewer:
    Exception caught when executing statement for table/stored proc. 'cgjs_zj_zjb' (structure 'SELECTSTMT'):
    java.sql.SQLException: Io exception: There is no process to read data written to a pipe.
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
         at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3668)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2599)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:653)
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.executeQuery(xml2sql.java(Inlined Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.SQLsel(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.processList(xml2sql.java(Compiled Code))
         at com.sap.aii.adapter.jdbc.SAXHandler.endElement(xml2sql.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java(Inlined Compiled Code))
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java(Compiled Code))
         at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java(Compiled Code))
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at com.sap.aii.adapter.jdbc.xml2sql.service(xml2sql.java:211)
         at com.sap.aii.adapter.jdbc.XI2JDBC.onInternalMessage(XI2JDBC.java:481)
         at com.sap.aii.adapter.jdbc.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:175)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:226)
         at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:164)
         at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_1.process(ModuleLocalLocalObjectImpl0_1.java:103)
         at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:264)
         at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:267)
         at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0_0.onMessage(AFWListenerLocalObjectImpl0_0.java:103)
         at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:306)
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1034)
         at com.sap.aii.af.ra.ms.impl.core.queue.RequestConsumer.onMessage(RequestConsumer.java:118)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java(Compiled Code))
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
         at java.security.AccessController.doPrivileged1(Native Method)
         at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
        Hope you can help me.
        B'Rgds,
                     YiNing

    nice trick:)
    This problem hasn't been solved yet, and now I found something harder to solve with this Oracle database and it's JDBC when I was using a synchronous scenario.
    Check the following adapter log:
    2007-02-28 10:03:53 Success Message successfully received by messaging system. Profile: XI URL: http://sapxidev:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2007-02-28 10:03:53 Success Using connection JDBC_http://sap.com/xi/XI/System. Trying to put the message into the request queue.
    2007-02-28 10:03:53 Success Message successfully put into the queue.
    2007-02-28 10:03:53 Success The message was successfully retrieved from the request queue.
    2007-02-28 10:03:53 Success The message status set to DLNG.
    2007-02-28 10:03:53 Success Delivering to channel: JDBC_RECV_PO_SBC
    2007-02-28 10:03:53 Success MP: entering
    2007-02-28 10:03:53 Success MP: processing local module localejbs/CallSapAdapter
    2007-02-28 10:03:53 Success Receiver JDBC adapter: processing started; QoS required: BestEffort
    2007-02-28 10:10:59 Success JDBC adapter receiver channel JDBC_RECV_PO_SBC: processing started; party  , service PO_SYS
    2007-02-28 10:10:59 Success SELECT BUSID, BUDAT, EDPER, BKTXT, XBLNR, BUZEI, BSCHL, HKONT, LIFNR, NEWUM, DMBTR, GSBER, MATNR, MENGE, ZUONR, SGTXT, XREF1, XREF2, XREF3, IDXSP, MWSKZ, RMVCT, RSTGR, ZTERM, ZFBDT, ZLSCH, XNEGP, KOSTL, AUFNR, LGORT_I, LGORT_O, GRUND, BWART, BSELM, STATS, ERFME, ZZFIELD2 FROM SAP_ZJB WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success UPDATE SAP_ZJB SET STATS=U WHERE (STATS=O AND EDPER=9105)
    2007-02-28 10:11:01 Success Database request processed successfully
    2007-02-28 10:11:01 Success MP: leaving
    2007-02-28 10:11:01 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired.. Setting message to status failed.
    2007-02-28 10:11:01 Error The message status set to FAIL.
    2007-02-28 10:11:01 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.MessageExpiredException: Sync application request expired..
    Between the 2007-02-28 10:03:53 and 2007-02-28 10:10:59, what takes it so long to process? Also it happens randomly.
    Since it is synchronous, the remote database table has been updated but the connection with XI has been disconnected for timeout issue, which lead to unrecoverable data inconsistent problem.
    Anyone who can help me?

  • Installation errors with Oracle 10g Express Edition client.

    Hi,
    I want to use the Oracle 10g XE client on my Ubuntu (Lucid) laptop. I am following the installation instructions as mentioned at Installing Database Oracle XE Client. When I run the .sh file for my bash shell, I keep getting this error message:
    root@machine:/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin# . ./oracle_env.sh
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/nls_lang.sh: 112: [[: not found
    /usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/nls_lang.sh: 112: [[: not foundAnd, when I look up nls_lang.sh at around line 112, I see this:
    # Detertmine the LANGUAGE_TERRITORY part of NLS_LANG
    # we derive it from the current locale by inspecting the LC_ALL and
    # the LANG environment variable. Other LC_* environment variables
    # are not inspected.
    if [[ -n "$LC_ALL" ]]; then
      locale=$LC_ALL
    elif [[ -n "$LANG" ]]; then
      locale=$LANG
    else
      locale=
    fiHow do I get the client working ?

    So, I have been searching around to look for a method to enable the client installed on my laptop to connect to the database. Granted that, the server is not installed on my local machine. But, I am simply, unable to find any clues as to how do I specify the database name that the client should connect. The ORACLE_SID parameter needs to hold a database name; but, where are the IP address and port number mentioned for the database ? One site recommended that tnsping be used to check for database existence; whereas, tnsping is not installed. Then, the commonest hint that I keep bumping into - TNSNAMES.ORA file. Since I have only the client installed, I don't even see the network/admin folder (or whatever the path is to the .ora file) under /usr/lib/oracle/xe/app/oracle/product/10.2.0.
    It can't be this hard to connect to an Oracle server with only a itsy-bitsy Oracle installed on my local machine, hmmm ?

Maybe you are looking for

  • Need to add a cut line around text with a stroke

    This has been driving me nuts for years and I've often found ways to "kind of" accomplish this, but I figured someone here might be able to help. Create text, convert to outlines, add a stroke. Ok now I want to add a cut line around that entire thing

  • I saved on my stuff from my iphone 5 but i cant find it on my mac book, where is it?

    I had an iphone 5 i did a backup on itunes but now i dont know where any of the stuff is???

  • Dependent documents for given FI document

    Dear Friends, Can i seek your help to know if there is any standard report existing to list all the documents related to SD / MM for a given FI Accounting Document (the document number of FB03). Thanks for helping me to know. BR, Ravi

  • How can i authorise 3rd party products

    I want to include a couple of 3rd party features on my BC site. Each requires a user to login, if I already have my visitor logged into a secure zone, how can I pass that authorisation on to the 3rd party modules so my visitors don't have to login se

  • Wide gamut monitor

    I have an iMac and a wide gamut monitor hook up to it. I used the new xrite i1 profiler to profile the monitor.  When I use the QA function, the wide gamut monitor never get good delta E (over 5 up to 11) under 10.6. the iMac monitor gets good result