Currently yes, I assume now I have to uncomment all my matches in my woker properties, but let me warn you that I have did that before also, but[Fri Feb 06 02:41:32 2004] [jk_uri_worker_map.c (477)]: Attempting to
map URI '/index.jsp'
do you have all the worker matches in your worker.properties commented out?
I will do anything to get this thing working.
ok
I tried uncommented everything in properties but still have problems.
I know that I has something to do with mapping , because I proformed a "tail -f catalina.out"
and all it ever does is compalin about the mapping.
I also did a connect to port 8009 and saw so weird stuff , so I know that the connections are there.
Please , still need help. I know that all I need is a copy of the four files listed below , so I can compare.
-----Original Message----- From: Dwayne Ghant [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 7:05 PM To: Tomcat Users List Subject: I'm beging to lose hope Redhat 8 , tomcat 4.1.24, apache 2.0.40
Can anyone pleeeeeeeeeeease send copy of these 4 files that actually work so I could compare it to my installation? It seems that I have messed up somewhere , I jsut not sure where.
http.conf ssl.conf server.xml workers.properties
Please help me. I have read everything there is to read, but things are just not coming together for me.
Yes , but it's not rendering jsp pages ether. Sorry for the confusion.____________________________________________________________________________
[Fri Feb 06 02:41:32 2004] [jk_uri_worker_map.c (477)]: Attempting to map URI '/index.jsp' [Fri Feb 06 02:41:32 2004] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match
Filip Hanik wrote:
Attempting to map URI '/img_header/b_submitevents-over.gif'
I dont see that you JkMount:ed /img_header, so it looks like nothing but an info message, saying that it tried to map /img_header but there was no match.
what error are you experiencing?
Filip
----- Original Message ----- From: "Dwayne Ghant" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 06, 2004 11:10 AM Subject: Redhat 8 , tomcat 4.1.24, apache 2.0.40
I have been beating my head aginst the wall (concerning this issue) for the last three months. It's not that I mind beating my head aginst the wall; it just hurts when you have nothing to show for it !
Could someone please help me Linux (Redhat) / Tomcat 4.1.24 / Apache2.0.4
Attached are sniplets of files that have been giving me trouble.
http.conf ssl.conf server.xml workers.properties
Whene the proper feild is commented out the way suppse to be I get this message in my catalina.out log listed below. I understand that it's the mapping between mod_jk and tomcat4.1.24 but evidently I'm not connecting these peices together correctly?? I have treid searching everything form google to the jakarta to configure this correctly but I have had no success in the pass serveral weeks. I know that there is just one small piece of the puzzle that I'm missing could someone assist me.
workers.properties
############################################################################_____
[Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/img_header/calendar_10.jpg' [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/img_header/b_submitevents-over.gif' [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Fri Jun 27 12:37:07 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
httpd.conf ##########################################################
##############################################################################
#This set up is for the tomcat jakarta installation. #
#############################################################################
# Load mod_jk module # Update this path to match your modules location
#Use this incase the IfModule doesn't work #LoadModule jk_module modules/mod_jk.so
# Declare the module for <IfModule directive> # AddModule mod_jk.c
<IfModule !mod_jk.c> LoadModule jk_module modules/mod_jk.so </IfModule>
# # Load config files from the config directory "/etc/httpd/conf.d". # Include conf.d/*.conf
#This had to be added because mod_jk should load before mod_rewrite #If this is not completed correctly mod_jk will not map to tomcat at all #This was edited by Dwayne Ghant 02/05/04 LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule jk_module libexec/mod_jk-1.3.26.dll #AddModule mod_jk.c #JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties #JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log #JkLogLevel debug #Alias /examples C:/Tomcat4_1_12/webapps/examples
#JkMount /examples/servlet/* testWorker #JkMount /examples/*.jsp testWorker #<Location "/examples/WEB-INF/"> #AllowOverride None #deny from all #</Location> ##########################################################
ssl.conf ########################################################### <VirtualHost saturn.temple.edu:443> # General setup for the virtual host DocumentRoot "/usr/local/tomcat-4.1.24/webapps" ServerName saturn.temple.edu:443 ServerAdmin [EMAIL PROTECTED] ErrorLog logs/error_log TransferLog logs/access_log
#This is dangerous I just realized (01-02-2004) #It causes a loop in redirection. I've only noticed #the problem when still using localhost. #The URL gets the domain appended in recursive fashion #Get your site up first by leaving it commented out. #You can try adding it later if you need it. #Redirect / https://myhost.mydomain/mywebapp
# Static files Alias /examples "/usr/local/tomcat-4.1.24/webapps/examples" Alias /developers "/usr/local/tomcat-4.1.24/webapps/development" Alias /product "/usr/local/tomcat-4.1.24/webapps/product" Alias /default "/usr/local/tomcat-4.1.24/webapps/ROOT" Alias /uPortal "/usr/local/tomcat-4.1.24/webapps/uPortal"
<Directory "/usr/local/tomcat-4.1.24/webapps/uPortal"> Options Indexes FollowSymLinks DirectoryIndex index.jsp index.php </Directory>
# Deny direct access to WEB-INF and META-INF <Location "/uPortal/WEB-INF/*"> AllowOverride None deny from all </Location>
<Location "/uPortal/META-INF/*"> AllowOverride None deny from all </Location>
#Block every one from entering <Location "/examples/WEB-INF/"> AllowOverride None deny from all </Location>
<Location "/development/WEB-INF/"> AllowOverride None deny from all </Location>
<Location "/uPortal/WEB-INF/"> AllowOverride None deny from all </Location>
# Send everything for context /examples to worker named worker1 (ajp13) #JkMount /examples/* worker1
JkMount /developers/* balance_all_workers JkMount /developers/* balance_all_workers JkMount /examples/servlet/* balance_all_workers JkMount /examples/* balance_all_workers JkMount /product/* balance_all_workers JkMount /default/* balance_all_workers JkMount /uPortal/* balance_all_workers
#JkMount /* balance_all_workers # Where to find workers.properties # Update this path to match your conf directory location (put workers.properties next to httpd.conf) ## JkWorkersFile /etc/httpd/conf/workers.properties
JkWorkersFile /etc/httpd/conf/workers.properties
# Where to put jk logs # Update this path to match your logs directory location (put mod_jk.log next to access_log) # JkLogFile /var/log/httpd/mod_jk.log JkLogFile /usr/local/tomcat-4.1.24/logs/catalina.out
# Set the jk log level [debug/error/info] JkLogLevel debug
# Select the log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE, JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format JkRequestLogFormat "%w %V %T"
#######################################################################################
server.xml
#######################################################################################
<!-- Define the Tomcat Stand-Alone Service --> <Service name="Tomcat-Standalone"> <!--Disabled 02/05/06 --> <!-- <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" />
<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 Added 02/05/04 -->
<!-- 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"/>
<!--Defing an AJP 1.3 Connector on port 8010 --> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8010" minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
<!-- Define the top level container in our container hierarchy --> <Engine name="Standalone" defaultHost="saturn.temple.edu" debug="0">
[...]
<!-- Define the default virtual host edited 02/05/04 --> <Host name="saturn.temple.edu" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" forwardAll="false" modJk="/etc/httpd/modules/mod_jk.so" /> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"/>
<!-- Tomcat Examples Context -->
<!-- Tomcat Root Context --> <!-- <Context path="" docBase="ROOT" debug="0"/> -->
<!-- Tomcat Examples Context --> <Context path="" docBase="examples" debug="0" reloadable="true" crossContext="true"/>
<!--Tomcat product Context added 02/05/04 --> <Context path="" docBase="webapps" debug="0" reloadable="true" crossContext="true"/>
<!--Tomcat product Context added 02/05/04 --> <Context path="" docBase="adverse_events" debug="0" reloadable="true" crossContext="true"/>
<!--Tomcat product Context added 02/05/04 --> <Context path="" docBase="adverse_events2" debug="0" reloadable="true" crossContext="true"/>
<!--Tomcat product Context added 02/05/04 --> <Context path="" docBase="development" debug="0" reloadable="true" crossContext="true"/> <!--Tomcat product Context added 02/05/04 --> <Context path="/product" docBase="product" debug="0" reloadable="true" crossContext="true"/>
<!--Tomcat product Context added 02/05/04 --> <Context path="" docBase="uPortal" debug="0" reloadable="true" crossContext="true"/>
[...] </Host>
#######################################################################################
# Define 4 workers, 3 real workers using ajp12, ajp13, jni, the last one being a loadbalancing worker
# Setting Tomcat & Java Home workers.tomcat_home=/usr/local/tomcat-4.1.24 workers.java_home=/usr/java/j2sdk1.4.1 ps=/
worker.list = balance_all_workers,developers,production #worker.list = balance_all_workers
# Set properties for developers (ajp13) worker.developers.type=ajp13 worker.developers.host=locahost worker.developers.port=8010 worker.developers.lbfactor=100 #worker.developers.cachesize=10 #worker.developers.cache_timeout=600 #worker.developers.socket_keepalive=1 #worker.developers.socket_timeout=300
# Set properties for production (ajp13) worker.production.type=ajp13 worker.production.host=locahost worker.production.port=8009 worker.production.lbfactor=100 #worker.production.cachesize=10 #worker.production.cache_timeout=600 #worker.production.socket_keepalive=1 #worker.production.socket_timeout=300
# Set properties for worker4 (lb) which use worker1 and worker2 worker.balance_all_workers.type=lb worker.balance_all_workers.balanced_workers=developers,production
##===================================== ##Other needed configuratoin(s) ##===================================== ##define the shared memory file #[shm] #file=/usr/local/tomcat-4.1.24/work/jk2.shm ## Define the communication channel #[channel.socket:localhost:8009] #tomcatId=localhost:8009
#[balance_all_workers:localhost:8009] #channel=channel.socket:localhost:8009
#[uri:/examples/*] #worker=ajp13:localhost:8009 #worker=balance_all_workers:localhost:8009
#[uri:/developers/*] #worker=ajp13:localhost:8009 #worker=balance_all_workers:localhost:8009
#[uri:/product/*] #worker=ajp13:localhost:8010 #worker=balance_all_workers:localhost:8009
#[status:]
#info=Status worker, displays runtime information #channel=channel.socket:localhost:8009
#[uri:/status/*] #worker=status:localhost:8009 #group=status:
##3
Thank you for you time.
-- Dwayne A. Ghant Application develper [EMAIL PROTECTED]
--
Dwayne A. Ghant Application Developer Temple University [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Dwayne A. Ghant Application Developer Temple University 215.204.5555 [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Dwayne A. Ghant Application Developer Temple University 215.204.5555 [EMAIL PROTECTED]