On Thu, 21 Nov 2002, Paul Yunusov wrote:

> In workers.properties:
>   You have:
>     worker.list=vhost1
>   Should be:
>     worker.list=ajp13

The above correction is not correct; that is,

   worker.list=vhost1

is perfectly fine, *as long as* vhost1 is really the name of a worker,
as used in JkMount directives in httpd.conf (or a file Include'd in
httpd.conf), and as used in statements in the workers.properties file
that define the worker, that is, it's host, type, and port.  And that
does look to be the case in what's presented below.

I can't really see anything wrong offhand with what's presented
below.  The messages in the mod_jk.log indicate that a matching
JkMount directive was found, with worker vhost1, and the error
suggests to me that it couldn't find info on vhost1 in
workers.properties.  But the info does seem to be there, and correct.
Maybe there's some minor typo I'm missing.

There is one thing, the original poster does indicate that they're
showing "my worker.properties" -- but the file should be called
workers.properties (as in the JkWorkersFile directive).  But that
might just be a typo in the message, and they really do have the
correct file name.


> On Thursday 21 November 2002 02:59 pm, max wrote:
> > Hi
> >
> > I attempt to use mod_jk between tomcat 4.1.12 & apache 2.0.43 with virtual
> > host
> >
> > but every time i request a .jsp, apache return an internal server error
> >
> > in mod_jk.log we can read  :
> >
> > [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
> > [jk_uri_worker_map.c (477)]: Attempting to map URI '/jsp/num/numguess.jsp'
> > [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found
> > a suffix match vhost1 -> *.jsp [mod_jk.c (1277)]: Into handler
> > r->proxyreq=0 r->handler=jakarta-servlet r->notes=135764112 worker=vhost1
> > [jk_worker.c (132)]: Into wc_get_worker_for_name vhost1
> > [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker
> >
> > The only host in my server.xml is www.vhost1.com
> >
> > in httpd.conf i have this :
> >
> > <IfModule !mod_jk.c>
> >   LoadModule jk_module /usr/local/apache/modules/mod_jk.so
> > </IfModule>
> > JkWorkersFile "/usr/local/tomcat/conf/jk/workers.properties"
> > JkLogFile "/usr/local/tomcat/logs/mod_jk.log"
> > JkLogLevel warn
> >
> > NameVirtualHost *
> >
> > <VirtualHost *>
> >     ServerName www.vhost1.com
> >     DocumentRoot /usr/local/tomcat/webapps/examples
> >     <Directory "/">
> >         Options Indexes FollowSymLinks
> >         DirectoryIndex index.html index.htm index.jsp
> >     </Directory>
> >
> >     <Location "/WEB-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >
> >     <Location "/META-INF/*">
> >         AllowOverride None
> >         deny from all
> >     </Location>
> >
> >     JkMount /*.jsp  vhost1
> > </VirtualHost>
> >
> > my worker.properties :
> >
> > workers.tomcat_home=/usr/local/tomcat
> > workers.java_home=/usr/local/java
> > ps=/
> > worker.list=vhost1
> > worker.vhost1.port=8009
> > worker.vhost1.host=www.vhost1.com
> > worker.vhost1.type=ajp13
> >
> >
> > Can you help me ?
> >
> > Tks
> >
> > __
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>

Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to