Installing the SimpApp Sample
- Install the Jolt class library (
jolt.jar) and Servlet Connectivity for Oracle Tuxedo class library (joltjse.jar) on the Web application server. Extract the class files if it is required by your Web application server. - Compile the
SimpAppServlet.java. Ensure that you include the standardJDK classes.zip, Jolt class library, and Servlet Connectivity for Oracle Tuxedo class library in the classpath. - Put the
simpapp.htmlandsimpapp.propertiesfiles in the public HTML directory.javac -classpath $(JAVA_HOME)/lib/classes.zip:$(JSDK)/lib/servlet.jar: $(JOLTHOME)/jolt.jar:$(JOLTHOME)/joltjse.jar:./classes -d ./classes SimpAppServlet.javaNote:
The package name of the SimpAppServlet isexamples.jolt.servlet.simpapp. - Modify the
simpapp.propertiesfile. Change the “appaddrlist” and “failoverlist” with the proper Jolt server hosts and ports. Specify the proper Oracle Tuxedo authentication information if the SimpApp has security turned on. For example:#simpapp #Fri Apr 16 00:43:30 PDT 1999 poolname=simpapp appaddrlist=//host:7000,//host:8000 failoverlist=//backup:9000 minpoolsize=1 maxpoolsize=3 userrole=tester apppassword=appPass username=guest userpassword=myPass - Register “Simpapp” for the SimpAppServlet. Consult your Web application server for details. If you are using Oracle WebLogic Server, add the following section of the
config.xmlfile:<Application Deployed="true" Name="simpapp" Path=".\config\mydomain\applications" > <WebAppComponent Name="simpapp" Targets="myserver" URI="simpapp" /> </Application> - To access the SimpApp initial page
“
simpapp.html,” type: http://mywebserver:8080/simpapp.html
Parent topic: SimpApp Sample