Problem solve Get help with specific problems with your technologies, process and projects.

Managing ASF Tomcat settings

In part 3 of this four-part series, iSeries programming expert Andrew Borts explains how to manage ASF Tomcat settings when setting up iSeries Access for Web.

This is part 3 in iSeries expert Andrew Borts' tutorial on how to set up iSeries Access for Web. As IT service...

is moving to browser-based interfaces, System i administrators need to become familiar with their platform's capabilities. You can read part 2, "Creating the HTTP server" or go to the table of contents.

The Web page is re-displayed. The Manage/HTTP Servers tabbed page is active. Under Server, IWATOMCAT - APACHE is listed with a status of Stopped. Under Server Properties, select ASF Tomcat Settings.

The Web page is re-displayed with ASF Tomcat Settings. Specify the following:

  • Select Enable servlets for this HTTP server.
  • De-select Enable an "in-process" servlet engine. v Select Enable "out-of-process" servlet engine connections.
  • Add an entry for Out-of-process workers
    • Click Add under Out-of- process workers.
    • For Hostname:Port, change 8009 to 2017.
    • For URLs (Mount points), specify /webaccess/*.

Select Continue. A warning message is displayed for the worker that was just added. Simply ignore that error. The problem will be resolved when the ASF Tomcat Web application server setup is completed. Select OK.

Select the ASF Tomcat Servers tabbed page.

Under Tomcat Tasks and Wizards, select Create ASF Tomcat Server.

The Out-of-Process Engine Creation page opens. For ASF Tomcat server name, specify iwatomcat. Select Next.

The Out-of-Process Engine Configuration page opens. Note the values specified for Server userid and ASF Tomcat home. These values will be used when iSeries Access for Web is configured. Select Next.

The Out-of-Process Communication Settings page opens. Change Port from 8009 to 2017. Select Next.

The Out-of-Process Application Context Definition page opens. Select Add, then specify these values:

  • For URL path, specify /webaccess.
  • For Application base directory, specify webapps/webaccess. Select Continue. A warning message is displayed for the application context that was just added. This can be ignored. The problem will be resolved when iSeries Access for Web is configured. Select Next.

The Out-of-Process Summary page opens. Select Finish.

You have now created the HTTP server IWATOMCAT, and an ASF Tomcat Web application server called iwatomcat.

Back Table of contents Next

ABOUT THE AUTHOR: Andrew Borts is webmaster at United Auto Insurance Group in North Miami, Fla. He is a frequent speaker at COMMON and is past president of The Southern National Users Group, an iSeries-AS/400 user group based in Deerfield Beach, Fla.

This was last published in October 2007

Dig Deeper on iSeries application development

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.