Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Seiden Group Blog

Rebuilding the Tomcat Plugin in IBM i 7.5

November 13, 2023/0 Comments/in Apache, Open Source /by Alan Seiden

Apache Tomcat on IBM iOpen source saves the day once again.

When one of our open source support clients discovered that Tomcat plugin for Apache was not supported on their test IBM i 7.5 system, they needed a solution. They relied on Tomcat to serve their Java web applications.

Further investigation showed that IBM had been recommending for several years that users build their own Tomcat plugin from source code to get the latest features. IBM removed the old Tomcat plugin in IBM i 7.5. The client knew we built open source projects and asked us to build the Tomcat plugin so that they could complete their IBM i 7.5 upgrade.

If you attempt to use the old plugin on IBM i 7.5, your web server joblog will receive this message:

The HTTP Server module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM specified on the LoadModule directive cannot be added into the server.

Here is how to correct the issue.

From QZTCJK to mod_jk

In releases prior to IBM i 7.5, IBM shipped the service program QZTCJK. Apache web server configurations in httpd.conf would include this directive:

LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM

Starting with IBM i 7.5, it is necessary to use the open source version, called mod_jk. Once this plugin is built, the web server directive should be changed to resemble:

LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/MOD_JK.SRVPGM

How to build mod_jk

IBM has documented how to build the Apache Tomcat plugin from the latest open source code.

We successfully followed the instructions and got our client up and running. There were a couple of tricky moments along the way involving hardcoded paths (we solved using symbolic links) and cleaning up extra spaces in the source code.

If you need help

If you run into this issue with needing to rebuild the Apache Tomcat plugin for IBM i 7.5 and need a hand, let us know.

 

Tags: Apache, IBMiOSS, mod_jk, Tomcat
Share this entry
  • Share on Facebook
  • Share on X
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Reddit
  • Share by Mail
https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2023-11-13 12:19:522023-11-13 13:29:55Rebuilding the Tomcat Plugin in IBM i 7.5
Alan Seiden

About Alan Seiden

Alan works to preserve your investment in IBM enterprise systems by designing and implementing modernization strategies that leverage your existing business logic.

With a passion ...Read More

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Access Modern Security for IBM i and Connected Web Environments
  • IBM i: A Natural Platform for Agentic AI
  • PHP on IBM i in 2026: The Modernization Engine
  • Your “AS/400” Is a Modern IBM i Platform
  • MCP + AI for IBM i Teams (with a MongoDB example)
  • GnuPG PHP Extension for IBM i: Now Included with Seiden Support
  • Getting Started with Code for IBM i: A Lunch & Learn Video

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Link to: PHP 8.3: How the Community Helps PHP Evolve Link to: PHP 8.3: How the Community Helps PHP Evolve PHP 8.3: How the Community Helps PHP Evolve Link to: IBM i Modernization Seminar at IBM France Link to: IBM i Modernization Seminar at IBM France IBM i Modernization Seminar at IBM France
Scroll to top Scroll to top Scroll to top