tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Tomcat/Apache/ModJK Integration (error)
Date Thu, 06 Feb 2003 17:44:27 GMT

Glad to help.

John


> -----Original Message-----
> From: Frances Santiago [mailto:santiago@iii.com]
> Sent: Thursday, February 06, 2003 12:38 PM
> To: Tomcat Users List
> Cc: 'Tomcat Users List'
> Subject: RE: Tomcat/Apache/ModJK Integration (error)
> 
> 
> John! It worked. I'm really shocked. Just for anyone reading this:
> 
> I was using the warp engine and I changed it to:
> 
> Engine name="Standalone" defaultHost="205.227.88.128" debug="0">
> 
> and I removed the spaces from my workers.properties file.
> 
> Thanks again, John.
> 
> Frances
> 
> At 10:49 PM 2/5/03 -0500, Turner, John wrote:
> 
> >Stab in the dark...remove the spaces in your workers.properties file.
> >
> >That is:
> >
> >worker.list=ajp13
> >
> >instead of
> >
> >worker.list = ajp13
> >
> >John
> >
> >-----Original Message-----
> >From: Frances Santiago [mailto:santiago@iii.com]
> >Sent: Wednesday, February 05, 2003 8:15 PM
> >To: Tomcat Users List
> >Cc: Tomcat Users List
> >Subject: RE: Tomcat/Apache/ModJK Integration (error)
> >
> >
> >Here are the conf files I've edited. All other files are the 
> defaults. I've
> >included the Include directive in the httpd.conf file.
> >
> >workers.properties:
> >
> >#Setting Tomcat & Java home
> >workers.tomcat_home = /usr/local/jakarta-tomcat-4.0.4 
> workers.java_home =
> >/usr/local/java131 ps=/ worker.list = ajp13 #Setting Worker
> >worker.ajp13.port = 8009 worker.ajp13.host = 205.227.88.128
> >worker.ajp13.type = ajp13 worker.ajp13.lbfactor=50 
> worker.ajp13.cachesize=10
> >worker.ajp13.cache_timeout=600 worker.ajp13.socket_keepalive=1
> >worker.ajp13.socket_timeout=300
> >
> >server.xml:
> >
> >
> ><Server port="8005" shutdown="SHUTDOWN" debug="0">
> >
> ><Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"
> >      modJk="/usr/local/apache/libexec/libmod_jk.so"
> >
> >workersConfig="/usr/local/jakarta-tomcat-4.0.4/conf/jk/worker
> s.properties"
> >      jkLog="/usr/local/jakarta-tomcat-4.0.4/logs/mod_jk.log"
> >      jkDebug="debug"
> >/>
> >
> >
> >    <!-- Define an Apache-Connector Service -->
> >    <Service name="Tomcat-Apache">
> >
> >     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> >                 port="8009" minProcessors="5" maxProcessors="75"
> >                 acceptCount="10" debug="0"/>
> >
> >      <Logger className="org.apache.catalina.logger.FileLogger"
> >                prefix="catalina_log." suffix=".txt"
> >                timestamp="true"/>
> >
> >      <Engine 
> className="org.apache.catalina.connector.warp.WarpEngine"
> >              name="Apache" debug="0">
> >
> >          <!-- Replace "localhost" with what your Apache 
> "ServerName" is set
> >to -->
> >          <Host name="205.227.88.128" debug="0"
> >              appBase="/usr/local/jakarta-tomcat-4.0.4/webapps"
> >unpackWARs="true">
> >              <Listener
> >className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true"
> >                  forwardAll="false"
> >modJk="/usr/local/apache/libexec/libmod_jk.so" />
> >          <!-- Tomcat Examples Context -->
> >              <Context path="/examples" docBase="examples"
> >                  debug="0" reloadable="true" crossContext="true"/>
> >             <Logger 
> className="org.apache.catalina.logger.FileLogger"
> >                  prefix="localhost_examples_log." suffix=".txt"
> >timestamp="true"/>
> >          </Host>
> >        <!-- Global logger unless overridden at lower levels -->
> >        <Logger className="org.apache.catalina.logger.FileLogger"
> >                prefix="apache_log." suffix=".txt" timestamp="true"/>
> >
> >        <!-- Because this Realm is here, an instance will be 
> shared globally
> >-->
> >        <Realm className="org.apache.catalina.realm.MemoryRealm" />
> >
> >      </Engine>
> >
> >    </Service>
> >
> ></Server>
> >
> >tail httpd.conf :
> >
> >
> ># Create the mod_jk.conf file automatically
> >Include /usr/local/jakarta-tomcat-4.0.4/conf/auto/mod_jk.conf
> >
> >
> >Thanks for the quick response.
> >
> >Frances
> >
> >
> >
> >At 05:12 PM 2/5/03 -0800, Filip Hanik wrote:
> > >hi Frances,
> > >including your conf files would help. In this case the log 
> file tells
> > >you "[Wed Feb 05 16:34:08 2003] [jk_worker.c (136)]:
> > >wc_get_worker_for_name,done did not found a worker"
> > >
> > >and in the previous statement, you can see that it is looking for a
> > >worker
> > >named ajp13
> > >
> > >Filip
> > >
> > >-----Original Message-----
> > >From: Frances Santiago [mailto:santiago@iii.com]
> > >Sent: Wednesday, February 05, 2003 5:06 PM
> > >To: tomcat-user@jakarta.apache.org
> > >Subject: Tomcat/Apache/ModJK Integration (error)
> > >
> > >
> > >I am not able the access any servlets or jsps from 
> Apache/Tomcat. All
> > >static pages work. I am getting the following error in my 
> mod_jk.log
> > >file:
> > >
> > >[Wed Feb 05 16:34:08 2003] [jk_uri_worker_map.c (460)]: Into
> > >jk_uri_worker_map_t::map_uri_to_worker
> > >[Wed Feb 05 16:34:08 2003] [jk_uri_worker_map.c (477)]: 
> Attempting to
> > >map URI '/examples/servlet/HelloWorldExample'
> > >[Wed Feb 05 16:34:08 2003] [jk_uri_worker_map.c (502)]:
> > >jk_uri_worker_map_t::map_uri_to_worker, Found a context 
> match ajp13 ->
> > >/examples/servlet/ [Wed Feb 05 16:34:08 2003] [jk_worker.c 
> (132)]: Into
> > >wc_get_worker_for_name ajp13
> > >[Wed Feb 05 16:34:08 2003] [jk_worker.c (136)]: 
> wc_get_worker_for_name,
> > >done did not found a worker
> > >
> > >I'm running:
> > >
> > >Apache 1.3.27
> > >Tomcat 4.0.2
> > >ModJK 1.2.0
> > >Digital UNIX V4.0F
> > >OSF1 alpha
> > >
> > >
> > >Any help is appreciated.
> > >Frances Santiago
> > >
> > >
> > 
> >---------------------------------------------------------------------
> > >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
> >
> >__________________________________
> >Web Site Coordinator
> >Innovative Interfaces, Inc.
> >webmaster@iii.com
> >___________________________________
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >---
> >
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
> >
> >
> >---
> >
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> __________________________________
> Web Site Coordinator
> Innovative Interfaces, Inc.
> webmaster@iii.com
> ___________________________________
> 
> 
> ---------------------------------------------------------------------
> 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