If you want to test objects other than enterprise beans on the
Universal Test Client running on Apache Tomcat, follow these instructions:
Note: The information in this topic does not apply to WebSphere® Application
Server - Express.
- Use the Create Server wizard to create
a Tomcat server.
- In the Servers view, double-click on the server that you created
to open it.
- To add the J2EE JAR file containing the javax.ejb package:
- In the Launch Configuration wizard (in the main toolbar select Run > Run),
under the Class path section, click Add
External Jars. The Select JAR file window opens.
- In the File name field, type or browse
to the path of j2ee.jar. For example, <directory>: \runtimes\base_v6\lib\j2ee.jar (where
<directory> is the directory where this product is
installed).
- Click Open. The J2EE JAR file is added
to the Class path list.
- To save your changes and exit the launch configuration editor,
click Apply > Close.
- To add an external Web module:
- In the Servers view, double-click the Tomcat server, the server
editor opens.
- Select the Modules tab.
- Click Add External Web Module. The Add Web Module window opens.
- In the Document base field, type or browse
to <directory>\plugins\com.ibm.ws.ast.st.utc\IBMUTC.ear\UTC.war,
where in the <directory> is the installation directory
of this product. For example, C:\Program Files\IBM\SDP70Shared\plugins\com.ibm.ws.ast.st.utc\IBMUTC.ear\UTC.war
- In the Path field, type /UTC.
- Ensure that the Auto Reloading check
box is not selected. (This change is not necessary but will increase performance
slightly).
- Click OK.
- Save your changes and close the editor.
- In the Servers view, start the Tomcat server.
- Open the Web browser and type the following URL: http://localhost:8080/UTC