tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14177] New: - modJk value used for jkConfig
Date Fri, 01 Nov 2002 19:35:32 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14177

modJk value used for jkConfig

           Summary: modJk value used for jkConfig
           Product: Tomcat 4
           Version: Unknown
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Connector:Coyote JK 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: greg_fenton@yahoo.com


(4.1.12 from Apache RPMs on RH 7.3, mod_jk-ap13-1.2.0 from Apache RPMs)

In my server.xml, I added the following to my <Server> context:
   <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
                modJk="modules/mod_jk.so" />

and the following to my <Host> context:
    <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
	        append="true" />

When I restart Tomcat I get the following in /var/tomcat4/logs/catalina.out:

-------------------------------------------------------------------
  java.lang.RuntimeException: Unable to create path to config file:
/var/tomcat4/modules/mod_jk.so
        at org.apache.ajp.tomcat4.config.BaseJkConfig.getConfigFile(BaseJkConfig
.java:428)
        at org.apache.ajp.tomcat4.config.ApacheConfig.initProperties(ApacheConfi
g.java:267)
        at org.apache.ajp.tomcat4.config.BaseJkConfig.execute(BaseJkConfig.java:
162)
        at org.apache.ajp.tomcat4.config.BaseJkConfig.lifecycleEvent(BaseJkConfi
g.java:153)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Unknown
Source)
        at org.apache.catalina.core.ContainerBase.start(Unknown Source)
        at org.apache.catalina.core.StandardHost.start(Unknown Source)
        at org.apache.catalina.core.ContainerBase.start(Unknown Source)
        at org.apache.catalina.core.StandardEngine.start(Unknown Source)
        at org.apache.catalina.core.StandardService.start(Unknown Source)
        at org.apache.catalina.core.StandardServer.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
-------------------------------------------------------------------


When I don't set modJk, the value put into /var/tomcat4/conf/auto/mod_jk.conf
contains:

   <IfModule !mod_jk.c>
     LoadModule jk_module libexec/mod_jk.so
   </IfModule> 

which doesn't work on a default RH install (should be "modules/mod_jk.so")

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message