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
- Publish the .war file from MEC or EPFC:
- Follow steps 1 through 13 from the Publishing configurations as Web sites procedure.
- 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.
- Select the Include search capability check
box.
- 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.
- Click Finish. Publishing is initiated.
- Download and install the Application Server (WebSphere
or Tomcat). See appropriate third party documentation for instructions
on how to complete the following steps.
- Download the application server core package for your
operating system.
- Extract the content of the archive where you want the
server to be located on your machine.
- Set up and start the application server. See appropriate
third party documentation for instructions on how to complete the
following steps.
- Set up the JAVA_HOME environment variable on your computer. This environment variable defines the location of your Java
runtime environment on your machine.
- Set up an admin user.
- Start the server.
- Install and deploy the .war file. See appropriate third
party web application documentation for instructions.
- Test your site and Search. See appropriate third party
documentation for instructions on how to complete the following steps.
- 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.
- 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.