Menu Search Sign up

WebMethods

Developing WM Web Application

Where to store web application files?

For WmTomcat, place all files for a single Web application into the \web directory of the Integration Server package associated with a Web application. For example, if you have a Web application that uses the package OrderTracking, place the Web application files into the IntegrationServer_directory\packages\OrderTracking\web directory.

If you are doing hot deployment, then they must be placed in IntegrationServer_directory\web\webapps

Where to store class and jar files shared by multiple web applications?

Place shared class files in IntegrationServer_directory\packages\WmTomcat\code\classes
Place shared jar files in IntegrationServer_directory\packages\WmTomcat\code\jars

Where to store class and jar files shared by multiple IS packages?

IntegrationServer_directory\lib\jars

Where to store Tomcat configuration files?

IntegrationServer_directory\web\conf\WmTomcat\localhost

Here is an example configuration file for a web application:

<?xml version='1.0' encoding='utf-8'?>
<Context docBase="/opt/XXX/IntegrationServer/packages/XXX_SSPNDQ_Clearance/web" path="/web/XXX_SSPNDQ_Clearance" workDir="work/WmTomcat/localhost/web_XXX_SSPNDQ_Clearance">
</Context>

Where is Tomcat working directory?

IntegrationServer/web/work/WmTomcat/localhost

URL You Use to Invoke a Web Application

http://<hostname>:<portnumber>/web/<packageName>/<fileName.jsp>
For example:
http://localhost:5555/web/JSPSample/showorders.jsp

References

8-2-SP2_Web_Applications_Developers_Guide.pdf