Solved this now. I removed all but the specific one I knew I needed and then
reset the home page on IIS to point at the app folder.

Ta for the suggestions!

-----Original Message-----
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 17:56
To: Tomcat Users List
Subject: RE: connecting IIS and Tomcat



Then you won't mind commenting the others and re-trying.;-)  Simplify first.
BTW workers2.properties is unused for the JK connector.  The JK2 connector
uses it.  It is safe to delete. 

-----Original Message-----
From: Brereton, Stephen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 28, 2005 12:52 PM
To: 'Tomcat Users List'
Subject: RE: connecting IIS and Tomcat

Thanks for pointing that out, but the worker I'm trying to use is 'raid',
and I'm somewhat confused why its picked up the URL of the site as part of
the name - this is the (test) copy - hence the name.

-----Original Message-----
From: Derrick Koes [mailto:[EMAIL PROTECTED]
Sent: 28 June 2005 17:44
To: Tomcat Users List
Subject: RE: connecting IIS and Tomcat



One thing that might help:

The name of the worker can contain only the alphanumeric characters
[a-z][A-Z][0-9] and is case insensitive. 


http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html


-----Original Message-----
From: Brereton, Stephen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 28, 2005 12:43 PM
To: 'tomcat-user@jakarta.apache.org'
Subject: connecting IIS and Tomcat

I'm in process of getting IIS to use Tomcat (for the obvious) but have hit a
problem. 
As far as I can tell, the config files are all as they should be, but on
restarting the server and requesting the page I want, a blank is returned
and jk_IIS.log has this in it::

###########################

[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1018)]: Using registry.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1020)]: Using log file
G:\Program Files\Apache Software Foundation\Tomcat 5.0\logs\jk_iis.log.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1022)]: Using extension uri
/tomcat/isapi_redirector.dll.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1023)]: Using worker file
G:\Program Files\Apache Software Foundation\Tomcat
5.0\conf\workers2.properties.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1024)]: Using worker mount
file G:\Program Files\Apache Software Foundation\Tomcat
5.0\conf\uriworkermap.properties.
[Tue Jun 28 17:25:57 2005]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 7 [Tue Jun 28
17:25:57 2005]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=testWorker
was added [Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /raid-test/=raid was
added [Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /=raid was added [Tue
Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule /raid-test/tomcat/=raid
was added [Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (321)]: Into
jk_uri_worker_map_t::uri_worker_map_open, match rule
/raid-test.york.gov.uk/tomcat/=raid was added [Tue Jun 28 17:25:57 2005]
[jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /raid-test.york.gov.uk/=raid was added [Tue Jun 28 17:25:57 2005]
[jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /raid/=raid was added [Tue Jun 28 17:25:57 2005]
[jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 7 rules [Tue Jun 28 17:25:57 2005]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done [Tue Jun 28 17:25:57 2005]
[jk_worker.c (88)]: Into wc_open [Tue Jun 28 17:25:57 2005]  [jk_worker.c
(222)]: Into build_worker_map, creating 1 workers [Tue Jun 28 17:25:57 2005]
[jk_worker.c (228)]: build_worker_map, creating worker ajp12 [Tue Jun 28
17:25:57 2005]  [jk_worker.c (148)]: Into wc_create_worker [Tue Jun 28
17:25:57 2005]  [jk_worker.c (162)]: wc_create_worker, about to create
instance ajp12 of ajp12 [Tue Jun 28 17:25:57 2005]  [jk_ajp12_worker.c
(283)]: Into ajp12_worker_factory [Tue Jun 28 17:25:57 2005]  [jk_worker.c
(171)]: wc_create_worker, about to validate and init ajp12 [Tue Jun 28
17:25:57 2005]  [jk_ajp12_worker.c (200)]: Into jk_worker_t::validate [Tue
Jun 28 17:25:57 2005]  [jk_ajp12_worker.c (212)]: In jk_worker_t::validate
for worker ajp12 contact is localhost:8007 [Tue Jun 28 17:25:57 2005]
[jk_worker.c (187)]: wc_create_worker, done [Tue Jun 28 17:25:57 2005]
[jk_worker.c (238)]: build_worker_map, removing old ajp12 worker [Tue Jun 28
17:25:57 2005]  [jk_worker.c (250)]: build_worker_map, done [Tue Jun 28
17:25:57 2005]  [jk_worker.c (111)]: wc_open, done 1 [Tue Jun 28 17:25:57
2005]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0 [Tue Jun 28 17:25:58
2005]  [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Jun 28
17:25:58 2005]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host
redirection of /raid-test.york.gov.uk/tomcat/ [Tue Jun 28 17:25:58 2005]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Tue Jun 28 17:25:58 2005]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/raid-test.york.gov.uk/tomcat/'
[Tue Jun 28 17:25:58 2005]  [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match raid -> / [Tue
Jun 28 17:25:58 2005]  [jk_uri_worker_map.c (502)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match raid ->
/raid-test.york.gov.uk/tomcat/ [Tue Jun 28 17:25:58 2005] [jk_isapi_plugin.c
(775)]: HttpFilterProc [/tomcat/] is a servlet url - should redirect to raid
[Tue Jun 28 17:25:58 2005]  [jk_isapi_plugin.c
(838)]: HttpFilterProc check if [/tomcat/] is points to the web-inf
directory [Tue Jun 28 17:25:58 2005]  [jk_isapi_plugin.c (878)]:
HttpExtensionProc started [Tue Jun 28 17:25:58 2005]  [jk_worker.c (132)]:
Into wc_get_worker_for_name raid [Tue Jun 28 17:25:58 2005]  [jk_worker.c
(136)]: wc_get_worker_for_name, done did not found a worker [Tue Jun 28
17:25:58 2005]  [jk_isapi_plugin.c (913)]: HttpExtensionProc could not get a
worker for name raid [Tue Jun 28 17:25:58 2005]  [jk_isapi_plugin.c (934)]:
HttpExtensionProc error, could not get a worker for name raid

##################

>>>contents of workers.properties (this is the one defined in the reg!

worker.list=testWorker , raid-test, raid-test.york.gov.uk, raid
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
worker.raid-test.york.gov.uk.port=8009
worker.raid-test.york.gov.uk.host=localhost
worker.raid-test.york.gov.uk.type=ajp13
worker.raid-test.port=8009
worker.raid-test.host=localhost
worker.raid-test.type=ajp13
worker.raid.port=8009
worker.raid.host=localhost
worker.raid.type=ajp13

>>>>>contents of workers2.properties

[shm:]
info=Shared memory file. Required for multiprocess servers file=G:\program
files\Apache software foundation\Tomcat 5.0\work\jk2.shm size=1000000

[logger]
# log levels specified here are ERROR, INFO, DEBUG level=DEBUG

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples/

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples/

[uri:/testWorker/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/examples/

[uri:/raid-test/*]
info=RAID
context=/raid/

[uri:/raid/*]
info=RAID
context=/raid/

>>>>contents of uriworkermap.properties

/examples/*=testWorker
/raid-test/*=raid
/*=raid
/raid-test/tomcat/*=raid
/raid-test.york.gov.uk/tomcat/*=raid
/raid-test.york.gov.uk/*=raid
/raid/*=raid


NB: Tomcat starts up vfine via 8080, and the /raid app is in place and
working via ....:8080/raid

I just need to be able to access it via IIS!

* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

---------------------------------------------------------------------
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]

* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

---------------------------------------------------------------------
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]

* * * * * * * * * * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
This email represents the personal views of the author/sender.  The
author/sender has no authority or delegation to bind the City of York
Council by this e-mail and the City of York Council accepts no
responsibility whatsoever for its contents.  Please note that any reply to
this email may be screened.

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

Reply via email to