Attunity Tuxedo Adapter

Hi,
we are using Tuxedo BDTA (Bi-directional Tuxedo Adapter) for some time to connect our BPEL processes with Tuxedo.
Now we want to do the same thing with EJB 3.0. And hier is the source code:
Context context;
ConnectionFactory connectionFactory;
Connection connection;
Interaction interaction;
System.out.println("Getting initial context");
context = new InitialContext();
System.out.println("lookup eis/legacy/TUX_MTA");
connectionFactory = (ConnectionFactory) context.lookup("eis/legacy/TUX_MTA");
System.out.println("Getting attu connection");
connection = connectionFactory.getConnection();
System.out.println("Getting interaction");
interaction = connection.createInteraction();
String routing = "1";
String target = "ADS_IF20";
String payload = "<xml><author>el2_sm</author>";
System.out.println("Creating attunity spec");
AttuInteractionSpec spec = new AttuInteractionSpec("SMBK_MTA", InteractionSpec.SYNC_SEND_RECEIVE, 60);
System.out.println("Getting record factory");
RecordFactory recordFactory = connectionFactory.getRecordFactory();
System.out.println("Create mapped record");
MappedRecord input = recordFactory.createMappedRecord(target);
input.put(ROUTING_INST, "1");
input.put(ROUTING_DIS, target);
input.put(FI_DATUM, payload);
System.out.println("Calling service " + target);
Object output = interaction.execute(spec, input);
System.out.println("Terminating interaction");
interaction.close();
System.out.println("Closing connection");
connection.close();
evrything works until executing the interaction, which ended with the following exception:
Internal Server Error (Caught exception while handling request: oracle.oc4j.rmi.OracleRemoteException: java.lang.ClassCastException: com.attunity.adapter.core.CoreMappedRecord; nested exception is:
     java.lang.ClassCastException: com.attunity.adapter.core.CoreMappedRecord)
Can somebody tell me, what is the problem here. I tried with AttuConnection and other Attu classes but it did not help.
The documentation "Oracle® Application Server Adapters for Tuxedo User's Guide" for 10.1.3.4 does not contain any usable or complete example.
thanks in advance,
Sasa

Hi,
we are using Tuxedo BDTA (Bi-directional Tuxedo Adapter) for some time to connect our BPEL processes with Tuxedo.
Now we want to do the same thing with EJB 3.0. And hier is the source code:
Context context;
ConnectionFactory connectionFactory;
Connection connection;
Interaction interaction;
System.out.println("Getting initial context");
context = new InitialContext();
System.out.println("lookup eis/legacy/TUX_MTA");
connectionFactory = (ConnectionFactory) context.lookup("eis/legacy/TUX_MTA");
System.out.println("Getting attu connection");
connection = connectionFactory.getConnection();
System.out.println("Getting interaction");
interaction = connection.createInteraction();
String routing = "1";
String target = "ADS_IF20";
String payload = "<xml><author>el2_sm</author>";
System.out.println("Creating attunity spec");
AttuInteractionSpec spec = new AttuInteractionSpec("SMBK_MTA", InteractionSpec.SYNC_SEND_RECEIVE, 60);
System.out.println("Getting record factory");
RecordFactory recordFactory = connectionFactory.getRecordFactory();
System.out.println("Create mapped record");
MappedRecord input = recordFactory.createMappedRecord(target);
input.put(ROUTING_INST, "1");
input.put(ROUTING_DIS, target);
input.put(FI_DATUM, payload);
System.out.println("Calling service " + target);
Object output = interaction.execute(spec, input);
System.out.println("Terminating interaction");
interaction.close();
System.out.println("Closing connection");
connection.close();
evrything works until executing the interaction, which ended with the following exception:
Internal Server Error (Caught exception while handling request: oracle.oc4j.rmi.OracleRemoteException: java.lang.ClassCastException: com.attunity.adapter.core.CoreMappedRecord; nested exception is:
     java.lang.ClassCastException: com.attunity.adapter.core.CoreMappedRecord)
Can somebody tell me, what is the problem here. I tried with AttuConnection and other Attu classes but it did not help.
The documentation "Oracle® Application Server Adapters for Tuxedo User's Guide" for 10.1.3.4 does not contain any usable or complete example.
thanks in advance,
Sasa

