3.3.2.3 Register the Plug-in
To register the plug-in, do the following steps:
- Shutdown your Oracle Tuxedo application by “tmshutdown”
- Compose a shell script named “
reg.sh” - Run the script
sh ./reg.sh - Boot your Oracle Tuxedo applications by "tmboot"
The following code snippet is an example of the reg.sh shell script
reg.sh Shell Script
#!/bin/sh
epifreg -r -p abc/tuxedo/tsam -i engine/performance/monitoring \
-o SYSTEM -v 1.0 \
-f $APPDIR/customplugin.so -e plugin_entry
epifregedt -s -k "SYSTEM/impl/bea/performance/monfan" \
-a InterceptionSeq=bea/performance/monshm \
-a InterceptionSeq=abc/tuxedo/tsam \
Parent topic: Developing a Oracle TSAM Plus Agent Plug-in