RE: Tomcat IIS Worker problem

2002-10-15 Thread Mark Eggers

Hmm,

I have a little more in my workers.properties file. 
I've attached mine along with this message.

And here's my uriworkermap.properties information.

/examples/*.jsp=ajp13
/examples/servlet/*=ajp13
/ora/*.jsp=ajp13
/cocoon/*=ajp13
/jetspeed/*=ajp13
/Addressbook/*=ajp13

This is working well with Tomcat 4.12, IIS 5, jdk
1.3.1_04, Windows/2000 Professional with the latest
patches, and jk 1.2.

The same set of files worked fine with Tomcat 4.0x,
IIS 5, jdk 1.3.1_04, Windows/2000 Professional with
the latest patches, and jk 1.2 or jk 1.0.

I hope this helps a bit.

/mde/

just my two cents . . . .


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

#
# general stuff
#
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\

#
# workers list
#
worker.list=ajp12, ajp13

#
# ajp12 communicates on port 8007
#
worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

#
# ajp13 connector communicating on port 8009
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# load balancing
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13, ajp12

#
# The JVM that we are about to use
#
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll

#
# Setting the place for the stdout and stderr of tomcat
#
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 


RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Thanks for the help John. Hopefully I'll get this resolved.
 "Turner, John" <[EMAIL PROTECTED]> wrote:
At this point I can only surmise that it has something to do with IIS and
the isapi_redirect thingie. Since I don't run IIS, I can't help with those
things.

Your workers.properties file and uri.properties file look fine to me.
Perhaps someone out there with a working IIS configuration can offer more.

John


> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 2:21 PM
> To: Tomcat Users List
> Subject: RE: Tomcat IIS Worker problem
> 
> 
> 
> Unfortunately,
> 
> I'm still getting the original error:
> 
> [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: 
> HttpExtensionProc started
> [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into 
> wc_get_worker_for_name rsworker
> [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: 
> wc_get_worker_for_name, done did not found a worker
> [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (701)]: 
> HttpExtensionProc could not get a worker for name rsworker
> [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (722)]: 
> HttpExtensionProc error, could not get a worker for name rsworker
> 
> 
> Why did it not find the worker here, but the Ajp12 worked (as 
> far as finding a worker)?
> 
> 
> 
> -
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos, & more
> faith.yahoo.com
> 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


At this point I can only surmise that it has something to do with IIS and
the isapi_redirect thingie.  Since I don't run IIS, I can't help with those
things.

Your workers.properties file and uri.properties file look fine to me.
Perhaps someone out there with a working IIS configuration can offer more.

John


> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 2:21 PM
> To: Tomcat Users List
> Subject: RE: Tomcat IIS Worker problem
> 
> 
> 
> Unfortunately,
> 
> I'm still getting the original error:
> 
> [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (679)]: 
> HttpExtensionProc started
> [Tue Oct 15 14:15:49 2002]  [jk_worker.c (123)]: Into 
> wc_get_worker_for_name rsworker
> [Tue Oct 15 14:15:49 2002]  [jk_worker.c (127)]: 
> wc_get_worker_for_name, done did not found a worker
> [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (701)]: 
> HttpExtensionProc could not get a worker for name rsworker
> [Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (722)]: 
> HttpExtensionProc error, could not get a worker for name rsworker
> 
> 
> Why did it not find the worker here, but the Ajp12 worked (as 
> far as finding a worker)?
> 
> 
> 
> -
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos, & more
> faith.yahoo.com
> 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Unfortunately,

I'm still getting the original error:

[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (679)]: HttpExtensionProc started
[Tue Oct 15 14:15:49 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker
[Tue Oct 15 14:15:49 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done did not 
found a worker
[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get 
a worker for name rsworker
[Tue Oct 15 14:15:49 2002]  [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could 
not get a worker for name rsworker


Why did it not find the worker here, but the Ajp12 worked (as far as finding a worker)?



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


I would change "ajp12" to "ajp13", especially in .type.  JK = ajp13.  Like
this:

worker.list = one
worker.one.type = ajp13
worker.one.host = localhost
worker.one.port = 8009

Take out the load balance line (lbfactor)...with only one Tomcat there is no
need for any load-balancing configuration.

Change default.worker in the URI properties file to match whatever
worker.list is in your workers.properties file.

In server.xml, make sure that the element with a class of "Ajp13Connector"
is enabled (remove the comment tags) and is set to run on port 8009, the
same port listed in your workers.properties file.

Think of JK as a chain.  All you have to do is make sure each link in the
chain matches the next one.  I think someone else suggested changing things
to ajp12, I'm not sure why, but if I were you I would avoid anything but
"ajp13" and use my own names for things like "worker.list", etc.  AJP12,
AJP13, and AJP14 designate a particular protocol.  

John


> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 2:04 PM
> To: Tomcat Users List
> Subject: RE: Tomcat IIS Worker problem
> 
> 
> 
> Here we go. The files' contents are below.
> workers.p :
> workers.tomcat_home=c:\tomcat
> workers.java_home=c:\jdk1.3.1_04
> ps=\
> worker.list = ajp12
> worker.ajp12.type = ajp12
> worker.ajp12.host = localhost
> worker.ajp12.port = 8009
> worker.ajp12.lbfactor=1
> 
> uriworkermap.p:
> default.worker=ajp12
> /*.jsp=$(default.worker)
> /refcoapp/*.jsp=$(default.worker)
> /examples/*.jsp=$(default.worker)
> /examples/servlet/*=$(default.worker)
> I'm not certain what other files would be necessary since 
> I've only touched these in the whole process. I changed all 
> ajp13 to 12s and got the error that you saw. Where would I 
> change the listening port for tomcat...I didn't change any of 
> the server.xml properties.
> Thanks,
> Lior
>  "Turner, John" <[EMAIL PROTECTED]> wrote:
> Looks to me like your Tomcat is either not running, or listening on a
> different port:
> 
> [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
> jk_open_socket, try to
> connect socket = 632
> [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after
> connect ret = -1
> [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
> jk_open_socket, connect()
> failed errno = 61
> 
> FYI -
> 
> It would be A LOT easier for people to help you if you would post some
> config files (as I've already suggested twice...maybe 3 times 
> is the charm).
> Probably could have saved the last 2 or 3 iterations of "OK, 
> I tried X and
> got Y, now what?". But hey, if you want to draw this out, that's cool.
> 
> John
> 
> 
> > -Original Message-
> > From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, October 15, 2002 1:53 PM
> > To: Tomcat Users List
> > Subject: RE: Tomcat IIS Worker problem
> > 
> > 
> > 
> > Ok, so now that I changed the service to ajp12 I get the 
> > following in the log file:
> > [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: 
> > HttpExtensionProc started
> > [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into 
> > wc_get_worker_for_name ajp12
> > [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: 
> > wc_get_worker_for_name, done found a worker
> > [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: 
> > HttpExtensionProc got a worker for name ajp12
> > [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into 
> > jk_worker_t::get_endpoint
> > [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into 
> > jk_endpoint_t::service
> > [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket
> > [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
> > jk_open_socket, try to connect socket = 632
> > [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: 
> > jk_open_socket, after connect ret = -1
> > [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
> > jk_open_socket, connect() failed errno = 61
> > [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In 
> > jk_endpoint_t::service, sd = -1
> > [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In 
> > jk_endpoint_t::service, Error sd = -1
> > [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: 
> > HttpExtensionProc error, service() failed
> > [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into 
> > jk_endpoint_t::done
> > 
> 
> --
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
> 
> -
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos, & more
> faith.yahoo.com
> 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Here we go. The files' contents are below.
workers.p :
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\
worker.list = ajp12
worker.ajp12.type = ajp12
worker.ajp12.host = localhost
worker.ajp12.port = 8009
worker.ajp12.lbfactor=1

uriworkermap.p:
default.worker=ajp12
/*.jsp=$(default.worker)
/refcoapp/*.jsp=$(default.worker)
/examples/*.jsp=$(default.worker)
/examples/servlet/*=$(default.worker)
I'm not certain what other files would be necessary since I've only touched these in 
the whole process. I changed all ajp13 to 12s and got the error that you saw. Where 
would I change the listening port for tomcat...I didn't change any of the server.xml 
properties.
Thanks,
Lior
 "Turner, John" <[EMAIL PROTECTED]> wrote:
Looks to me like your Tomcat is either not running, or listening on a
different port:

[Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 632
[Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61

FYI -

It would be A LOT easier for people to help you if you would post some
config files (as I've already suggested twice...maybe 3 times is the charm).
Probably could have saved the last 2 or 3 iterations of "OK, I tried X and
got Y, now what?". But hey, if you want to draw this out, that's cool.

John


> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 1:53 PM
> To: Tomcat Users List
> Subject: RE: Tomcat IIS Worker problem
> 
> 
> 
> Ok, so now that I changed the service to ajp12 I get the 
> following in the log file:
> [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: 
> HttpExtensionProc started
> [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into 
> wc_get_worker_for_name ajp12
> [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: 
> wc_get_worker_for_name, done found a worker
> [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: 
> HttpExtensionProc got a worker for name ajp12
> [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into 
> jk_worker_t::get_endpoint
> [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into 
> jk_endpoint_t::service
> [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket
> [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: 
> jk_open_socket, try to connect socket = 632
> [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: 
> jk_open_socket, after connect ret = -1
> [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: 
> jk_open_socket, connect() failed errno = 61
> [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In 
> jk_endpoint_t::service, sd = -1
> [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In 
> jk_endpoint_t::service, Error sd = -1
> [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: 
> HttpExtensionProc error, service() failed
> [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into 
> jk_endpoint_t::done
> 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Turner, John


Looks to me like your Tomcat is either not running, or listening on a
different port:

[Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: jk_open_socket, try to
connect socket = 632
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: jk_open_socket, after
connect ret = -1
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: jk_open_socket, connect()
failed errno = 61

FYI -

It would be A LOT easier for people to help you if you would post some
config files (as I've already suggested twice...maybe 3 times is the charm).
Probably could have saved the last 2 or 3 iterations of "OK, I tried X and
got Y, now what?".  But hey, if you want to draw this out, that's cool.

John


> -Original Message-
> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 1:53 PM
> To: Tomcat Users List
> Subject: RE: Tomcat IIS Worker problem
> 
> 
> 
> Ok, so now that I changed the service to ajp12 I get the 
> following in the log file:
> [Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (679)]: 
> HttpExtensionProc started
> [Tue Oct 15 13:48:24 2002]  [jk_worker.c (123)]: Into 
> wc_get_worker_for_name ajp12
> [Tue Oct 15 13:48:24 2002]  [jk_worker.c (127)]: 
> wc_get_worker_for_name, done  found a worker
> [Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (701)]: 
> HttpExtensionProc got a worker for name ajp12
> [Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (223)]: Into 
> jk_worker_t::get_endpoint
> [Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (121)]: Into 
> jk_endpoint_t::service
> [Tue Oct 15 13:48:24 2002]  [jk_connect.c (108)]: Into jk_open_socket
> [Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: 
> jk_open_socket, try to connect socket = 632
> [Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: 
> jk_open_socket, after connect ret = -1
> [Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: 
> jk_open_socket, connect() failed errno = 61
> [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (134)]: In 
> jk_endpoint_t::service, sd = -1
> [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (152)]: In 
> jk_endpoint_t::service, Error sd = -1
> [Tue Oct 15 13:48:25 2002]  [jk_isapi_plugin.c (716)]: 
> HttpExtensionProc error, service() failed
> [Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (163)]: Into 
> jk_endpoint_t::done
> 

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




RE: Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


Ok, so now that I changed the service to ajp12 I get the following in the log file:
[Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (679)]: HttpExtensionProc started
[Tue Oct 15 13:48:24 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[Tue Oct 15 13:48:24 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a 
worker
[Tue Oct 15 13:48:24 2002]  [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker 
for name ajp12
[Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[Tue Oct 15 13:48:24 2002]  [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[Tue Oct 15 13:48:24 2002]  [jk_connect.c (108)]: Into jk_open_socket
[Tue Oct 15 13:48:24 2002]  [jk_connect.c (115)]: jk_open_socket, try to connect 
socket = 632
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (124)]: jk_open_socket, after connect ret = 
-1
[Tue Oct 15 13:48:25 2002]  [jk_connect.c (143)]: jk_open_socket, connect() failed 
errno = 61
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 
-1
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, 
Error sd = -1
[Tue Oct 15 13:48:25 2002]  [jk_isapi_plugin.c (716)]: HttpExtensionProc error, 
service() failed
[Tue Oct 15 13:48:25 2002]  [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

Not sure what these errors mean...never did this before.
Thanks.
 "Ignacio J. Ortega" <[EMAIL PROTECTED]> wrote:> From: Lior Shliechkorn 
[mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 7:09 PM

> [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into 
> build_worker_map, creating 1 workers
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (213)]: 
> build_worker_map, creating worker ajp12
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (138)]: Into wc_create_worker
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (152)]: 
> wc_create_worker, about to create instance ajp12 of ajp12
> [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (264)]: Into 
> ajp12_worker_factory
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (161)]: 
> wc_create_worker, about to validate and init ajp12
> [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (182)]: Into 
> jk_worker_t::validate
> [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (194)]: In 
> jk_worker_t::validate for worker ajp12 contact is localhost:8007
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (177)]: 
> wc_create_worker, done
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (223)]: 
> build_worker_map, removing old ajp12 worker 
> [Tue Oct 15 12:34:16 2002] [jk_worker.c (235)]: 
> build_worker_map, done


This log excerpt seems to say that your workers.properties files doenst
define a "ajp13" worker, and you are assinging the uri to this
nonexistent worker.. 

1) To see it working use ajp12 instead of ajp13 in your uw.p file
2) post your w.p file to help you use the better ajp13 protocol instead
of ajp12

HTH

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com


RE: Tomcat IIS Worker problem

2002-10-15 Thread Ignacio J. Ortega

> From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 15, 2002 7:09 PM

> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (82)]: Into wc_open
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (207)]: Into 
> build_worker_map, creating 1 workers
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (213)]: 
> build_worker_map, creating worker ajp12
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (138)]: Into wc_create_worker
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (152)]: 
> wc_create_worker, about to create instance ajp12 of ajp12
> [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (264)]: Into 
> ajp12_worker_factory
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (161)]: 
> wc_create_worker, about to validate and init ajp12
> [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (182)]: Into 
> jk_worker_t::validate
> [Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (194)]: In 
> jk_worker_t::validate for worker ajp12 contact is localhost:8007
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (177)]: 
> wc_create_worker, done
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (223)]: 
> build_worker_map, removing old ajp12 worker 
> [Tue Oct 15 12:34:16 2002]  [jk_worker.c (235)]: 
> build_worker_map, done


This log excerpt seems to say that your workers.properties files doenst
define a "ajp13" worker, and you are assinging the uri to this
nonexistent worker.. 

1) To see it working use ajp12 instead of ajp13 in your uw.p file
2) post your w.p file to help you use the better ajp13 protocol instead
of ajp12

HTH

Saludos, 
Ignacio J. Ortega 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat IIS Worker problem

2002-10-15 Thread Lior Shliechkorn


I'm getting the following error in the isapi_redirect.log file:

[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host 
redirection of /localhost/examples/jsp/num/numguess.jsp
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/localhost/examples/jsp/num/numguess.jsp'
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (558)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -> *.jsp
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (775)]: HttpFilterProc 
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if 
[/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (806)]: Using registry.
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (808)]: Using log file 
C:\tomcat\logs\iis_redirect.log.
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (809)]: Using log level 0.
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (810)]: Using extension uri 
/jakarta/isapi_redirect.dll.
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (811)]: Using worker file 
C:\tomcat\conf\workers.properties.
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (812)]: Using worker mount file 
C:\tomcat\conf\uriworkermap.properties.
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (159)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (199)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (217)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 5
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (262)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (262)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /refcoapp/.jsp=ajp13 was added
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (262)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (273)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (302)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules
[Tue Oct 15 12:34:16 2002]  [jk_uri_worker_map.c (324)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (82)]: Into wc_open
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (207)]: Into build_worker_map, creating 1 
workers
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (213)]: build_worker_map, creating worker 
ajp12
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (138)]: Into wc_create_worker
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (152)]: wc_create_worker, about to create 
instance ajp12 of ajp12
[Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (161)]: wc_create_worker, about to validate 
and init ajp12
[Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
[Tue Oct 15 12:34:16 2002]  [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for 
worker ajp12 contact is localhost:8007
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (177)]: wc_create_worker, done
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (223)]: build_worker_map, removing old ajp12 
worker 
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (235)]: build_worker_map, done
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (102)]: wc_open, done
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (679)]: HttpExtensionProc started
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
[Tue Oct 15 12:34:16 2002]  [jk_worker.c (127)]: wc_get_worker_for_name, done did not 
found a worker
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get 
a worker for name ajp13
[Tue Oct 15 12:34:16 2002]  [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could 
not get a worker for name ajp13


I'm not sure why it cannot get a worker. Any ideas about what could be wrong. I used 
this link to try to get some help: 
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html and I didn't 
notice much difference in what I did and what they had. I restarted both Tomcat and 
IIS and I have nothing.

Thanks,

Lior Shliechkorn

PS - and thanks to those who helped me get this far.

 



-
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com