Similar Messages

  • How to connect to Tuxedo without Tuxedo adapter

    Hello all,
    I want to know the way to connect Oracle (BEA) Tuxedo using other adater than Tuxedo adapter provided by iWay.
    Unfortunately, I'm not so much familiar with Tuxedo, but I hear that Oracle has CORBA architecture, so I suspect that we can use some other adapters provided by SAP PI itself to connect to Tuxedo.
    If someone has experience of developping the adapter to connect to Tuxedo by scratch, I also want to know the detail of it.
    Thank you for your information in advance.
    Best regards,
    Hideki Kozai

    Hello all,
    I want to know the way to connect Oracle (BEA) Tuxedo using other adater than Tuxedo adapter provided by iWay.
    Unfortunately, I'm not so much familiar with Tuxedo, but I hear that Oracle has CORBA architecture, so I suspect that we can use some other adapters provided by SAP PI itself to connect to Tuxedo.
    If someone has experience of developping the adapter to connect to Tuxedo by scratch, I also want to know the detail of it.
    Thank you for your information in advance.
    Best regards,
    Hideki Kozai

  • Multithread in Tuxedo Adapter for MQ

    Hi,
    Currently I am working over integration of WebSphere MQ and Tuxedo 10.0 using Adapter for MQ. When I execute client app which calls TM_MQO twice, the second one is waiting for first one to close (get reply). Is it possible to make it multithreading ?

    Hi,
    The TM_MQO does not support multi-thread service dispatch. But instead you can configure multiple server instance in your UBBCONFIG by MIN/MAX of server option. A proper multiple processes can play similar roles as multiple-thread does.
    Wayne

  • JCA/CCI Tuxedo Adapter ?

              Hello,
              I`m currently reading Bea documentation for WLS 7.0. I`ve noticed Weblogic Tuxedo
              Connector doesn´t support Common Client Interface. It`s seems not be complaint
              with JCA 1.0 spec.
              Will Bea provide a JCA/CCI compliant connector for Tuxedo in the next release
              

              Ni pelota, Hansito!!!
              "Hans Nemarich" <[email protected]> wrote:
              >
              >Hello,
              >
              >I`m currently reading Bea documentation for WLS 7.0. I`ve noticed Weblogic
              >Tuxedo
              >Connector doesn´t support Common Client Interface. It`s seems not be
              >complaint
              >with JCA 1.0 spec.
              >
              >Will Bea provide a JCA/CCI compliant connector for Tuxedo in the next
              >release
              >?
              

  • How to send msgs to tuxedo and read from tuxedousing jca adapter at jboss6

    Hi i had only Tuxedo ip and port number.i have to send messsages to tuxedo server and read from tuxedo server i did below changes at ra.xml and dmconfig.xml
    what are the services i have to use plz give me reply .Thanks in advance.
    my ra.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
    version="1.5">
    <display-name>Tuxedo JCA Adapter</display-name>
    <vendor-name>Oracle</vendor-name>
    <eis-type>Tuxedo</eis-type>
    <resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
    <license>
    <description>Tuxedo SALT license</description>
    <license-required>false</license-required>
    </license>
    <resourceadapter>
    <resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoResourceAdapter</resourceadapter-class>
    <config-property>
    <config-property-name>traceLevel</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>80000</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>xaAffinity</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>true</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>keyFileName</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value></config-property-value>
    </config-property>
    <config-property>
    <config-property-name>dmconfig</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>D:\jboss-6.1.0.Final\server\mpayv4_dev\deploy\dmconfig.xml</config-property-value>
    </config-property>
    <outbound-resourceadapter>
    <connection-definition>
    <managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
    <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
    <connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
    <connection-interface>javax.resource.cci.Connection</connection-interface>
    <connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
    </connection-definition>
    <transaction-support>NoTransaction</transaction-support>
    <authentication-mechanism>
    <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
    <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
    </authentication-mechanism>
    <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
    </resourceadapter>
    </connector>
    ==========================
    and dmconfig.xml is
    <?xml version="1.0" encoding="UTF-8"?>
    <TuxedoConnector>
    <LocalAccessPoint name="local_1">
    <AccessPointId>dev_scurtis</AccessPointId>
    <NetworkAddress>//ip:port</NetworkAddress>
    </LocalAccessPoint>
    <RemoteAccessPoint name="e1tst_tdtux01">
    <AccessPointId>e1tst_tdtux01</AccessPointId>
    <NetworkAddress>//ip:port</NetworkAddress>
    </RemoteAccessPoint>
    <Import name="TOUPPER">
    <RemoteName>TOUPPER</RemoteName>
    <SessionName>session_1</SessionName>
    <LoadBalancing>RoundRobin</LoadBalancing>
    </Import>
    <Import name="ECHO">
    <RemoteName>ECHO</RemoteName>
    <SessionName>session_1</SessionName>
    <LoadBalancing>RoundRobin</LoadBalancing>
    </Import>
    </TuxedoConnector>

    Hi todd Thanks for your reply
    iam using below java code in jsp ,iam not getting the response plz suggest me any changes
    <%@ page import ="javax.naming.Context,
    javax.naming.InitialContext,
    javax.naming.NamingException,
    javax.ejb.CreateException,
    javax.resource.cci.ConnectionFactory,
    javax.resource.cci.Connection,
    javax.resource.cci.Interaction,
    javax.resource.cci.InteractionSpec,
    javax.resource.ResourceException,
    weblogic.wtc.jatmi.TPException,
    weblogic.wtc.jatmi.TPReplyException,
    com.oracle.tuxedo.adapter.TuxedoReplyException,
    com.oracle.tuxedo.adapter.cci.TuxedoStringRecord,
    com.oracle.tuxedo.adapter.cci.TuxedoInteractionSpec" %>
    <html>
    <head>
    </head>
    <body>
    <h1>Tuxedo Test</h1>
    <%
    System.out.println("Check Connection JNDI");
    String result="";
    result=Toupper("harikrishna");
    %>
    <%!
    public String Toupper(String string_to_convert) throws TPException, TuxedoReplyException
    Context ctx;
    ConnectionFactory cf;
    Connection c;
    Interaction ix;
    TuxedoStringRecord inRec;
    TuxedoStringRecord outRec;
    TuxedoInteractionSpec ixspec;
    try {
    ctx = new InitialContext();
    cf = (ConnectionFactory)ctx.lookup("java:jca/tuxedo");
    c = cf.getConnection();
    ix = c.createInteraction();
         ixspec = new TuxedoInteractionSpec();
         ixspec.setFunctionName("TOUPPER");
         ixspec.setInteractionVerb(InteractionSpec.SYNC_SEND_RECEIVE);
         inRec = new TuxedoStringRecord();
         outRec = new TuxedoStringRecord();
         inRec.setRecordName("MyInputData");
         outRec.setRecordName("MyOutputData");
         outRec.setString(string_to_convert);
         ix.execute(ixspec, inRec, outRec);
         ix.close();
         c.close();
         String returned_data = outRec.getString();
         return returned_data;
         catch (NamingException ne) {
         throw new TPException(TPException.TPESYSTEM,
         "Could not get TuxedoConnectionFactory"+ne);
         catch (ResourceException re) {
         throw new TPException(TPException.TPESYSTEM,
         "ResourceException occurred, reason: " + re);
    %>
    </body>
    </html>
    =======================================
    In tuxedo.lod at my jboo6/bin iam getting this informatin
    e property Security.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 60 to create default session profile property RetryInterval.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 9,223,372,036,854,775,807 to create default session profile property MaxRetries.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
    4/30/12:2:59:09 AM:11:INFO[,]factory = null
    4/30/12:2:59:09 AM:11:INFO[,]name = TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]iname = TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= TOUPPER
    4/30/12:2:59:09 AM:11:INFO[,]factory = null
    4/30/12:2:59:09 AM:11:INFO[,]name = ECHO
    4/30/12:2:59:09 AM:11:INFO[,]iname = ECHO
    4/30/12:2:59:09 AM:11:INFO[,]rsvc == null, create new ArrayList with key= ECHO
    4/30/12:2:59:09 AM:11:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint local_1 and RemoteAccessPoint e1tst_tdtux01.

  • Remote tuxedo domain rejects connection from client only Tuxedo JCA Adapter

    I am trying to use a client only configured Oracle Tuxedo JCA Adapter 11.1.1.2.1 to connect to a remote tuxedo 10.3 domain. The connector is deployed to a JDeveloper 10.1.3.4 embedded OC4J container. The connector is failing silently when attempting to establish a connection with the remote domain. Locally, the JCA Adapter ntrace logs the following:
    1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]> (ypjspNQ5QIPKmOyk1DlAgw==)
    1/20/11:9:41:49 PM:10:DBG[DMLocalAccessPoint,DMLocalAccessPoint]_useSSL = false
    1/20/11:9:41:49 PM:10:TRACE[DMLocalAccessPoint,DMLocalAccessPoint]< return(10)
    1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createLocalAccessPoint]TJA_0233:Info: Default local access point for factory null created, access point id ypjspNQ5QIPKmOyk1DlAgw==.
    1/20/11:9:41:49 PM:10:DBG[TuxedoAdapterSupervisor,createLocalAccessPoint]features = 159
    1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]> ()
    1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,startListeners]< (20) return
    1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_0)
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux02
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1b75e54
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
    1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
    1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux02.
    1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]> (__sess_0_1)
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_lap_name:ypjspNQ5QIPKmOyk1DlAgw==
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_rap_name:e1tst_tdtux01
    1/20/11:9:41:49 PM:10:DBG[DMSession,myInit]_pro_name:__default_session_profile__
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _lap: com.oracle.tuxedo.adapter.config.DMLocalAccessPoint@1f6bc1a
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _rap: com.oracle.tuxedo.adapter.config.DMRemoteAccessPoint@1c0f654
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]got _pro: com.oracle.tuxedo.adapter.config.DMSessionProfile@191f64b
    1/20/11:9:41:49 PM:10:DBG[DMSession,DMSession]sec = NONE
    1/20/11:9:41:49 PM:10:TRACE[DMSession,DMSession]< return(60)
    1/20/11:9:41:49 PM:10:INFO[TuxedoAdapterSupervisor,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint ypjspNQ5QIPKmOyk1DlAgw== and RemoteAccessPoint e1tst_tdtux01.
    1/20/11:9:41:49 PM:10:TRACE[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]create default import
    1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]> (*)
    1/20/11:9:41:49 PM:10:INFO[,]factory = null
    1/20/11:9:41:49 PM:10:INFO[,]name = *
    1/20/11:9:41:49 PM:10:INFO[,]iname = *
    1/20/11:9:41:49 PM:10:TRACE[ServiceManager,registerImportedService]register Default Import
    1/20/11:9:41:49 PM:10:TRACE[Route,Route]> (*)
    I can't determine if there are any problems from these log entries, but the remote tuxedo domain logs the following in the ULOG:
    155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1073: ERROR: Unable to obtain remote domain id (ypjspNQ5QIPKmOyk1DlAgw==) information from shared memory
    155138.tdtux01!GWTDOMAIN.3495.4.0: LIBGWT_CAT:1509: ERROR: Error occurred during security negotiation - closing connection
    My understanding is that the client only configuration should connect to a remote tuxedo domain as an anonymous client instead of a peer tuxedo domain, but the remote tuxedo gateway domain listener is acting like the client has to be configured in its dmconfig file before it will allow the connection request. Is there a different kind of listener the client only configuration should connect to instead of the tuxedo gateway domain listener? How can a remote tuxedo domain accept a connection from an anonymous client if the client must first be specified in the remote domain's dmconfig file? Is this a tuxedo 11g only feature? I'm trying to connect to a tuxedo 10.3 server.
    The local ra.xml is reproduced here:
    <?xml version="1.0" encoding="UTF-8"?>
    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"
    version="1.5">
    <display-name>Tuxedo JCA Adapter</display-name>
    <vendor-name>Oracle</vendor-name>
    <eis-type>Tuxedo</eis-type>
    <resourceadapter-version>11gR1(11.1.1.2.1)</resourceadapter-version>
    <license>
    <description>Tuxedo SALT license</description>
    <license-required>false</license-required>
    </license>
    <resourceadapter>
    <resourceadapter-class>com.oracle.tuxedo.adapter.TuxedoClientSideResourceAdapter</resourceadapter-class>
    <config-property>
    <config-property-name>debugConfig</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>true</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>traceLevel</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>100000</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>xaAffinity</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>true</config-property-value>
    </config-property>
    <config-property>
    <config-property-name>remoteAccessPointSpec</config-property-name>
    <config-property-type>java.lang.String</config-property-type>
    <config-property-value>//tdtux01:9601/domainId=e1tst_tdtux01,//tdtux02:9601/domainId=e1tst_tdtux02</config-property-value>
    </config-property>
    <outbound-resourceadapter>
    <connection-definition>
    <managedconnectionfactory-class>com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory</managedconnectionfactory-class>
    <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
    <connectionfactory-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoConnectionFactory</connectionfactory-impl-class>
    <connection-interface>javax.resource.cci.Connection</connection-interface>
    <connection-impl-class>com.oracle.tuxedo.adapter.cci.TuxedoJCAConnection</connection-impl-class>
    </connection-definition>
    <transaction-support>NoTransaction</transaction-support>
    <authentication-mechanism>
    <authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
    <credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
    </authentication-mechanism>
    <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
    </resourceadapter>
    </connector>
    Thanks for any help.
    Steve

    Looks like this is an RTFM question. From:
    [http://download.oracle.com/docs/cd/E18050_01/jca/docs11gr1/users/jca_usersguide.html]
    Is the following:
    Dynamic RemoteAccessPoint (RAP) Insertion
    In order to make default LocalAccessPoint to work, Oracle Tuxedo GWTDOMAIN gateway configuration is required in order to make this simplified /Domain configuration to work.
    GWTDOMAIN gateway must be modified to allow Dynamic RemoteAccessPoint (RAP) Registration. If DYNAMIC_RAP is set to YES, it will also update the in-memory database of the status of the connection from those dynamically registered RAP. If the connection from those dynamically registered RAP lost then the information about that RAP will be removed from the SHM database.
    GWADM must be modified to process the DM MIB correctly to reflect the connection status of those dynamically registered RAP. When the connection from those dynamically registered RAP lost their entries in the SHM database will also be removed so that the DM MIB query can return the connection status correctly.
    The dynamically registered RAP will be added to /DOMAIN configuration permanently. Their existence will only be known when the Session is established. Their existence will be lost when the connection is lost.
    The DM_CONNECTION Oracle Tuxedo /Domain DMIB call returns all the connected dynamically registered RemoteAccessPoint. All other dynamically registered RemoteAccessPoint that are not connected will not be shown.
    The OPENCONNECTION DMIB request will not be supported to connect to those dynamically registered RAP.
    The CLOSECONNECTION Oracle Tuxedo /DMIB request closes the connection and remove the session from those dynamically registered RemoteAccessPoint, and returns its connection status as 'UNKNOWN.
    The PERSISTENT_DISCONNECT type of CONNECTION_POLICY will be honored that means when PERSISTENT_DISCONNECT is in effect all connections request from any RAP, whether they are dynamically or non-dynamically registered, will be rejected.
    I must have overlooked this section when reading it. Looks like I've got more configuration to do.
    Thanks,
    Steve

  • Tuxedo JCA Adapter Configuraton

    Hello,
    I'm trying to configure Tuxedo JCA Adapter and have got troubles with making bdmconfig.xml file.
    First, my enviroments are that Tuxedo 11gR1 and WAS 7 are installed on separate machines.
    And sample Tuxedo service is bankapp service using oracle 10g and I got this service source from OTN site.
    In configuring bdmconfig.xml file, I'm not sure the meanings of the elements of configuration.
    What are the meanings of LocalAccessPoint and RemoteAccessPoint ?
    I don'n know how I should provide what values to the both elements.
    If I want to invoke remote tuxedo services from WAS resources, sholud I provide both local and remote access points ?
    What I know is that ip addresses of two machines and IPCKEY value in ubbconfig file of Tuxedo sample service.
    please help me to configure tuxedo jca adapter ......
    thanks in advance.
    Edited by: user11286352 on 2010. 12. 5 오후 10:14
    Edited by: user11286352 on 2010. 12. 5 오후 10:30

    hello
    as I told in previous message, I checked all configurations on both tuxedo side and WAS side, but I don't know why 2phase commit didn't work on tuxedo service.
    accoding to advice of Todd, I changed the value of MAXGTT to 300 and value of TLOGSIZE to 300, but same error message appeared.
    once I invoke EJB include source code calling Tuxedo service, after a few minutes idle time it returned error message about XAException as below
    so, anybody help me to complete 2pc test on both WAS and Tuxedo ?
    my configurations on both WAS side and Tuxedo side are as below, could you review those configurations and let me know what the problem is ?
    1. error message in WAS
    [10. 12. 12 20:23:31:953 KST] 0000003f XATransaction E J2CA0027E: An exception occurred while invoking prepare on an XA Resource Adapter from dataSource eis/TuxedoConnectionFactory
    , within transaction ID {XidImpl: formatId(57415344), gtrid_length(36), bqual_length(54), data(0000012cda48e831000000010000000b461221f787e745f56f38c9f063cc171b45a604800000012cda48e831000000010000000b461221f787e745f56f38c9f063cc171b45a60480000000010000000000000000000000000002)} : javax.transaction.xa.XAException
         at com.oracle.tuxedo.adapter.tdom.TuxedoJCAResource.internalPrepare(TuxedoJCAResource.java:786)
         at com.oracle.tuxedo.adapter.tdom.TuxedoJCAResource.prepare(TuxedoJCAResource.java:662)
         at com.ibm.ejs.j2c.XATransactionWrapper.prepare(XATransactionWrapper.java:1136)
         at com.ibm.tx.jta.JTAXAResourceImpl.prepare(JTAXAResourceImpl.java:225)
         at com.ibm.tx.jta.RegisteredResources.prepareResource(RegisteredResources.java:1157)
         at com.ibm.tx.jta.RegisteredResources.distributePrepare(RegisteredResources.java:1413)
         at com.ibm.tx.jta.TransactionImpl.prepareResources(TransactionImpl.java:1438)
         at com.ibm.ws.tx.jta.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:549)
         at com.ibm.tx.jta.TransactionImpl.processCommit(TransactionImpl.java:978)
         at com.ibm.tx.jta.TransactionImpl.commit(TransactionImpl.java:913)
         at com.ibm.ws.tx.jta.TranManagerImpl.commit(TranManagerImpl.java:377)
         at com.ibm.tx.jta.TranManagerSet.commit(TranManagerSet.java:161)
         at com.ibm.ejs.csi.TranStrategy.commit(TranStrategy.java:927)
         at com.ibm.ejs.csi.TranStrategy.postInvoke(TranStrategy.java:230)
         at com.ibm.ejs.csi.TransactionControlImpl.postInvoke(TransactionControlImpl.java:570)
         at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4558)
         at com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:4372)
         at ejbs.EJSRemoteStatelessSDeposit_7b45137b.performDeoposit(EJSRemoteStatelessSDeposit_7b45137b.java:47)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:600)
         at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:612)
         at java.security.AccessController.doPrivileged(AccessController.java:251)
         at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:608)
         at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1165)
         at $Proxy49.performDeoposit(Unknown Source)
         at ejbs._SDeposit_Stub.performDeoposit(_SDeposit_Stub.java:271)
         at com.ibm.minny.test.TestEJB.eDepost(TestEJB.java:52)
         at com.ibm._jsp._Tester._jspService(_Tester.java:97)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1661)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:937)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:500)
         at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:239)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:340)
         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3826)
         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:276)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:931)
         at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1583)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
    2. message in Tuxedo
    201339.kr028211!GWTDOMAIN.19551.1123871040.0: gtrid x0 x4d04ac7b x1: LIBGWT_CAT:1256: WARN: Unable to create local txid in shared memory for transaction recovery
    3. ubbconfig on Tuxedo
    *RESOURCES
    IPCKEY          80999
    UID          505
    GID          505
    PERM          0660
    DOMAINID TDOM
    MAXACCESSERS     40
    MAXSERVERS     35
    MAXSERVICES     75
    MAXCONV          10
    MASTER          SITE1
    SCANUNIT     10
    MODEL          SHM     
    LDBAL          Y
    MAXGTT          300
    *MACHINES
    tuxhost LMID=SITE1
              TUXDIR="/opt/oracle/product/tuxedo11gR1"
              APPDIR="/home/tuxedo/bankapp"
              ENVFILE="/home/tuxedo/bankapp/ENVFILE"
              TLOGDEVICE="/home/tuxedo/bankapp/TLOG"
              TLOGNAME=TLOG
              TUXCONFIG="/home/tuxedo/bankapp/tuxconfig"
              ULOGPFX="/home/tuxedo/bankapp/ULOG"
              TLOGSIZE=300
    *GROUPS
    DMADMGRP LMID=SITE1 GRPNO=4
    GWTGROUP LMID=SITE1 GRPNO=5
    DEFAULT:     TMSNAME=TMS_ORACLE     TMSCOUNT=2 LMID=SITE1
    BANKB1          GRPNO=1
              OPENINFO="Oracle_XA:Oracle_XA+Acc=P/tuxdemo1/tuxdemo1+SesTm=60+DbgFl=15+LogDir=."
    BANKB2          GRPNO=2
              OPENINFO="Oracle_XA:Oracle_XA+Acc=P/tuxdemo2/tuxdemo2+SesTm=60+DbgFl=15+LogDir=."
    BANKB3          GRPNO=3
              OPENINFO="Oracle_XA:Oracle_XA+Acc=P/tuxdemo3/tuxdemo3+SesTm=60+DbgFl=15+LogDir=."
    *SERVERS
    DEFAULT: RESTART=Y MAXGEN=5 REPLYQ=Y CLOPT="-A"
    TLR     SRVGRP=BANKB1     SRVID=1          CLOPT="-A -- -T 100 -e 1000.00"
    TLR     SRVGRP=BANKB2     SRVID=2          CLOPT="-A -- -T 500 -e 1000.00"
    TLR     SRVGRP=BANKB3     SRVID=3          CLOPT="-A -- -T 800 -e 1000.00"
    XFER     SRVGRP=BANKB1     SRVID=4
    XFER     SRVGRP=BANKB2     SRVID=5
    XFER     SRVGRP=BANKB3     SRVID=6
    ACCT     SRVGRP=BANKB1     SRVID=7
    ACCT     SRVGRP=BANKB2     SRVID=8
    ACCT     SRVGRP=BANKB3     SRVID=9
    BAL     SRVGRP=BANKB1     SRVID=10
    BAL     SRVGRP=BANKB2     SRVID=11
    BAL     SRVGRP=BANKB3     SRVID=12
    BTADD     SRVGRP=BANKB1     SRVID=13
    BTADD     SRVGRP=BANKB2     SRVID=14
    BTADD     SRVGRP=BANKB3     SRVID=15
    AUDITC     SRVGRP=BANKB1     SRVID=16 CONV=Y MIN=1 MAX=10 RQADDR="auditc"
    BALC     SRVGRP=BANKB1     SRVID=27
    BALC     SRVGRP=BANKB2     SRVID=28
    BALC     SRVGRP=BANKB3     SRVID=29
    DMADM SRVGRP=DMADMGRP SRVID=1001 REPLYQ=N RESTART=Y GRACE=0
    GWADM SRVGRP=GWTGROUP SRVID=1002 REPLYQ=N RESTART=Y GRACE=0
    GWTDOMAIN SRVGRP=GWTGROUP SRVID=1003 RQADDR="GWTGROUP" REPLYQ=N RESTART=Y GRACE=0
    *SERVICES
    DEFAULT:     LOAD=50          AUTOTRAN=Y          TRANTIME=30
    WITHDRAWAL     PRIO=50          ROUTING=ACCOUNT_ID
    DEPOSIT          PRIO=50          ROUTING=ACCOUNT_ID
    TRANSFER     PRIO=50          ROUTING=ACCOUNT_ID
    INQUIRY          PRIO=50          ROUTING=ACCOUNT_ID
    CLOSE_ACCT     PRIO=40          ROUTING=ACCOUNT_ID
    OPEN_ACCT     PRIO=40          ROUTING=BRANCH_ID
    BR_ADD          PRIO=20          ROUTING=BRANCH_ID
    TLR_ADD          PRIO=20          ROUTING=BRANCH_ID
    ABAL          PRIO=30          ROUTING=b_id
    TBAL          PRIO=30          ROUTING=b_id
    ABAL_BID     PRIO=30          ROUTING=b_id
    TBAL_BID     PRIO=30          ROUTING=b_id
    ABALC_BID     PRIO=30          ROUTING=b_id
    TBALC_BID     PRIO=30          ROUTING=b_id
    *ROUTING
    ACCOUNT_ID     FIELD=ACCOUNT_ID
              BUFTYPE="FML"
              RANGES="10000-49999:BANKB1,
                   50000-79999:BANKB2,
                   80000-109999:BANKB3"
    BRANCH_ID     FIELD=BRANCH_ID
              BUFTYPE="FML"
              RANGES="1-4:BANKB1,
                   5-7:BANKB2,
                   8-10:BANKB3"
    b_id          FIELD=b_id
              BUFTYPE="VIEW:aud"
              RANGES="1-4:BANKB1,
                   5-7:BANKB2,
                   8-10:BANKB3"
    4. bdmconfig in Tuxedo
    *DM_LOCAL
    LOCAL1 GWGRP=GWTGROUP
    TYPE=TDOMAIN
    ACCESSPOINTID="TDOM"
    BLOCKTIME=30
    CONNECTION_POLICY=ON_STARTUP
    MAXRETRY=5
    RETRY_INTERVAL=100
    *DM_REMOTE
    REMOT1 TYPE=TDOMAIN
    ACCESSPOINTID="HDOM"
    *DM_EXPORT
    DEPOSIT LACCESSPOINT=LOCAL1
    CONV=N
    RNAME="DEPOSIT"
    *DM_TDOMAIN
    LOCAL1 NWADDR="//192.168.123.100:4051"
    REMOT1 NWADDR="//192.168.123.119:65431"
    5. bdmconfig in WAS
    <?xml version="1.0" encoding="UTF-8"?>
    <TuxedoConnector>
    <LocalAccessPoint name="HDOM">
    <NetworkAddress>//192.168.123.119:65431</NetworkAddress>
    </LocalAccessPoint>
    <RemoteAccessPoint name="TDOM">
    <NetworkAddress>//192.168.123.100:4051</NetworkAddress>
    </RemoteAccessPoint>
    <SessionProfile name="profile_1">
    <Security>NONE</Security>
    <BlockTime>10000</BlockTime>
    <Interoperate>false</Interoperate>
    <ConnectionPolicy>ON_STARTUP</ConnectionPolicy>
    <ACLPolicy>local</ACLPolicy>
    <CredentialPolicy>local</CredentialPolicy>
    <RetryInterval>5</RetryInterval>
    <MaxRetries>10</MaxRetries>
    <CompressionLimit>1000000</CompressionLimit>
    <MinEncryptBits>0</MinEncryptBits>
    <MaxEncryptBits>0</MaxEncryptBits>
    <KeepAlive>100</KeepAlive>
    <KeepAliveWait>200</KeepAliveWait>
    </SessionProfile>
    <Session name="session_1">
    <LocalAccessPointName>HDOM</LocalAccessPointName>
    <RemoteAccessPointName>TDOM</RemoteAccessPointName>
    <ProfileName>profile_1</ProfileName>
    </Session>
    <Import name="DEPOSIT">
    <RemoteName>DEPOSIT</RemoteName>
    <SessionName>session_1</SessionName>
    <LoadBalancing>RoundRobin</LoadBalancing>
    </Import>
    <Export name="TOLOWER">
    <RemoteName>TOLOWER</RemoteName>
    <SessionName>session_1</SessionName>
    <Type>EJB</Type>
    <Source>tuxedo.services.TolowerHome</Source>
    </Export>
    </TuxedoConnector>
    Edited by: user11286352 on 2010. 12. 12 오전 5:51
    Edited by: user11286352 on 2010. 12. 14 오후 2:51
    Edited by: user11286352 on 2010. 12. 14 오후 2:56
    Edited by: user11286352 on 2010. 12. 14 오후 2:57

  • Exception while working with Tibco adapter for Tuxedo!!

    Dear friends,:-)
    Greetings!
    I am facing an exception while working with "Tuxedo Adapter".
    I have installed TIBCO Adapter for Tuxedo on my machine which has both bea_Client and Server. I am trying to do a PurchaseOrder POC, which is already given in our TIBCO Adapter directory (C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder).
    The scenario goes like this, a request is sent from the Tuxedo client called clt, which invokes the Tuxedo service, which in turn sends a request to the adapter (“PublicationService”) through the adapter agent, and then the adapter publishes the data to the TIBCO environment. TIBCO BW receives the data using “Adapter Subscriber” and writes them to an XML output file named Get_output.xml.
    Problem in starting the Adapter - :(
    When I tried to RUN the make.bat which is placed at the “C:\TIBCO\adapter\adtuxedo\5.3\examples\AgentBased\PurchaseOrder” folder, it throws me the error.
    At the time of executing this script, “buildclient -o clt -f client.c”, it says that I don’t have a valid “TUXEDO SDK LICENSE”. The thrown exception is, "TUXNT_CAT:101: ERROR: You do not have a valid TUXEDO SDK license".
    Please tell me, is license Required to run the tux_client?
    also,please clarify, while configuring “tibco.env.WSNADDR”(i.e., Workstation Address of the Tuxedo server to connect to) I have given my machine IP ADDRESS with a unique port. i.e., //10.103.18.120:4020. I am not sure with this step. Please advice me!
    It would be great if you could please solve this issue.
    Thanks in Advance,
    Best Regards,
    Venkatesh Rajendran.

    Hi Venkatesh,
    Please see comments in line.
    Wayne
    <venkatesh rajendran> wrote in message news:[email protected]...
    Dear Wayne,
    Thanks a ton for your reply.
    Please clarify,
    buildclient is a Tuxedo command which is used to generate the Tuxedo client
    application. It needs Tuxedo SDK license, so you need to make sure the
    license is installed properly.
    Can you please let me know from where i can get the License? Can we download
    it online?
    [W] BEA provide a trial license in the product donwload site, but I am not
    sure Tuxedo 8.0 is provide or not. If you or your customer has Tuxedo
    installation, the license should alread be ready. It is located at
    $TUXDIR/udataobj/lic.txt.
    Running tuxedo client does not require SDK license.
    I am not sure how to start it. I am actually running the BAT file which has
    the following scripts,
    set TUXDIR=C:\bea\tuxedo8.0
    set WSNADDR=//10.103.18.120:4020
    set TUX_ADAPTER_HOME=C:\TIBCO\adapter\adtuxedo\5.3
    set TIBCO_RV_HOME=C:\TIBCO\TIBRV
    set APPDIR=%TUX_ADAPTER_HOME%\examples\AgentBased\PurchaseOrder
    set
    PATH=%TUXDIR%\bin;%APPDIR%;%PATH%;%TUX_ADAPTER_HOME%\hotfix\lib;%TUX_ADAPTER_HOME%\lib;%TIBCO_RV_HOME%/bin
    set TUXCONFIG=%APPDIR%\tuxconfig
    set ULOGPFX=%APPDIR%\ulog
    buildclient -o clt -f client.c
    buildserver -o server -f server.c -s POINFO -l
    %TUX_ADAPTER_HOME%\lib\agent.lib
    tmloadcf -y ubbagent
    tmboot ¨Cy
    Up to my knowledge, I hope TIBCO TUXEDO
    (ie.,TIB_adtuxedo-simple_5.3.0_w32_tuxedo80) acts as a TUXEDO_Server which
    receives the Request from TUX_BEA Client(Ex: C:\bea\tuxedo8.0).
    Or, does Tuxedo have a seperate Server installed on the machine other than
    TIBCO? please clarify.
    [W] I don't know the detail about TIBCO Tuxedo adaptor. Following
    clarifications for your reference,
    1. Tuxedo is an application infrastructure with framework for server and
    client. buildclient is used to generate the client binary and buildserver is
    used for application server linkage.
    2. I guess the TIBCO Tuxedo adaptor is a Tuxedo application client(or
    server?) which acts as a proxy process between TIBCO system and Tuxedo
    applications. So it receives request from TIBCO system and transform the
    requet to native Tuxedo data buffers and make the Tuxedo calls, then relay
    the reply back. So first you have to figure out the exact working model of
    it and check your Tuxedo applications.
    Your reply would be appreciated!
    Thanks a ton in Advance!
    Best Regards,
    Venkatesh Rajendran.

  • JCA adapter for Tuxedo

    Hi,
    I'm looking JCA adapter for Tuxedo, oracle tuxedo adapter. And also trying to find the difference between connecting through it and through plain WTC from a J2EE app.
    Any tips would be great, thanks in advance.
    Thanks
    A

    Hey Todd,
    By tooling I mean something like visual interspace, though at my end of developement, I dont need 'visual' components, but it would be good to have some stubs and service interface that are tux program specifics. A step more than CCI that resource adapter would offer.
    Like hibernate, a clear layer where I access the db in terms of entities and simple pojos. Simplify the programming model.
    My need is very clear, connect to Tux services, and I'm trying to understand the options, likey JOLT, WTC and now resource adapters. Is there any documentation that could compare these, in terms of programming ease, performance, pros and cons.
    Ah! and compatibility and support with oracle ADF. SALT is as of now not in contention.
    I'm not really fascinated with FML approach, where type safety check or parameter match is left at runtime.
    The project that I'm looking at is very huge in size, lets say more than thousand services
    Your guidance will be very helpful
    Thanks
    Allam
    Edited by: user9130883 on Mar 16, 2010 12:47 PM

  • Tuxedo server and adapter, end of life and upgrade plan

    Hi All,
    Regarding Tuxedo server, we are running on version 8.1. I have few questions,
    1. What is EOL for version 8.1?
    2. What is the next stable version? If it is 9.1 and What is it’s eol?
    3. what will be the compatible version of the TIBCO Tuxedo adapter.
    Thanks and regards,
    Mahmood

    Hi All,
    Regarding Tuxedo server, we are running on version 8.1. I have few questions,
    1. What is EOL for version 8.1?
    2. What is the next stable version? If it is 9.1 and What is it’s eol?
    3. what will be the compatible version of the TIBCO Tuxedo adapter.
    Thanks and regards,
    Mahmood

  • JCA adapter with Spring JCA CCI

    Using Tuxedo JCA adapter (12.1.1) on Java 1.6_20 and Spring 3.2.0.....
    Want to get the Tuxedo adapter going outside a container in Spring via the Spring JCA CCI (http://static.springsource.org/spring/docs/3.2.0.M2/reference/html/cci.html). Not much experience with JCA but got the basic idea.
    The resource adapter is the glue for the domain configuration, debug levels and so forth. Started by using the TuxedoClientSideResourceAdapter and registering it to the TuxedoAdapterSupervisor singleton that is used by the TuxedoManagedConnectionFactory. Spring JCA CCI represents the local connection factory inside the LocalConnectionFactoryBean which needs the TuxedoConnectionFactory built by the TuxedoManagedConnectionFactory:
            @Bean
         public TuxedoManagedConnectionFactory tuxedoManagedConnectionFactory() {
              TuxedoClientSideResourceAdapter ra = new TuxedoClientSideResourceAdapter();
              .... (set ra all debugs to true)
              ra.setTraceLevel("100000");
              ra.setLocalAccessPointSpec("//INV000000121176:7001/domainId=matthew");
              ra.setRemoteAccessPointSpec("//vsgtu817.sfa.se:48172/domainId=TR817TU");
              try {
                   TuxedoAdapterSupervisor.getInstance().registerClientSideResourceAdapter(ra);
              } catch (ResourceAdapterInternalException e) {
                   System.out.println("Big problem setting resource adapter");
              TuxedoManagedConnectionFactory mcf = new TuxedoManagedConnectionFactory();
              return mcf;
            @Bean
         public ConnectionFactory tuxedoConnectionFactory() {
              LocalConnectionFactoryBean cf = new LocalConnectionFactoryBean();
              cf.setManagedConnectionFactory(tuxedoManagedConnectionFactory());
              try {
                   cf.afterPropertiesSet();
              } catch (ResourceException e) {
                   System.out.println("Big problem after setting properties");
              return (ConnectionFactory) cf.getObject();
         }What I am baffled by is that the tracing isn't getting hundred percent. For example I get:
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1fe1feb: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,applicationConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,tuxedoManagedConnectionFactory,tuxedoConnectionFactory,tuxedoTransactionManager,tuxedoTemplate,tuxedoDAO]; root of factory hierarchy
    2012-10-18:14:16:03:10:INFO[TuxedoAdapterSupervisor,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 12c(12.1.1), resource archive version 1.4.0.0, build date: June 27 2012.
    2012-10-18:14:16:03:10:ERROR[TJAService,TJAService]TJA_0072:Naming exception error: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
    2012-10-18:14:16:03:10:INFO[TuxedoAdapterSupervisor,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint TR817TU created.Expected to see more detailed information about what is going on in the TJASerivce when setting up the context. Which isn't happening due to how I am not correctly rigging Spring. So how to get tracing/debug working? Or can it be that printing via the JUL logger isn't working. Got in my logging.properties file FINEST on everything oracle and weblogic.
    Love to see if anybody has built up JCA outside a container!?

    Little bit farther in my configuration but not the entire way. Using the TuxedoClientSideResourceAdapter resource adapter. Setup in Spring as follows:
         @Bean
         ResourceAdapterFactoryBean tuxedoResourceAdapter() {
              TuxedoClientSideResourceAdapter ra = new TuxedoClientSideResourceAdapter();
              ra.setLocalAccessPointSpec("//INV000000121176:7001/domainId=matthew");
              ra.setRemoteAccessPointSpec("//vsgtu817.sfa.se:48172/domainId=TR817TU");
              .... (set debug, timeout, local/remote stuff....)
              ResourceAdapterFactoryBean fc = new ResourceAdapterFactoryBean();
              fc.setResourceAdapter(ra);
              SimpleTaskWorkManager stwm = new SimpleTaskWorkManager(); // basic WM from Spring
              fc.setWorkManager(stwm);
              fc.setBootstrapContext(new SimpleBootstrapContext(stwm));  // basic Context from Spring
              return fc;
         @Bean
         public ManagedConnectionFactory tuxedoManagedConnectionFactory() {
              return new TuxedoManagedConnectionFactory();
         @Bean
         public LocalConnectionFactoryBean tuxedoConnectionFactoryBean() {
              LocalConnectionFactoryBean lcfb = new LocalConnectionFactoryBean();
              lcfb.setManagedConnectionFactory(tuxedoManagedConnectionFactory());
              return lcfb;
         @Bean
         public ConnectionFactory tuxedoConnectionFactory() {
              return (ConnectionFactory) tuxedoConnectionFactoryBean().getObject();
         @Bean
         public CciTemplate tuxedoCciTemplate() {
              CciTemplate ct = new CciTemplate();
              ct.setConnectionFactory(tuxedoConnectionFactory());
              return ct;
         }There is a bunch of Spring stuff mixed in but the main idea is to wrap the Connection Factory in a template bean (CciTemplate) that eats a Tuxedo interaction specification and handles the start/stop of the connection plus execution. Nowhere in the configuration are resources or the local/remote resource sessions identified. The Oracle documentation says that with the client side the container is responsible for defining resources. Great. How? ;-) Tried doing it by hand:
         @Autowired
         CciTemplate template;
         @Test
         public void pieces() throws ResourceException, TPReplyException, TPException {
              TuxedoConnectionFactory tcf = (TuxedoConnectionFactory)template.getConnectionFactory();
              Connection con = ConnectionFactoryUtils.getConnection(template.getConnectionFactory(), template.getConnectionSpec());
              DMImportBean impBean = new DMImportBean();
              impBean.setRemoteName("whatever");
              impBean.setResourceName("whatever");
              impBean.setSessionName(new String[] {"TR817TU"});
              ConfigurationManager.getInstance().activateImport(impBean, tcf.getFactoryName());
              TDomainContext ctx = ((TuxedoJCAConnection)con).getTDomainContext();
              ctx.tpcall("whatever", recordIn.getTypedBuffer(), flags);
         }The code fails on a NullPointer to getProviderRoute in the TuxedoConnectionImpl. Just wondering if I am on the right track?

  • RemoteFault  - exception on JaxRpc invoke: received empty response

    A bpel-process invokes an esb-routing-service and sometimes get a remoteFault with
    a strange error-message "exception on JaxRpc invoke: received empty response".
    What does this mean?
    <messages>
    <input>
    <invokeWizardInput>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="closeWoRequest">
    <closeWoRequest
    xmlns:types="http://schemas.kabeldeutschland.de/Provisioning/WizardAPITypes"
    xmlns="http://schemas.kabeldeutschland.de/Provisioning/WizardAPITypes">
       <types:region>1</types:region>
       <types:workOrderNumber>112641172</types:workOrderNumber>
       <types:posCode>00280025</types:posCode>
       <types:closeTechnician>PIF</types:closeTechnician>
       <types:woCloseDate>31.03.2008</types:woCloseDate>
       <types:action>CLI</types:action>
    </closeWoRequest>
    </part>
    </invokeWizardInput>
    </input>
    <fault>
      <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
        <part name="summary">
          <summary>exception on JaxRpc invoke: received empty response</summary>
        </part>
      </remoteFault>
    </fault>
    </messages>

    I looked inside the logfile and found the following error-message.
    So it seams that the Tuxedo-Adapter behind the called service does not get a new connection. But my thought was that this message should be included in the remoteFault.
    <2008-03-31 08:12:23,518> <WARN> <system-irb.collaxa.cube.ws> <AdapterFramework::Outbound> esb:///ESB_Projects/.._CCB-API_TAS6105/CCB_IF1.wsdl [ CCB_IF1PortType::CCB_IF1(input_CCB_IF1,output_CCB_IF1) ] - Unable to provide Log4j handle to com.attunity.adapter.AttuConnectionFactory via <public void setLog4jLogger(org.apache.log4j.Logger logger)> due to: com.attunity.adapter.AttuConnectionFactory.setLog4jLogger(org.apache.log4j.Logger)
    1103777 [AJPRequestHandler-RMICallHandler-96] ERROR com.attunity.connect.jca - acp.AcpServer.Send connection request failed for server 10.32.1.95 port 2552: at
    com.attunity.adapter.core.acp.AcxClientRequestException: [J0036] = client.requestError (daemon.connect): [C014] Client connection limit reached - try later
         at com.attunity.adapter.core.acp.AcpServer.CheckForExceptionResponse(Unknown Source)
         at com.attunity.adapter.core.acp.AcpServer.sendObjectsNowAux(Unknown Source)
         at com.attunity.adapter.core.acp.AcpServer.sendObjectsNow(Unknown Source)
         at com.attunity.adapter.core.acp.AcpServer.sendObject(Unknown Source)
         at com.attunity.adapter.core.acp.AcpServer.getRedirectedAddr(Unknown Source)
         at com.attunity.adapter.core.acp.AcpServer.connect(Unknown Source)
         at com.attunity.adapter.core.CoreManagedConFactory.createNewServer(Unknown Source)
         at com.attunity.adapter.core.CoreManagedCon.<init>(Unknown Source)
         at com.attunity.adapter.AttuManagedCon.<init>(Unknown Source)
         at com.attunity.adapter.oracle.AttuManagedCon.<init>(Unknown Source)
         at com.attunity.adapter.oracle.AttuManagedConFactory.getEmptyManagedCon(Unknown Source)
         at com.attunity.adapter.core.CoreManagedConFactory.createManagedConnection(Unknown Source)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1211)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at com.attunity.adapter.core.CoreConnectionFactory.getConnection(Unknown Source)
         at com.attunity.adapter.core.CoreConnectionFactory.getConnection(Unknown Source)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool.createJCAConnection(WSIFPort_JCA.java:1622)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA$JCAConnectionPool$JCAConnection.init(WSIFPort_JCA.java:1339)
         at oracle.tip.adapter.fw.wsif.jca.WSIFPort_JCA.obtainJCAConnection(WSIFPort_JCA.java:996)
         at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:334)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:787)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:694)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:714)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1419)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:112)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:275)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:197)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:82)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1419)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.java:333)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvider.java:200)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

  • Jboss jndi exception

    i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
    this is the log when im deploying de rar file :
    2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
    2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
    2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
    2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
    2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
    2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
    2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
    2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
    2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
    2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
    2/13/12:2:30:44 PM:10:INFO[,]factory = null
    2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
    2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
    2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
    2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
    2/13/12:2:30:44 PM:10:INFO[,]factory = null
    2/13/12:2:30:44 PM:10:INFO[,]name = STRING
    2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
    2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
    2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
    2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
    2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
    2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
    2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
    2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
    2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
    2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
    2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
    2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
    2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
    2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
    2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
    2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
    2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
    2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
    2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
    2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
    2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
    2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
    2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
    2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
    2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
    2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
    2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
    2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
    2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
    2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
    2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
    2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
    2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
    but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
    <resource-adapter>
    <archive>
    TuxedoAdapter.rar
    </archive>
    <transaction-support>
    NoTransaction
    </transaction-support>
    <connection-definitions>
    <connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
         jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
    </connection-definitions>
    </resource-adapter>
    ctx = new InitialContext();
              cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
              c = cf.getConnection();
    Edited by: 907185 on 13/02/2012 12:01

    i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
    this is the log when im deploying de rar file :
    2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
    2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
    2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
    2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
    2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
    2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
    2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
    2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
    2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
    2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
    2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
    2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
    2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
    2/13/12:2:30:44 PM:10:INFO[,]factory = null
    2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
    2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
    2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
    2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
    2/13/12:2:30:44 PM:10:INFO[,]factory = null
    2/13/12:2:30:44 PM:10:INFO[,]name = STRING
    2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
    2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
    2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
    2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
    2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
    2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
    2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
    2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
    2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
    2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
    2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
    2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
    2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
    2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
    2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
    2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
    2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
    2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
    2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
    2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
    2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
    2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
    2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
    2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
    2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
    2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
    2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
    2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
    2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
    2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
    2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
    2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
    2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
    2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
    2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
    2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
    2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
    2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
    2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
    2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
    2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
    2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
    2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
    2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
    2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
    2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
    2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
    2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
    2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
    2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
    2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
    2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
    but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
    <resource-adapter>
    <archive>
    TuxedoAdapter.rar
    </archive>
    <transaction-support>
    NoTransaction
    </transaction-support>
    <connection-definitions>
    <connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
         jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
    </connection-definitions>
    </resource-adapter>
    ctx = new InitialContext();
              cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
              c = cf.getConnection();
    Edited by: 907185 on 13/02/2012 12:01

  • Problem Creating Partner Link for Adapter Integrating with Tuxedo using JCA

    Hi All,
    This is the first time that I am working on integration tools. I will explain in brief the problem.
    There will be a legacy system (Tuxedo) running which connect to legacy database for requests. I am able to connect to that legacy system using Attunity Studio for getting the response back. Which is working fine.
    Now I want that to integrate with BPEL PM 10.1.2 using JCA. For this I followed this URL (http://www.oracle.com/technology/tech/java/oc4j/904/how_to/oc4j-jca-tux/onjava-jca.html). What happens here is, a simple servlet invokes a Session Bean that interacts the Attunity Server using the JCA. For that I am using oc4j container of BPEL PM 10.1.2. I could able to work it fine.
    For working with BPEL, I have created synchronous process, when try to create Partner link using Adapter service from WSIL browser, it is not coming in.
    Am I missed any important configuration at BPEL PM end.
    For doing this a followed the "tutorial 2" @ http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    In exact way, above provided tutorial 2 PDF, I failed at step "Configuring a BPEL Service to invoke the above Adapter Service" on page 11.
    Your help is highly appreciated
    Thanks
    Venkata

    Something to note. I tried adding the same BPEL services as partner links to a new application and new project on two other developer's workstations, and the creation of the partner links were successful.

  • Performance issues with the Tuxedo MQ Adapter

    We are experimenting some performance issues with the MQ Adapter. For example, we are seeing that the MQ Adapter takes from 10 to 100 ms in reading a single message from the queue and sending to the Tuxedo service. The Tuxedo service takes 80 ms in its execution so there is a considerable waste of time in the MQ adapter that we cannot explain.
    Also, we have looked a lot of rollback transactions on the MQ adapter, for example we got 980 rollback transactions for 15736 transactions sent and only the MQ adapter is involved in the rollback. However, the operations are executed properly. The error we got is
    135027.122.hqtux101!MQI_QMTESX01.7636.1.0: gtrid x0 x4ec1491f x25b59: LIBTUX_CAT:376: ERROR: tpabort: xa_rollback returned XA_RBROLLBACK.
    I am looking for information at Oracle site, but I have not found nothing. Could you or someone from your team help me?

    Hi Todd,
    We have 6 MQI adapters reading from 5 different queues, but in this case we are writing in only one queue.
    Someone from Oracle told us that the XA_RBROLLBACK occurs because we have 6 MQ adapters that are reading from the same queues and when one adapter finds a message and try to get that message, it can occurs that other MQ Adapter gets it before. In this case, the MQ adapter rollbacks the transaction. Even when we got some XA_RBROLLBACK errors, we don´t lose message. Also, I read something about that when XA sends a xa_end call to MQ adapter, it actually does the rollback, so when the MQ adapter receives the xa_rollback call, it answers with XA_RBROLLBACK. Is that true?
    However, I am more worried about the performance. We are putting a request message in a MQ queue and waiting for the reply. In some cases, it takes 150ms and in other cases it takes much more longer (more than 400ms). The average is 300ms. MQ adapter calls a service (txgralms0) which lasts 110ms in average.
    This is our configuration:
    "MQI_QMTESX01" SRVGRP="g03000" SRVID=3000
    CLOPT="-- -C /tuxedo/qt/txqgral00/control/src/MQI_QMTESX01.cfg"
    RQPERM=0600 REPLYQ=N RPPERM=0600 MIN=6 MAX=6 CONV=N
    SYSTEM_ACCESS=FASTPATH
    MAXGEN=1 GRACE=86400 RESTART=N
    MINDISPATCHTHREADS=0 MAXDISPATCHTHREADS=1 THREADSTACKSIZE=0
    SICACHEENTRIESMAX="500"
    /tuxedo/qt/txqgral00/control/src/MQI_QMTESX01.cfg:
    *SERVER
    MINMSGLEVEL=0
    MAXMSGLEVEL=0
    DEFMAXMSGLEN=4096
    TPESVCFAILDATA=Y
    *QUEUE_MANAGER
    LQMID=QMTESX01
    NAME=QMTESX01
    *SERVICE
    NAME=txgralms0
    FORMAT=MQSTR
    TRAN=N
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KGCRQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KGCPQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KPSAQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KPINQ01
    *QUEUE
    LQMID=QMTESX01
    MQNAME=QAT.Q.NACAR.TO.TUX.KDECQ01
    Thanks in advance,
    Marling

Maybe you are looking for

  • Trying to publish a java object to PL/SQL

    Im really new to java and I've been trying to figure this out all day. Can someone PLEASE help me? Im trying to publish a java class I found off the internet to PL/SQL. I Can't seem to get the wrapper right... what am I doing wrong? The class is post

  • HT3529 Text messages appear as phone numbers

    Text messages appear as phone numbers rather than as names

  • IPhoto app disappeared!

    The only thing that was different was that I had enabled spaces for the first time. And assigned applications to different spaces. I went to open my iPhoto from the dock and nothing! I disabled spaces, which was working fine with all my other apps, a

  • Customer Balance Details based on Business Area

    Hi,    I am working on Customer Balace Report.In this report list should dispaly with opening balance of a customer of particular business area and debit ,credit values finall i has to show the closing balance detials.I can able to get the debit cred

  • Interactive reports using pfn

    Hi all. I have written code for interactive report using pfn.when i am clicking on check box for individual entries i am getting the correct result but when i am selecting multiple checkbox i am not getting required result. Eg.suppose basic list has