After you have configured HTTP server (powered by Apache) server
instance, you must configure Tomcat to use the Xsockets tool in a Web browser.
- Under the Manage, select the HTTP server
that you have created.
- Under the Server Properties in the left
pane, select ASF Tomcat Setup Server Task.
- Select Enable servlets for this HTTP Server.
This fills in a Workers definition file for you. Click Next.
- Accept the defaults on the Workers Definition page
by clicking Next.
- On the URL to Worker Mapping page, click Add.
- In the URL(Mount Point) column, enter /xsock.
Click Continue.
- Click Add.
- In the URL(Mount Point) column, enter /xsock/*.
Click Continue.
- Click Next.
- On the In-Process Application Context Definition page,
click Add.
- In the URL Path column, enter /xsock.
- In the Application Base Directory column,
enter webapps/xsock.
- Click Continue. You can see a warning message
that you need to configure more information.
- Click Configure under Configure
Application.
- In the new browser window that opens, select 3 days in the Session
Object timeout field.
Note: This is the recommended
value; however, you can specify another value for the Session Object
timeout.
- Click Add to add Servlet definition and
complete the following steps:
- For Servlet class name, enter com.ibm.iseries.xsocket.XSocketServlet.
- For URL patterns, enter /*.
- Set the Startup load sequence to 3.
- Click Continue.
- Click OK. This closes the browser window.
- In the main Tomcat setup window, click Next.
- Click Finish.
- Click OK. You have now completed Tomcat
configuration for the Xsockets tool.