Hello all,
I'm trying to get our JBoss installation and Apache2 on Linux to work together. 
 I've read the wiki pages and searched the forums but cannot seem to fix my 
error.

Our Apache server is setup for virtual hosts; here is the conf for the site 
that uses JBoss (this is a vmware sandbox (development) entry):

  | <VirtualHost 10.100.100.3:80>
  |    ServerName my.virtual.host
  |    RewriteEngine on
  |    RewriteCond %{HTTP:Authorization}  ^(.*)
  |    DocumentRoot /var/www
  |    ErrorLog /var/log/apache/error.log
  |    CustomLog /var/log/apache/access.log combined
  | 
  |   # Where to find workers.properties
  |   JkWorkersFile "/etc/apache2/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/apache2/mod_jk.log
  | 
  |   # 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"
  | 
  |    JkMount /* worker1
  | </VirtualHost>
  | 
  | 

Our /etc/apache2/workers.properties file:

  | # Define 1 real worker using ajp13
  | worker.list=worker1
  | 
  | # Set properties for worker1 (ajp13)
  | worker.worker1.type=ajp13
  | worker.worker1.host=localhost
  | worker.worker1.port=8009
  | #worker.worker1.cachesize=10
  | #worker.worker1.cache_timeout=600
  | #worker.worker1.socket_keepalive=1
  | #worker.worker1.recycle_timeout=300
  | 

When I hit the site, I get this in mod_jk.log

  | [Mon Nov 14 09:31:50 2005] [0881:32771] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI '/' from 1 
maps
  | [Mon Nov 14 09:31:50 2005] [0881:32771] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context URI '/*'
  | [Mon Nov 14 09:31:50 2005] [0881:32771] [debug] 
map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match worker1 -> 
/*
  | [Mon Nov 14 09:31:50 2005] [0881:32771] [debug] jk_handler::mod_jk.c 
(1839): Into handler jakarta-servlet worker=worker1 r->proxyreq=0
  | [Mon Nov 14 09:31:50 2005] [0881:32771] [debug] 
wc_get_worker_for_name::jk_worker.c (111): did not find a worker worker1
  | [Mon Nov 14 09:31:50 2005] [0881:32771] [info]  jk_handler::mod_jk.c 
(1993): Could not find a worker for worker name=worker1
  | 

Any help would be greatly appreciated.

tom

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907035#3907035

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907035


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to