Publishing using war files

You can publish a configuration to a war file that can then be deployed to a Java EE server. War files contain a Servlet that implements the Web Search function.

Before you begin

Before you begin, make sure that a Java Runtime Environment is set up on your machine. If you do not have JRE installed on your machine, you can download one from one of the following URLs:
Note: For optimal performance, use JRE version 1.4.2 or higher.

Procedure

  1. Publish the .war file from MEC or EPFC:
    1. Follow steps 1 through 13 from the Publishing configurations as Web sites procedure.
    2. Select the Web site format Java EE Web application to create the WAR or EAR file in the location selected in the previous step. The WAR or EAR file can be installed on a Java EE Web server with Servlet 2.3 capabilities. Search will be realized as a Servlet running on such servers.
    3. Select the Include search capability check box.
    4. Provide a Web application name that will be used in the in the URL to your site. For example, my-rup or openup-company-abc. Note: At the top of the page, make sure that you specify a valid directory. This is the directory where the .war file will be stored after the publication is complete.
    5. Click Finish. Publishing is initiated.
  2. Download and install the Application Server (WebSphere or Tomcat). See appropriate third party documentation for instructions on how to complete the following steps.
    1. Download the application server core package for your operating system.
    2. Extract the content of the archive where you want the server to be located on your machine.
  3. Set up and start the application server. See appropriate third party documentation for instructions on how to complete the following steps.
    1. Set up the JAVA_HOME environment variable on your computer. This environment variable defines the location of your Java runtime environment on your machine.
    2. Set up an admin user.
    3. Start the server.
  4. Install and deploy the .war file. See appropriate third party web application documentation for instructions.
  5. Test your site and Search. See appropriate third party documentation for instructions on how to complete the following steps.
    1. You can now see your application listed in the applications section. The application name is the name that you specified in the publication wizard. Click the name to go to your site.
    2. Verify that the Search function works correctly on your site. If the deployment is successful, an EPF Composer published site will open in a new window and display your search results.
      Note: Web sites generated by Engineering Method Composer will display the results on the right side of the same browser page.

Feedback