InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.1: XMLConfig command line interface for XML configuration >
6.6.0.2.1.4: wartoxmlconfig script

6.6.0.2.1.4: wartoxmlconfig script

The wartoxmlconfig.(bat|sh) scripts performs from the command line the same function as the Convert WAR File task on the console. The command line syntax is shown below:

wartoxmlconfig [war filename] [webapp destination] [admin node] [node] [server]
[servlet engine] [virtual host] [webapp path] [webapp name]
  • war filename - full path to the WAR file
  • webapp destination - directory where web application will be rooted (a subdirectory will be created that matches the specified web app name)
  • admin node -name of the node containing the admin server you are connecting to (as shown in the Admin GUI)
  • node - name of the node you are installing the WAR on to (as shown in the Admin GUI)
  • server - name of the server you are installing the WAR on to (as shown in the Admin GUI)
  • servlet engine - name of the servlet engine you are installing the WAR on to (as shown in the Admin GUI)
  • virtual host - name of the virtual host you wish this application to be accessible from (as shown in the Admin GUI)
  • webapp path - the context path of the web application
  • webapp name - the name of the web application to be shown in the Admin GUI

Example:

wartoxmlconfig c:\temp\servlet-tests.war c:\websphere\appserver\hosts\default_host
mynode mynode "Default Server" "Default Servlet Engine" default_host
/servlet-tests Servlet_Tests
Go to previous article: XMLConfig - User registry searches Go to next article: Troubleshooting XMLConfig

 

 
Go to previous article: XMLConfig - User registry searches Go to next article: Troubleshooting XMLConfig