Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connectivity Between Client & Server | Oracle Tuxedo 12cR2 (12.1.3)

John8710Apr 5 2016 — edited Apr 6 2016

I have downloaded and installed the Oracle Tuxedo 12cR2 (12.1.3) (Including Tuxedo, SALT, and TSAM Plus Agent) for Windows (client) and Linux (server).

Successfully installed for both OS and then took the sample folder (simpapp) as to test (in Windows).

I have compiled:

  • Server: buildserver -o simpserv -f simpserv.c -s TOUPPER
  • Client: buildclient -o simpcl -f simpcl.c -w


I have set the environment variables:

  • Server:

         

PATH=$PATH:$HOME/bin:$TUXDIR/bin:$JAVA_HOME/bin:$APPDIR:/bin; export PATH

TUXDIR=/home/john8710/OraHome_1/tuxedo12.1.3.0.0; export TUXDIR

APPDIR=/home/john8710/tuxedo_app; export APPDIR

TUXCONFIG=$APPDIR/tuxconfig; export TUXCONFIG

JAVA_HOME=$TUXDIR/jre; export JAVA_HOME

JVMLIBS=$JAVA_HOME/lib/amd64/server:$JAVA_HOME/bin; export JVMLIBS

COBCPY=:$TUXDIR/cobinclude; export COBCPY

COBOPT="-C ANS85 -C ALIGN=8 -C NOIBMCOMP -C TRUNC=ANSI -C OSEXT=cbl"; export COBOPT

SHLIB_PATH=$TUXDIR/lib:$JVMLIBS:$SHLIB_PATH; export SHLIB_PATH

LIBPATH=$TUXDIR/lib:$JVMLIBS:$LIBPATH; export LIBPATH

LD_LIBRARY_PATH=$TUXDIR/lib:$JVMLIBS:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH

WEBJAVADIR=$TUXDIR/udataobj/webgui/java; export WEBJAVADIR

WSNADDR=//172.19.116.41:7777; export WSNADDR


  • Client:

         

APPDIR = C:\tux_app

TUXCONFIG = C:\tux_app\tuxconfig

TUXDIR = B:\OraHome_1\tuxedo12.1.3.0.0_VS2010

WSENVFILE = C:\tux_app\setenv.cmd

WSNADDR = //172.19.116.41:7777


The setenv.cmd content:

set TUXDIR=B:\OraHome_1\tuxedo12.1.3.0.0_VS2010

set APPDIR=C:\tux_app

set JAVA_HOME=B:\OraHome_1\tuxedo12.1.3.0.0_VS2010\jre\bin

set PATH=%TUXDIR%\bin;%APPDIR%;%JAVA_HOME%\bin;%PATH%

set TUXCONFIG=%APPDIR%\tuxconfig

set WSNADDR=//172.19.116.41:7777

set WSENVFILE=%APPDIR%\setenv.cmd


The ubbsimple config in the server:

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

#Skeleton UBBCONFIG file for the TUXEDO Simple Application.

#Replace the <bracketed> items with the appropriate values.

*RESOURCES

IPCKEY62345

DOMAINIDsimpapp
MASTERsimple
MAXACCESSERS100
MAXSERVERS20
MAXSERVICES20
MODELSHM
LDBALN

*MACHINES

DEFAULT:

APPDIR="/home/john8710/tuxedo_app"
TUXCONFIG="/home/john8710/tuxedo_app/tuxconfig"
TUXDIR="/home/john8710/OraHome_1/tuxedo12.1.3.0.0"

"172.19.116.41"LMID=simple

MAXWSCLIENTS=5

*GROUPS

GROUP1

LMID=simpleGRPNO=1OPENINFO=NONE

*SERVERS

DEFAULT:

CLOPT="-A"

simpservSRVGRP=GROUP1 SRVID=1

WSL SRVGRP=GROUP1 SRVID=2 CLOPT="-A -- -n//172.19.116.41:7777 -p 7777 -P 9777"

*SERVICES

TOUPPER


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


My question is:


1. Why the client still cannot connect to server? Errors:

211533.HTP9332!?proc.5088.2524.0: 04-04-2016: Tuxedo Version 12.1.3.0.0_VS2010, 64-bit

211533.HTP9332!?proc.5088.2524.0: LIBWSC_CAT:1064: ERROR: Unable to establish WSH connection 0x00022302ac137429

211533.HTP9332!?proc.5088.2524.0: LIBWSC_CAT:1055: ERROR: Unable to establish WSL connection

211533.HTP9332!?proc.5088.2524.0: LIBWSC_CAT:1027: ERROR: Unable to connect to WSH

211533.HTP9332!?proc.5088.2524.0: LIBWSC_CAT:1020: ERROR: Unable to obtain authentication level


In Linux (server), I have used the command tmadmin as to check the service(s) and application's server(s):

  • psc

    

Service Name     Routine Name      Prog Name      Grp Name      ID       Machine  # Done     Status

------------ ------------ ---------  --------  --    -------  ------ ------

TOUPPER         TOUPPER           simpserv         GROUP1        1        simple            1       AVAIL


  • psr

    

Prog Name        Queue Name         Grp Name           ID           RqDone        Load Done       Current Service

---------      ----------  --------      -- ------ --------- ---------------

BBL                  62345                    simple                 0             0                  0                      (  IDLE )

simpserv           00001.00001          GROUP1             1            1                   50                     (  IDLE )

WSL                 00001.00002          GROUP1             2            0                   0                       (  IDLE )


*Before i open this discussion, i have read several discussions first:

https://community.oracle.com/message/3420281#3420281

https://community.oracle.com/thread/2494649

https://community.oracle.com/message/3207147#3207147

https://community.oracle.com/message/11168929#11168929

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2016
Added on Apr 5 2016
4 comments
1,394 views