内容包含调用JoltServlet
Type some text here and click the Post button:<form action="joltservlet" method="post"><input type="hidden" value="TOUPPER"><input type="text"></td><input type="submit" value="Post!"></form>5.Goto %WL_HOME%\config\example, start the examples domain,
6.Access :7001/examplesWebApp/jolt.html五、用JOLT连接Tuxedo和Weblogic
5.1在Tuxedo上安装、配置JOLT Server
1 – 安装JOLT Server
2 -- set your environment
set TUXDIR=d:\bea\tuxedo
set JOLTDIR=%TUXDIR%\udataobj\jolt
set APPDIR=%TUXDIR%\samples\atmi\simpapp
set PATH=%TUXDIR%\bin;%JOLTDIR%\bin;%APPDIR%;%PATH%
set NLSPATH=%TUXDIR%\locale\C
set TUXCONFIG=%APPDIR%\tuxconfig3 – added in UBBconfig file
JSLSRVGRP=GROUP1 SRVID=6 CLOPT="-A -- -n //10.128.5.112:9001"JREPSVRSRVGRP=GROUP1 SRVID=7 CLOPT="-A -- -W -P d:\Bea\tuxedo\udataobj\jolt\repository\jrepository"JREPSVRSRVGRP=GROUP1 SRVID=8 CLOPT="-A -- -P d:\Bea\tuxedo\udataobj\jolt\repository\jrepository"5.2 配置Weblogic Server 6.x
1,Download the Jolt client package for WLS from developer.bea.com, unzip it and copy the jar file to %WL_HOME%\lib. Then add the jar files into your Weblogic domain environment file:
classpath=%classpath%;%WL_HOME%\lib\jolt.jar;%WL_HOME%\lib\joltweblogic.jar2,Config Jolt pool manager startup class in Weblogic
a,start Weblogic and access the console
b,create Startup class and Shutdown class
in console:Deployments->Startup & Shutdown,right click
select create a new StartUp class...:
name:demojoltpoolStartup
classname:bea.jolt.pool.servlet.weblogic.PoolManagerStartUp3,Create a jolt pool
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-30008-9.html
哈哈