Forum Stats

  • 3,872,173 Users
  • 2,266,401 Discussions
  • 7,911,086 Comments

Discussions

Weblogic Tuxedo Concector Problems

715711
715711 Member Posts: 3
edited Aug 6, 2009 9:01AM in Tuxedo
I´m trying to connect a weblogic with a tuxedo.I´m trying to connect it in the same machine in a Red Hat 5.I have both installed and running and I did all the instructions of this website:+ [http://edocs.bea.com/wls/docs100/wtc_qstart/quickstart.html#1112698|http://edocs.bea.com/wls/docs100/wtc_qstart/quickstart.html#1112698] +

But when write

tmboot -y

appears this error:

exec GWADM -A :
process id=17257 ... Started.
exec GWTDOMAIN -A :

CMDTUX_CAT:1685: ERROR: Application initialization failure

And in the ULOG:

+130517.srvweb_pre!GWTDOMAIN.17258.3085969088.0: LIBTUX_CAT:262: INFO: Standard main starting+
+130526.srvweb_pre!GWTDOMAIN.17258.3085969088.0: LIBGWT_CAT:1243: WARN: Open TDOM1 address //10.16.192.182:1234 failed,+
Network error(99)
+130526.srvweb_pre!GWTDOMAIN.17258.3085969088.0: LIBGWT_CAT:1244: WARN: No more NW address to try+
+130526.srvweb_pre!GWTDOMAIN.17258.3085969088.0: LIBGWT_CAT:1124: ERROR: Unable to open listening endpoint+
+130526.srvweb_pre!GWTDOMAIN.17258.3085969088.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed+


What I can do?

Best Answer

Answers

  • Todd Little-Oracle
    Todd Little-Oracle Chief Architect Transaction Processing Products United StatesMember Posts: 1,621 Employee
    Hi,

    Just a guess, but I suspect something else is using the port you specified of the IP address is incorrect. Just to make it clear, the ports used by Tuxedo and WTC need to be different and not currently in use. So if WTC is configured to use port 1234 as a local domain network address, Tuxedo's domain gateway configuration file needs to define a remote domain to WTC using that same address.

    Can you post your DMCONFIG file and describe how you've configured WTC?

    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect
  • 715711
    715711 Member Posts: 3
    This is my dmconfig:

    *DM_RESOURCES
    VERSION=U22
    *DM_LOCAL_DOMAINS
    TDOM1 GWGRP=GROUP2
    TYPE=TDOMAIN
    DOMAINID="TDOM1"
    BLOCKTIME=20
    MAXDATALEN=56
    MAXRDOM=89
    DMTLOGDEV="/opt/oracle/tuxedo10gR3/samples/atmi/simpapp/TLOG"
    DMTLOGNAME="TLOG"
    AUDITLOG="/opt/oracle/tuxedo10gR3/samples/atmi/simpapp/aud"
    *DM_REMOTE_DOMAINS
    TDOM2 TYPE=TDOMAIN
    DOMAINID="TDOM2"
    *DM_TDOMAIN
    TDOM1 NWADDR="//10.16.192.182:1234"
    TDOM2 NWADDR="//10.16.192.182:5678"
    *DM_REMOTE_SERVICES
    TOLOWER RDOM="TDOM2"



    This is my ubbdomain:
    # (c) 2003 BEA Systems, Inc. All Rights Reserved.
    #ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"

    #Skeleton UBBCONFIG file for the TUXEDO Simple Application.
    #Replace the <bracketed> items with the appropriate values.



    *RESOURCES
    IPCKEY 34000

    DOMAINID simpapp
    MASTER SITE1
    MAXACCESSERS 150
    MAXSERVERS 200
    MAXSERVICES 1000
    MODEL SHM
    LDBAL N

    *MACHINES
    DEFAULT:
    APPDIR="/opt/oracle/tuxedo10gR3/samples/atmi/simpapp"
    TUXCONFIG="/opt/oracle/tuxedo10gR3/samples/atmi/simpapp/tuxconfig"
    TUXDIR="/opt/oracle/tuxedo10gR3"
    MAXWSCLIENTS=10
    srvweb_pre LMID=SITE1

    *GROUPS
    GROUP1
    LMID=SITE1 GRPNO=1 OPENINFO=NONE

    GROUP2
    LMID=SITE1 GRPNO=2 OPENINFO=NONE

    *SERVERS
    DEFAULT:
    CLOPT="-A"

    simpserv SRVGRP=GROUP1 SRVID=1

    DMADM SRVGRP=GROUP2 SRVID=1
    GWADM SRVGRP=GROUP2 SRVID=2
    GWTDOMAIN SRVGRP=GROUP2 SRVID=3

    *SERVICES
    TOUPPER


    This is my config.xml of my weblogic:

    <?xml version='1.0' encoding='UTF-8'?>
    <domain xmlns="http://www.bea.com/ns/weblogic/920/domain" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xsi:schemaLocation="http://www.bea.com/ns/weblogic/90/security/xacml http://www.bea.com/ns/weblogic/90/security/xacml.xsd http://www.bea.com/ns/weblogic/90/security http://www.bea.com/ns/weblogic/90/security.xsd http://www.bea.com/ns/weblogic/920/domain http://www.bea.com/ns/weblogic/920/domain.xsd http://www.bea.com/ns/weblogic/90/security/wls http://www.bea.com/ns/weblogic/90/security/wls.xsd">
    <name>wl_server</name>
    <domain-version>9.2.3.0</domain-version>
    <security-configuration>
    <name>wl_server</name>
    <realm>
    <sec:authentication-provider xsi:type="wls:default-authenticatorType"></sec:authentication-provider>
    <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xmlns:xac="http://www.bea.com/ns/weblogic/90/security/xacml" xsi:type="xac:xacml-role-mapperType"></sec:role-mapper>
    <sec:authorizer xmlns:xac="http://www.bea.com/ns/weblogic/90/security/xacml" xsi:type="xac:xacml-authorizerType"></sec:authorizer>
    <sec:adjudicator xsi:type="wls:default-adjudicatorType"></sec:adjudicator>
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType"></sec:credential-mapper>
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType"></sec:cert-path-provider>
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{3DES}f0/gRLL3SJFyrUAxR8iJHh8YKWIC98F2rYNzHrWykjvxUjet2ytTk9OiH+DCzlaDVfZjwLG1XntBVpIiWbpdCGOmsDLE6/Tk</credential-encrypted>
    <node-manager-username>weblogic</node-manager-username>
    <node-manager-password-encrypted>{3DES}g41XPWtXwZAWyvkcnXtEuw==</node-manager-password-encrypted>
    </security-configuration>
    <jta>
    <name>wl_server</name>
    <timeout-seconds>500</timeout-seconds>
    </jta>
    <wtc-server>
    <name>mySimpapp</name>
    <target>examplesServer</target>
    <wtc-local-tux-dom>
    <name>myLocalAp</name>
    <access-point>myLocalAp</access-point>
    <access-point-id>TDOM2</access-point-id>
    <nw-addr>//10.16.109.182:5678</nw-addr>
    </wtc-local-tux-dom>
    <wtc-remote-tux-dom>
    <name>myRemoteAP</name>
    <access-point>myRemoteAP</access-point>
    <access-point-id>TDOM1</access-point-id>
    <local-access-point>myLocalAp</local-access-point>
    <nw-addr>//10.16.109.182:1234</nw-addr>
    <federation-url></federation-url>
    <federation-name></federation-name>
    </wtc-remote-tux-dom>
    <wtc-export>
    <name>WTCExportedService-0</name>
    <resource-name>TOLOWER</resource-name>
    <local-access-point>myLocalAp</local-access-point>
    <ejb-name>tuxedo.services.TOLOWERHome</ejb-name>
    <remote-name>TOLOWER</remote-name>
    </wtc-export>
    <wtc-import>
    <name>WTCImportedService-0</name>
    <resource-name>TOUPPER</resource-name>
    <local-access-point>myLocalAp</local-access-point>
    <remote-access-point-list>myRemoteAP</remote-access-point-list>
    <remote-name>TOUPPER</remote-name>
    </wtc-import>
    </wtc-server>
    <server>
    <name>examplesServer</name>
    <ssl>
    <name>examplesServer</name>
    <enabled>true</enabled>
    <listen-port>7002</listen-port>
    </ssl>
    <listen-address></listen-address>
    </server>
    <embedded-ldap>
    <name>wl_server</name>
    <credential-encrypted>{3DES}LIep7Qp3j8fmJtUFieNIwtXXjnFzgn3Ts1cBJk+v5jA=</credential-encrypted>
    </embedded-ldap>
    <configuration-version>9.2.3.0</configuration-version>
    <app-deployment>
    <name>mainWebApp</name>
    <target>examplesServer</target>
    <module-type>war</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/mainWebApp</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>examplesWebApp</name>
    <target>examplesServer</target>
    <module-type>war</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/examplesWebApp</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>ejb20BeanMgedEar</name>
    <target>examplesServer</target>
    <module-type>ear</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/ejb20BeanMgedEar</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>webappCachingEar</name>
    <target>examplesServer</target>
    <module-type>ear</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/webappCachingEar</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>jdbcRowSetsEar</name>
    <target>examplesServer</target>
    <module-type>ear</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/jdbcRowSetsEar</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>jspSimpleTagEar</name>
    <target>examplesServer</target>
    <module-type>ear</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/jspSimpleTagEar</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>webservicesJwsSimpleEar</name>
    <target>examplesServer</target>
    <module-type>ejb</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/webservicesJwsSimpleEar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>xmlBeanEar</name>
    <target>examplesServer</target>
    <module-type>ear</module-type>
    <source-path>/root/bea/weblogic92/samples/server/examples/build/xmlBeanEar</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>SamplesSearchWebApp</name>
    <target>examplesServer</target>
    <module-type>war</module-type>
    <source-path>/root/bea/weblogic92/samples/server/docs</source-path>
    <deployment-order>100</deployment-order>
    <security-dd-model>Advanced</security-dd-model>
    </app-deployment>
    <app-deployment>
    <name>appsdirwtc_toupper_jar</name>
    <target>examplesServer</target>
    <module-type>ejb</module-type>
    <source-path>autodeploy/wtc_toupper.jar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <app-deployment>
    <name>appsdirwtc_tolower_jar</name>
    <target>examplesServer</target>
    <module-type>ejb</module-type>
    <source-path>autodeploy/wtc_tolower.jar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>stage</staging-mode>
    </app-deployment>
    <library>
    <name>apache_xbean.jar</name>
    <target>examplesServer</target>
    <source-path>/root/bea/weblogic92/common/lib/apache_xbean.jar</source-path>
    <security-dd-model>DDOnly</security-dd-model>
    <staging-mode>nostage</staging-mode>
    </library>
    <jms-server>
    <name>examplesJMSServer</name>
    <target>examplesServer</target>
    <persistent-store>exampleJDBCStore</persistent-store>
    <temporary-template-resource xsi:nil="true"></temporary-template-resource>
    <temporary-template-name xsi:nil="true"></temporary-template-name>
    <jms-message-log-file>
    <name>examplesJMSServer</name>
    </jms-message-log-file>
    </jms-server>
    <jms-server>
    <name>WseeJMSServer</name>
    <target>examplesServer</target>
    <persistent-store>WseeFileStore</persistent-store>
    <allows-persistent-downgrade>true</allows-persistent-downgrade>
    <hosting-temporary-destinations>false</hosting-temporary-destinations>
    </jms-server>
    <self-tuning>
    <work-manager>
    <name>weblogic.wsee.mdb.DispatchPolicy</name>
    <target>examplesServer</target>
    </work-manager>
    </self-tuning>
    <file-store>
    <name>WseeFileStore</name>
    <directory>WseeFileStore</directory>
    <target>examplesServer</target>
    </file-store>
    <jdbc-store>
    <name>exampleJDBCStore</name>
    <prefix-name>examples</prefix-name>
    <data-source>examples-demo</data-source>
    <target>examplesServer</target>
    </jdbc-store>
    <jms-system-resource>
    <name>examples-jms</name>
    <target>examplesServer</target>
    <sub-deployment>
    <name>exampleQueue</name>
    <target>examplesServer</target>
    </sub-deployment>
    <sub-deployment>
    <name>exampleTopic</name>
    <target>examplesServer</target>
    </sub-deployment>
    <sub-deployment>
    <name>exampleTrader</name>
    <target>examplesServer</target>
    </sub-deployment>
    <sub-deployment>
    <name>examplesJMSServer</name>
    <target>examplesJMSServer</target>
    </sub-deployment>
    <sub-deployment>
    <name>WseeJMSServer</name>
    <target>WseeJMSServer</target>
    </sub-deployment>
    <descriptor-file-name>jms/examples-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <admin-server-name>examplesServer</admin-server-name>
    <jdbc-system-resource>
    <name>examples-demo</name>
    <target>examplesServer</target>
    <descriptor-file-name>jdbc/examples-demo-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>examples-demoXA</name>
    <target>examplesServer</target>
    <descriptor-file-name>jdbc/examples-demoXA-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>examples-oracleXA</name>
    <descriptor-file-name>jdbc/examples-oracleXA-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>examples-demoXA-2</name>
    <target>examplesServer</target>
    <descriptor-file-name>jdbc/examples-demoXA-2-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <jdbc-system-resource>
    <name>examples-multiDataSource-demoXAPool</name>
    <target>examplesServer</target>
    <descriptor-file-name>jdbc/examples-multiDataSource-demoXAPool-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    <saf-agent>
    <name>ReliableWseeSAFAgent</name>
    <target>examplesServer</target>
    <store>WseeFileStore</store>
    <service-type>Both</service-type>
    <conversation-idle-time-maximum>150000</conversation-idle-time-maximum>
    </saf-agent>
    </domain>
  • 651249
    651249 Member Posts: 169
    Answer ✓
    It looks wrong IP used in DOMCONFIG. In wtc configuration, you configured 10.16.109.182:1234, but in DOMCONFIG, you set //10.16.192.182:1234 ... Which one is correct?

    Wayne
  • 715711
    715711 Member Posts: 3
    edited Aug 6, 2009 9:01AM
    Everything now is perfect thank you for your help and my apologies for be so absentminded.

    Edited by: user11092637 on 06-ago-2009 5:59
This discussion has been closed.