tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Laponder <...@interchain.nl>
Subject RE: mod_jk.log errors
Date Mon, 02 Jun 2003 07:41:42 GMT
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>    

This is what I found in my server.xml, when I comment out the first one my
catalina.out looks like the following:

Starting service Tomcat-Standalone
Apache Tomcat/4.1
Jun 2, 2003 10:38:40 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080

So no errors any more but I cannot detect in the log if it is listening, if
i issue a netstat -na | grep 8009 I get the result:

tcp        0      0 0.0.0.0:8009            0.0.0.0:*               LISTEN

so the port is listened on.

So this all looks ok but now I call the index.jsp page in my /navi/
directory it still doesn't work. When I look at my mod_jk.log I got the
following errors:

[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_
t::map_uri_to_worker
[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '
/navi/index.jsp'
[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::ma
p_uri_to_worker, done without a match
[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_
t::map_uri_to_worker
[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '
/navi/index.jsp'
[Mon Jun 02 10:42:37 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::ma
p_uri_to_worker, done without a match     

But I have in my mod_jk.conf (which is included in my httpd.conf) the
following:
<IfModule !mod_jk.c>
  LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
</IfModule>

JkWorkersFile "/etc/tomcat4/jk/workers.properties"
JkLogFile "/etc/tomcat4/log/mod_jk.log"
JkLogLevel debug
<VirtualHost localhost>
    ServerName localhost
    JkMount /navi/*.jsp ajp13      

In my workers.proerties I have the following entries:

# BEGIN workers.properties
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
# END workers.properties

So what am I missing here ? If you need more information just let me know...

Kind regards,
Marco Laponder


> -----Oorspronkelijk bericht-----
> Van: John Turner [mailto:tomcat-user@johnturner.com]
> Verzonden: woensdag 28 mei 2003 19:18
> Aan: Tomcat Users List
> Onderwerp: Re: mod_jk.log errors
> 
> 
> 
> Search in server.xml for '8009' and see how many times it 
> comes up, and 
> whether each occurence is enabled or disabled.
> 
> John
> 
> On Wed, 28 May 2003 14:51:38 +0200, Marco Laponder 
> <mlr@interchain.nl> 
> wrote:
> 
> > It must be in the tomcat4 configuration as when I call 
> netstat -na | grep 
> > 8009
> >
> > I get no output when tomcat is not started, when I start 
> tomcat and call
> >
> > netstat -na | grep 8009
> >
> > gives the following output:
> >
> > tcp        0      0 0.0.0.0:8009            0.0.0.0:*               
> > LISTEN
> >
> > So my guess is that somewhere in my configuration of 
> tomcat4 I made a
> > mistake so it is trying to use port 8009 twice. Anyone an 
> idea what I did
> > wrong ?
> >
> > Kind regards,
> > Marco Laponder
> > mlr AT interchain DOT nl
> >
> >> Well, the error message is:
> >>
> >> INFO: Port busy 8009 java.net.BindException: Address already in use
> >>
> >> That means only one thing: you have something else 
> listening on port 
> >> 8009.  Either another version of Tomcat, or something 
> else.  Only you 
> >> can discover what that is, as none of us have access to 
> your machine.  
> >> Verify that you have nothing starting up automatically 
> without your 
> >> knowlege.
> >>
> >> John
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
> 
> -- 
> Using M2, Opera's revolutionary e-mail client: 
http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message