Current Position:Home > Help with Apache plugin for Tomcat

Help with Apache plugin for Tomcat

Update:12-10Source: network consolidation
I downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz from I am trying to install this without any progress. The web page gives lots of info on how to install the plug in called JK. I believe the unix section applies to linux as well. Can anyone help me with this? Please copy your message if at all possible to [email protected] Thanks Murthy

The Best Answer

I know what mod_jk is, I was just trying to understand your situation.
You have two choices, mod_jk and mod_jk2 with different configurations files.
In both cases, you need 3 parts:
1- apache
2- the mod_jk(2) module (.so) for your apache version (1.3.x or 2.x)
3- tomcat
You obviously have 1 and 3, and probably 2 also.
Config is twofold:
1) In httpd.conf (Apache 2.0) you need:LoadModule jk2_module modules/
<IfModule mod_jk2.c>
  JkSet config:file "/path/to/"
# And for each context:
   <Location "/contextname/*">
      JkUriSet worker ajp13:localhost:8001
info=Maps the requests. Options: debug
# Alternate file logger
# Cache for activity
# Must point to a writeable path
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
info=Global server options
# Default Native Logger (apache2 or win32 )
# can be overriden to a file logger, useful
# when tracing win32 related issues
# Communication channel to use
info=Ajp13 forwarding over socket
# Connector as in conf/server.xml
# Tomcat load balancing
info=Default load balancer.
info=Status worker, displays runtime informations
# Monitor for requests and config http://server:port/jkstatus
info=Display status information and checks the config file for changes.
group=status:status3) Finally, you need to set the connector (port number) in server.xml    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8001 -->
    <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
               port="8001" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="3" connectionTimeout="2000"
               protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>This is the setup I use on Win2K, but should work pretty much the same on Linux. I also have a similar setup on Linux, but with mod_jk instead of mod_jk2.
Hope this helps!
  • Help with Apache plugin for Tomcat Update:12-10

    I downloaded jakarta-tomcat-connectors-jk2-src-current.tar.gz from I am trying to install this without any progress. The web page gives lots of info on how to install the plug

  • Weblogic Http Apache Plugin not working Update:10-11

    Hi, I have installed weblogic server 10.3 on WindowsXP Professional and Http Apache 2.2 is running on port 80. I followed the following document to configure the Apache plugin: but when I go and t

  • Apache Plugin is not working with Cluster Entry in httpd.conf Update:10-11

    Hi Guys, We have a very particular issue that is happening here in our production environments. Before explaining the issue to you, I will just give a brief of our architecture. We are using Weblogic Portal Platform SP4. Our current Production Domain

  • Setup issues: Apache plugin for Weblogic Update:10-11

    Hi, I've spent couple of days without success trying to configure apache plugin for weblogic. I've configured in accordance with bea documentation and it works fine in windows environment but fails in Solaris 9. Plugin log file says it's processed th

  • WL 7 apache plugin Update:10-11

    I'm running Weblogic 7 sp2 server on a RedHat Linux 7.3 as the backend server and a Redhat 7.3 server with Apache 1.327 as the frontend. At first I had only one site to configure with the Bea Apache plugin. But there will be at least 3 sites more. I

  • JMX with apache plugin and weblogic Update:10-11

    Hy every body I use weblogic 9.1, throw apache plugin I try to get mbean with JMX, i have this error on the log of the server when I try to acces to a server by passing apache url into jmxConnector: java.lang.AssertionError: Assertion violated      a

  • Weblogic Apache Plugin - Load Balancing Update:12-08

    Hi, I have two Apache servers each with the WLS Apache Plugin installed. These sit in front of two WL servers each having two managed servers. Each plugin is setup with the list of servers as follows: <IfModule mod_weblogic.c>           WebLogicClus

  • Apache Plugin in linux for WLS6.0 sp1 and (?sp2?) Update:11-30

    This message is a little long, The following message is arranged in 4 parts where: 1. Conclusion and Sugestions. 2. Tests Environment 3. Simple plugin environment 4. Virtual Hosting with apache Any comment and help will be welcome Conclusion The plug

  • WL Apache plugin Bug: ServletRequest.getServerPort returns wrong port number. Update:11-30

    When using apache plugin with weblogic51 on solaris           ServletRequest.getServerPort returns 7001 when it should return 80.           request URL: http://servername/weblogic/SnoopServlet.jsp           Request information           Request Metho

  • WL Apache plugin Bug: HttpServletResponce unable to send more the 1 cookie. Update:11-30

    When using apache plugin with weblogic51 on solaris we run into problem when           trying to send several cookies; only first cookie makes it through Apache           plugin to the browser.           public void doGet(HttpServletRequest req, Http