How to Deploy Custom Web Application in Windchill Tomcat

How to Deploy Custom Web Application in Windchill Tomcat

Add Comment
1 Answer(s)

Follow Below Steps to Deploy Custom Web Application in Windchill Tomcat.

  • Copy the war to a directory say /app01/windchill11/Windchill/tomcat/webapps/sample
  • Open a Windchill shell run the command, navigate to /app01/windchill11/Windchill/tomcat and run the below command, appName is the what you use after server name to access the application. This will install the web app on Windchill Tomcat
ant -f config.xml installWebApp -DappName=sample -DdocBase=/app01/windchill11/Windchill/tomcat/webapps/sample
  • Now you have two options either to enable direct HTTP access on tomcat to access the app or use web server directives direct the traffic to tomcat. if you want to enable
    • direct access add below line to /app01/windchill11/Windchill/tomcat/conf/server.xml.default
    • <Connector port="8080" protocol="HTTP/1.1"  connectionTimeout="20000" redirectPort="8443" />

       

  • Now restart Windchill and access the page – http://localhost:8080/sample
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.