![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
The adtuxedosetenv.csh and adtuxedo_wrkstn_env.sh shell scripts are used if the adapter works as a workstation client. The adtuxedo_native_env.sh shell script is used if the adapter works as a native client. The shell scripts are provided with the installation for UNIX.
1. Edit the following values in the scripts. See TIBCO ActiveMatrix Adapter for Tuxedo Configuration and Deployment, the chapter in Preparing Tuxedo with the proper values for these properties.WSNADDR (if the adapter works as a workstation client)TUXCONFIG (if the adapter works as a native client)
2. FLDTBLDIR32 - contains a list of directories (separated by commas) where field tables can be found.FIELDTBLS32 - contains a list of the files in the table directories (separated by commas) that are to be used.
3. Running the .csh file in C-Shell and the .sh file in the Korn-Shell updates the system path and library path settings.LD_LIBRARY_PATH (Solaris)Note that the shell scripts update the environment for the current shell session only. If you open a new shell session, run the script afresh to update.The following example illustrates the process of starting the adapter from the command line. The adtuxedo_wrkstn.tra and adtuxedosetenv.sh are used:
2.
3. Update the tibco.repourl and tibco.configurl parameters in MyAdapter.tra. For more information on these parameters, see TIBCO ActiveMatrix Adapter for Tuxedo Configuration and Deployment, Appendix A, Adapter Properties Files.
4. Update the application.args parameter to (this is applicable only on Microsoft Windows)
5. Open a C-shell by typing csh at the prompt (this is applicable only on UNIX).
6. Run the script adtuxedosetenv.csh in TIBCO_HOME/adapter/adtuxedo/version_number with the following command (this is applicable only on UNIX):It is assumed that MyAdapter.tra is in the adapter installation bin directory. If it is copied to any other location, provide the absolute path to this file in the command as explained in the previous step.
To run the adapter as a workstation client, the WSNADDR parameter in the properties file needs to be set and the adtuxedo_wrkstn executable should be used. To run the adapter as a native client, the TUXCONFIG parameter in the properties file needs to be set and the adtuxedo_native executable should be used.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |