Kbase P130786: How to deploy wsa servlet on WebSphere application server?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/12/2008 |
|
Status: Unverified
GOAL:
How to deploy wsa servlet on WebSphere application server?
GOAL:
How to build the war file for wsa and deploy it on WebSphere ?
FACT(s) (Environment):
OpenEdge 10.1x
Windows
Unix
OpenEdge Category: Configuration
FIX:
1. Create an Ant build.xml file in <DLC>/servlets/wsa folder with the following content:
<?xml version="1.0"?>
<project name="wsa" default="all" >
<target name="all" depends="makewar"/>
<target name="makewar">
<tstamp/>
<echo message="Creating the wsa.war file..."/>
<war warfile="wsa.war" webxml="WEB-INF/web.xml" >
<fileset dir="." includes="*.xsd,*.jar,*.html"/>
<zipfileset dir="WEB-INF/lib" includes="*.jar" prefix="WEB-INF/lib"/>
</war>
</target>
</project>
2. open a command window, change directory to <DLC>/servlets/wsa, set JAVA_HOME and ANT_HOME environment variables and add JAVA_HOME/bin and ANT/bin to the PATH.
Note: JDK 1.4.2 or latest and ANT are required
3. Build the war file with:
ant
4. Deploy wsa.war to WebSphere using WebSphere Administrative Console, Applications->Install new application option
5. Start wsa servlet from WebSphere Administrative Console
6. Verify wsa is running with: :/wsa/wsa1">http://<hostname>:<port>/wsa/wsa1
7. Make sure WebSphere URL above matches wsaUrl in ubroker.properties