sa1.tomcat.fr:80 in apache Virtual Host section doesn't change anything. I start apache as root.
I think that apache routes the query through mod_jk because logs are in the file given by JkLogFile directive. But mod_jk is not able to open a socket with tomcat on port 8009. There is no log of mod_jk connections tries in tomcat logs. Direct connection to TC in HTTP server mode on 8080 works fine. Access to statics files in apache also works fine. I can already thank you for your efforts. +------------------------------+ Pierre Lebrun / ARTIC tel 02 31 32 45 36 fax 02 31 62 04 65 +------------------------------+ "Raghupathy,Gurumoorthy" <[EMAIL PROTECTED]> a écrit sur 21/06/2005 15:19:56 : > Did you start apache as root ? You need root access to start any service for > ports less than 1024 > > -----Original Message----- > From: Phillip Qin [mailto:[EMAIL PROTECTED] > Sent: 21 June 2005 14:17 > To: 'Tomcat Users List' > Subject: RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solari s > 10 > > > Can you replace that *:80m with something like host.com:80 or ip:80? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: June 21, 2005 3:54 AM > To: Tomcat Users List > Subject: RE: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris > 10 > > > I'm sorry for the flood but as I'm new to this list, I wondered why I did > not receive back the > message I posted. So now, I suppose its a rule in ezmlm. > Sorry again. > > Phillip, I applied your suggestions with no more success. > As my test environment is on a sigle machine for apache and tomcat, it's > difficult to check if > mod_jk try to open a connection with TC. A truss off httpd don't show any > socket stuff with TC. > > I wonder compilation stuff is OK. > apache: > ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all > --enable-ssl=shared --enable-ssl --with-ssl=/usr/local/ssl > --with-mpm=worker > > tomcat: > ./configure --with-apxs=/usr/local/apache2/bin/apxs > > > +------------------------------+ > Pierre Lebrun / ARTIC > tel 02 31 32 45 36 > fax 02 31 62 04 65 > +------------------------------+ > > Phillip Qin <[EMAIL PROTECTED]> a écrit sur 20/06/2005 20:45:20 : > > > Please do not post same question three times. > > > > Jk works with apache 2.0.54 and tomcat 5.5.9. I hope this is not a > > typo > in > > your workers.properties. > > > > worker.ajp13w.port=8009k > > > > > > Change this JkAutoAlias /usr/local/jakarta-tomcat-5.5.9/webapps/ROOT > to > > JkAutoAlias /usr/local/jakarta-tomcat-5.5.9/webapps/ > > > > You need to unmount /favicon too. > > > > > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > > Sent: June 20, 2005 6:10 AM > > To: Tomcat Users List > > Subject: Cannot Front tomcat 5.5.9 with Apache 2.0.54, ajp13 on Solaris > 10 > > > > > > Hi, > > > > I'm stuck while trying to front tomcat 5.5.9 with Apache 2.0.54 and > ajp13 > > on Solaris 10. > > I followed docs from tomcat website and the excellent "best practices" > > from Mladen Turk with no more success. > > > > mod_jk says it cannot find a worker for the worker name of httpd.conf > and > > return error 500 > > > > Apache is compiled with MPM worker with all modules enabled Here under > are > > log and config files. > > > > I wonder if tomcat 5.5.9 realy works with apache 2.0.54 and mod_jk. > > > > > > > > Thanks for your help > > Pierre > > > > > > Log from mod_jk > > > ============================================================================ > > ================================= > > [Mon Jun 20 11:55:33 2005] [4832:0027] [debug] > > map_uri_to_worker::jk_uri_worker_map.c (442): Attempting to map URI > > '/favicon.ico' from 1 maps > > [Mon Jun 20 11:55:33 2005] [4832:0027] [debug] > > map_uri_to_worker::jk_uri_worker_map.c (454): Attempting to map context > > URI '/*' > > [Mon Jun 20 11:55:33 2005] [4832:0027] [debug] > > map_uri_to_worker::jk_uri_worker_map.c (468): Found a wildchar match > > ajp13w -> /* > > [Mon Jun 20 11:55:33 2005] [4832:0027] [debug] jk_handler::mod_jk.c > > (1814): Into handler jakarta-servlet worker=ajp13w r->proxyreq=0 [Mon > Jun 20 > > 11:55:33 2005] [4832:0027] [debug] > > wc_get_worker_for_name::jk_worker.c (105): did not find a worker ajp13w > [Mon > > Jun 20 11:55:33 2005] [4832:0027] [info] jk_handler::mod_jk.c > > (1986): Could not find a worker for worker name=ajp13w > > > ============================================================================ > > ================================== > > > > > > > > > > > > > > ===================================================================== > > VH conf in HTTPD.CONF > > ===================================================================== > > > > NameVirtualHost *:80 > > > > <VirtualHost *:80> > > > > ServerName sa1.tomcat.fr > > ServerAlias sa1 > > DocumentRoot /usr/local/jakarta-tomcat-5.5.9/webapps/ROOT > > > > JkWorkersFile /usr/local/jakarta-tomcat-5.5.9/conf/workers.properties > > JkLogFile /usr/local/apache2/logs/jk-sa1.log > > JkAutoAlias /usr/local/jakarta-tomcat-5.5.9/webapps/ROOT > > > > JkMount /* ajp13w > > > > </VirtualHost> > > > > > > ===================================================================== > > workers.properties > > ===================================================================== > > # workers.properties.minimal - > > # > > # This file provides minimal jk configuration properties needed to # > connect > > to Tomcat. # # The workers that jk should create and work with # > > worker.list=ajp13w # # Defining a worker named ajp13w and of type > > ajp13 > # > > Note that the name and the type do not have to match. # > > worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost > > worker.ajp13w.port=8009k > > > > > > > ============================================================================ > > ============================ > > serverl.xml > > > ============================================================================ > > ============================ > > > > <Server port="8005" shutdown="SHUTDOWN"> > > > > <Listener > className="org.apache.catalina.mbeans.ServerLifecycleListener" > > /> > > <Listener > > className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" > /> > > <Listener > > > className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> > > > > <GlobalNamingResources> > > <Resource name="UserDatabase" auth="Container" > > type="org.apache.catalina.UserDatabase" > > description="User database that can be updated and saved" > > factory="org.apache.catalina.users.MemoryUserDatabaseFactory" > > pathname="conf/tomcat-users.xml" /> > > </GlobalNamingResources> > > > > <Service name="Catalina"> > > > > <Connector port="8009" maxProcessors="150" > > enableLookups="false" redirectPort="8443" > > protocol="AJP/1.3" /> > > > > <Engine name="Catalina" defaultHost="sa1.tomcat.fr"> > > > > <Realm className="org.apache.catalina.realm.UserDatabaseRealm" > > resourceName="UserDatabase"/> > > <Host name="sa1.tomcat.fr" appBase="webapps/ROOT" > > unpackWARs="true" autoDeploy="true" > > xmlValidation="false" xmlNamespaceAware="false"> > > <Alias>sa1.tomcat.fr</Alias> > > </Host> > > > > </Engine> > > > > </Service> > > > > </Server> > > > > > > > > +------------------------------+ > > Pierre Lebrun / ARTIC > > tel 02 31 32 45 36 > > fax 02 31 62 04 65 > > +------------------------------+ > > > > > > !DSPAM:42b7c7a365858853412558! > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]