To develop web services or Java applications using Workshop that access Tuxedo services, you must use WebLogic Tuxedo Connector (WTC) to act as the gateway between the environments. WebLogic Tuxedo Connector connects WebLogic Server to Tuxedo. You must configure your environment to connect the two environments using WebLogic Tuxedo Connector.
In the Tuxedo environment, you must:
GWGRP LMID=simple GRPNO=2
DMADM SRVGRP=GWGRP SRVID=1 GWADM SRVGRP=GWGRP SRVID=2 GWTDOMAIN SRVGRP=GWGRP SRVID=3
WSLGROUP LMID=simple GRPNO=3
WSL SRVGRP=WSLGRP SRVID=1 CLOPT="-A -- -n //machine:port"
A sample DMCONFIG file follows.
# DMCONFIG FILE *DM_RESOURCES VERSION="U22" *DM_LOCAL <LOCAL DOMAIN NAME> GWGRP=GWGRP2 ACCESSPOINTID="<LOCAL DOMAIN NAME>" AUDITLOG="<APPDIR>\aud" BLOCKTIME=20 DMTLOGDEV="<APPDIR>\tlog" DMTLOGNAME="DMTLOG_TDOM1" MAXDATALEN=56 MAXRACCESSPOINT=89 MAXTRAN=100 BLOB_SHM_SIZE=1000000 SECURITY=NONE *DM_REMOTE <REMOTE DOMAIN NAME> ACCESSPOINTID="<REMOTE DOMAIN NAME>" ACL_POLICY="LOCAL" CREDENTAIL_POLICY="LOCAL" *DM_TDOMAIN <LOCAL DOMAIN NAME> NWADDR="//<LOCAL DOMAIN NETWORK ADDRESS>:<PORT NUMBER>" <REMOTE DOMAIN NAME> NWADDR="//<REMOTE DOMAIN NETWORK ADDRESS>:<PORT NUMBER>" *DM_REMOTE_ERVICES
tmloadcf -y <name>.ubb dmloadcf -y domconfig tmboot -y
To configure WebLogic Tuxedo Connector, start WebLogic Server and use the New Control dialog to configure a WTC service. For instructions on how to configure the WTC service, refer to How Do I: Configure a WTC Service.