Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43869

Wiki Page: How to configure ServerTrace1.1 to work with BAS451 on Solaris

$
0
0
Problem: Product Name: Borland Application Server Product Version: 4.51 Product Component: ServerTrace Platform/OS Version: Solaris How to configure ServerTrace1.1 to work with BAS451 on Solaris? Resolution: The following script sets various environment variables and then executes vbj which calls com.inprise.ejb.Container. Note. The JDK used should not be the production one from Solaris because that does not support JVMPI very well. A suitable JDK would be the reference implementation (available from http://java.sun.com/products/jdk/1.2.1/download-solaris.html). --- script to configure ServerTrace1.1 to run BAS451 on Solaris --- #!/bin/sh -x # Where is BAS installed? BAS=/opt/BAS451 VBJ=$BAS/bin/vbj # My example configuration runs the sort example JARS=/home/bcamac/examples/ejb/sort/sort_beans.jar BAS_SERVICES="-jns -jts -jss -jdb" # Where is ServerTrace installed? STRACE=/home/bcamac/STrace export STRACE # Where is a reference JDK? JDK=/home/bcamac/jdk1314/j2sdk1_3_1_04/jre/bin # VBJ is supposed to get its cue about which JDK to use from javavm env variable ... javavm=${JDK} export javavm # ... but we"ll add it to the path anyway ;-) PATH=${STRACE}/lib:${JDK}:${PATH} export PATH LD_LIBRARY_PATH=${STRACE}:${STRACE}/lib:${STRACE}/ext:${LD_LIBRARY_PATH} export LD_LIBRARY_PATH OPTIT_OPS="-J-Xbootclasspath/a:${STRACE}/lib/oibcp.jar -J-Xrunoii:filter={STrace}/filters/BES.oif -DGCOPSIZE=150 intuitive.audit.Audit" # Important - Check which JDK we"re running. # Make sure that the version information you get is JDK1.2.x or JDK1.3x. Later versions will not run BAS451. # Also, if the version begins with "Solaris VM" then its a production release which doesn"t implement JVMPI very well. # Hence you should use a version which begins with "Classic VM" $VBJ -version # Run the ejbcontainer using ServerTrace monitoring engine $VBJ -VBJclasspath ${STRACE}/lib/optit.jar $OPTIT_OPS com.inprise.ejb.Container mycontainer $JARS $BAS_SERVICES  

Viewing all articles
Browse latest Browse all 43869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>