IIS with tomcat

2005-09-06 Thread Gilbert, Antoine
Hi

 

I am using IIS 5.0 with Tomcat 4.0.6

 

My web application is working fine except at one place

 

I have a single page, and within this page there is an IFRAME which
source referring to another page. And somehow the session in the IFRAME
is never the same than in the main page. I am using the same host name
info to build the source url of the IFRAME and I tried to use jsessionid
param in the url, and I am still not in the same session.

 

Anyone have an idea about this strange problem?



RE: connecting IIS and Tomcat

2005-06-29 Thread Brereton, Stephen
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

connecting IIS and Tomcat

2005-06-28 Thread Brereton, Stephen
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

RE: connecting IIS and Tomcat

2005-06-28 Thread Derrick Koes

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

RE: connecting IIS and Tomcat

2005-06-28 Thread Brereton, Stephen
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

RE: connecting IIS and Tomcat

2005-06-28 Thread Derrick Koes

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

RE: connecting IIS and Tomcat

2005-06-28 Thread Brereton, Stephen
Take your point. BTW do I need to restart Tomcat each time? Bit confused on
that one...

-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

RE: connecting IIS and Tomcat

2005-06-28 Thread Derrick Koes

Not unless you changed something in server.xml.

You need to restart the WWW service (IIS). 

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

Take your point. BTW do I need to restart Tomcat each time? Bit confused on 
that one...

-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

RE: connecting IIS and Tomcat

2005-06-28 Thread Nat Papovich
Hi all, first post here.

I had a dickens of a time finding where Tomcat (5.5.9) was sticking my
serialized object files (Java 1.5). When starting Tomcat on Win, it writes
them to C:\WINDOWS\system32. When starting via command line (dbl-click
tomcat5.exe), it puts them in the same dir (C:\Tomcat\bin). 

Is there a good way to change the default path for a new File()? The docs
seem to ambiguously state that the default is either the dir where the JRE
was launched from, as well as System.getProperty(user.dir).

How about a better way to solve my problem? Add a new system property? Docs
state that system property changes don't persist across application
invocations. Keep the path to my custom serialized object location in my
own settings file and read it? Or should I just forget the whole notion and
stick with whatever the default is?

Thanks,
NAT

Nat Papovich
Senior Partner  Development Director
Fusium, Inc.
503-226-7099



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



RE: connecting IIS and Tomcat

2005-06-28 Thread Brereton, Stephen
I've deleted workers2.properties and get:

[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1018)]: Using registry.
[Tue Jun 28 22:27:12 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 22:27:12 2005]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1022)]: Using extension uri
/tomcat/isapi_redirector.dll.
[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1023)]: Using worker file
G:\Program Files\Apache Software Foundation\Tomcat
5.0\conf\workers2.properties.
[Tue Jun 28 22:27:12 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 22:27:12 2005]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2
[Tue Jun 28 22:27:12 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 22:27:12 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 22:27:12 2005]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1074)]: Unable to read
worker file G:\Program Files\Apache Software Foundation\Tomcat
5.0\conf\workers2.properties.

am I using the wrong JK? the one I've set up is dated 12/apr/04

-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

RE: connecting IIS and Tomcat

2005-06-28 Thread Derrick Koes
Your registry is incorrect.

Try this.  Modify values as appropriate. 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi 
Redirector\1.0]
extension_uri=/jakarta/isapi_redirect.dll
worker_file=C:\\jk-connector\\conf\\workers.properties
worker_mount_file=C:\\jk-connector\\conf\\uriworkermap.properties
log_file=E:\\files\\jk-logs\\isapi_filter.log
log_level=info

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

I've deleted workers2.properties and get:

[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1018)]: Using registry.
[Tue Jun 28 22:27:12 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 22:27:12 2005]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1022)]: Using extension uri 
/tomcat/isapi_redirector.dll.
[Tue Jun 28 22:27:12 2005]  [jk_isapi_plugin.c (1023)]: Using worker file 
G:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\workers2.properties.
[Tue Jun 28 22:27:12 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 22:27:12 2005]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Tue Jun 28 22:27:12 2005]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 2 [Tue Jun 28 
22:27:12 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 22:27:12 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 22:27:12 2005]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 2 rules [Tue Jun 28 
22:27:12 2005]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done [Tue Jun 28 22:27:12 2005]  
[jk_isapi_plugin.c (1074)]: Unable to read worker file G:\Program Files\Apache 
Software Foundation\Tomcat 5.0\conf\workers2.properties.

am I using the wrong JK? the one I've set up is dated 12/apr/04

-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

== Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message and 
in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc 
[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to 
the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is 
pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]: 
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet 
url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and 
http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/

  !-- Global JNDI resources --
  GlobalNamingResources

!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer value=30/

Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User database that can be updated and saved
/Resource
ResourceParams name=UserDatabase
  parameter
namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams

  /GlobalNamingResources

Service name=Catalina

!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
 during installation  --
Connector port=8080
   maxThreads=150
   minSpareThreads=25
   maxSpareThreads=75
   enableLookups=false

Re: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
what version of IIS / tomcat / isapi_redirector are you using ?
-reynir

[EMAIL PROTECTED] wrote:

Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message and 
in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc 
[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to 
the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is 
pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]: 
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet 
url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and 
http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
  Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/

  !-- Global JNDI resources --
  GlobalNamingResources

!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer value=30/

Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User database that can be updated and saved
/Resource
ResourceParams name=UserDatabase
  parameter
namefactory/name
valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
  /parameter
  parameter
namepathname/name
valueconf/tomcat-users.xml/value
  /parameter
/ResourceParams

  /GlobalNamingResources

Service name=Catalina

!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
 during installation  --
Connector port=8080
   maxThreads=150

Re: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
ok sorry
I saw it down at the bottom of your email.
I wrote directions on how to install this kind of setup few days ago :

http://www.reynir.net/java/greinar/nr/52

check it out, it works fine.

-reynir

reynir wrote:

what version of IIS / tomcat / isapi_redirector are you using ?
-reynir

[EMAIL PROTECTED] wrote:

  

Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message and 
in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc 
[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to 
the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is 
pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]: 
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a servlet 
url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In 
HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and 
http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
 Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
   debug=0/
 Listener 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
   debug=0/

 !-- Global JNDI resources --
 GlobalNamingResources

   !-- Test entry for demonstration purposes --
   Environment name=simpleValue type=java.lang.Integer value=30/

   Resource name=UserDatabase auth=Container
 type=org.apache.catalina.UserDatabase
  description=User database that can be updated and saved
   /Resource
   ResourceParams name=UserDatabase
 parameter
   namefactory/name
   valueorg.apache.catalina.users.MemoryUserDatabaseFactory/value
 /parameter
 parameter
   namepathname/name
   valueconf/tomcat-users.xml/value
 /parameter
   /ResourceParams

 /GlobalNamingResources

   Service

Not enough response == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Thanx Reynir but I already read your doc and it works for the previous 
version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12)

Me I use JK2 (isapi redirector next version - AJP 13) AND the file for the 
configuration seems to be only one :

workers2.properties

Not with : workers.properties AND uriworkermap.properties

So if I doesn't make any mistake, your doc doesn't reply to my need...

Sorry and thanx.

reynir [EMAIL PROTECTED] a écrit sur 04/04/2005 15:21:46 :

 ok sorry
 I saw it down at the bottom of your email.
 I wrote directions on how to install this kind of setup few days ago :
 
 http://www.reynir.net/java/greinar/nr/52
 
 check it out, it works fine.
 
 -reynir
 
 reynir wrote:
 
 what version of IIS / tomcat / isapi_redirector are you using ?
 -reynir
 
 [EMAIL PROTECTED] wrote:
 
  
 
 Hi,
 
 I'm looking for some help. Thanx in advance.
 
 When I make a request to IIS for JSP file, I've got an error message 
and 
 in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc 
 [/admin/index.jsp] is not a servlet url
 
 **
 The complete description follow from the windows log
 And my installation process :
 **
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
 HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing 
to 
 the web-inf directory
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
 HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 
In 
 HttpFilterProc Virtual Host redirection of s0058 : 80
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
 HttpFilterProc started
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
 HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] 
is 
 pointing to the web-inf directory
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]: 
 HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a 
servlet 
 url - should redirect to lb
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 
In 
 HttpFilterProc Virtual Host redirection of s0058 : 80
 04/04/2005,14:18:03,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
 HttpFilterProc started
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
 HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
 directory
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
 HttpFilterProc [/admin/index.jsp] is not a servlet url
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 
In 
 HttpFilterProc Virtual Host redirection of s0058 : 80
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
 HttpFilterProc started
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
 HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
 directory
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
 HttpFilterProc [/admin/index.jsp] is not a servlet url
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 
In 
 HttpFilterProc Virtual Host redirection of s0058 : 80
 04/04/2005,14:17:47,Apache Jakarta 
 Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
 HttpFilterProc started
 
 
 
 
 *** SOFT RELEASE ***
 My server : Windows server 2003
 My Web server : IIS 6.0
 My Tomcat server : 5.0.28
 My JDK : JDK 1.4.2
 My redirector : JK2
 
 *** MY ACTIONS ***
 **
 * == 1 - Tests IIs and Tomcat without the connector :
 **
 open url : http://localhost  = IIs respond good
 open url : http://localhost:8080/ and 
 http://localhost:8080/jsp-examplessample, works good
 **
 * == 2 - Configuring the connector in tomcat's server.xml :
 **
 Server port=8005 shutdown=SHUTDOWN debug=0
  Listener 
className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener 
 
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/
 
  !-- Global JNDI resources

RE: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread Sng Wee Jim

JK2 is officially unsupported. Use JK 1.2 instead
http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041
115.1


[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0] serverRoot=C:\\Tomcat5\\
extensionUri=/jakarta/isapi_redirector2.dll
workersFile=C:\\Tomcat5\\conf\\workers2.properties
logLevel=DEBUG


Is your virtual directory jakarta mapped to
c:\Tomcat5\bin\win32\i386 (the place where you copied
isapi_redirector2.dll)?

- Jim


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, April 04, 2005 8:48 PM
To: tomcat-user@jakarta.apache.org
Subject: == Isapi redirector Installation problem betweeen IIs and
Tomcat

Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message and

in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc
[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to
the web-inf directory
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is

pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]:
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a
servlet
url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
directory
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf
directory
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:
HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and
http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
  Listener
className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/

  !-- Global JNDI resources --
  GlobalNamingResources

!-- Test entry for demonstration purposes --
Environment name=simpleValue type=java.lang.Integer
value=30/

Resource name=UserDatabase auth=Container
  type=org.apache.catalina.UserDatabase
   description=User

Re: Not enough response == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread reynir
hi,
jk2 is not suported anymore.
jk is the current supported version. I suggest you go with that.
-reynir


[EMAIL PROTECTED] wrote:

Thanx Reynir but I already read your doc and it works for the previous 
version of the redirector : JK1(isapi redirector 1.2.8 - AJP 12)

Me I use JK2 (isapi redirector next version - AJP 13) AND the file for the 
configuration seems to be only one :

workers2.properties

Not with : workers.properties AND uriworkermap.properties

So if I doesn't make any mistake, your doc doesn't reply to my need...

Sorry and thanx.

reynir [EMAIL PROTECTED] a écrit sur 04/04/2005 15:21:46 :

  

ok sorry
I saw it down at the bottom of your email.
I wrote directions on how to install this kind of setup few days ago :

http://www.reynir.net/java/greinar/nr/52

check it out, it works fine.

-reynir

reynir wrote:



what version of IIS / tomcat / isapi_redirector are you using ?
-reynir

[EMAIL PROTECTED] wrote:



  

Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message 


and 
  

in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc 
[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing 


to 
  

the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 


In 
  

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] 


is 
  

pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]: 
HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a 


servlet 
  

url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 


In 
  

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 


In 
  

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]: 
HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf 
directory
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]: 
HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: 


In 
  

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta 
Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]: 
HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and 
http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
Listener 


className=org.apache.catalina.mbeans.ServerLifecycleListener

RE: == Isapi redirector Installation problem betweeen IIs and Tomcat

2005-04-04 Thread samuel . goblet
Ok, sorry for the disturbation.

I'll going to test it with the JK 1.2.

Best regards.




Sng Wee Jim [EMAIL PROTECTED] 
04/04/2005 16:14
Veuillez répondre à
Tomcat Users List tomcat-user@jakarta.apache.org


A
[EMAIL PROTECTED], tomcat-user@jakarta.apache.org
cc

Objet
RE: == Isapi redirector Installation problem betweeen IIs and  Tomcat







JK2 is officially unsupported. Use JK 1.2 instead
http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041
115.1


[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0] serverRoot=C:\\Tomcat5\\
extensionUri=/jakarta/isapi_redirector2.dll
workersFile=C:\\Tomcat5\\conf\\workers2.properties
logLevel=DEBUG


Is your virtual directory jakarta mapped to
c:\Tomcat5\bin\win32\i386 (the place where you copied
isapi_redirector2.dll)?

- Jim


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Monday, April 04, 2005 8:48 PM
To: tomcat-user@jakarta.apache.org
Subject: == Isapi redirector Installation problem betweeen IIs and
Tomcat

Hi,

I'm looking for some help. Thanx in advance.

When I make a request to IIS for JSP file, I've got an error message and

in the event log : [jk_isapi_plugin.c (420)]: HttpFilterProc

[/admin/index.jsp] is not a servlet url

**
The complete description follow from the windows log
And my installation process :
**
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:

HttpFilterProc check if [/Jakarta/isapi_redirector2.dll] is pointing to

the web-inf directory
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:

HttpFilterProc [/Jakarta/isapi_redirector2.dll] is not a servlet url
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:

HttpFilterProc started
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:

HttpFilterProc check if [/jsp-examples/jsp2/el/basic-comparisons.jsp] is

pointing to the web-inf directory
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (340)]:

HttpFilterProc [/jsp-examples/jsp2/el/basic-comparisons.jsp] is a
servlet

url - should redirect to lb
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:18:03,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:

HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:

HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf

directory
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:

HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:

HttpFilterProc started
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (429)]:

HttpFilterProc check if [/admin/index.jsp] is pointing to the web-inf

directory
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (420)]:

HttpFilterProc [/admin/index.jsp] is not a servlet url
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (308)]: In

HttpFilterProc Virtual Host redirection of s0058 : 80
04/04/2005,14:17:47,Apache Jakarta

Connector2,Aucun,Aucun,4,N/A,S0058,Debug:  [jk_isapi_plugin.c (252)]:

HttpFilterProc started




*** SOFT RELEASE ***
My server : Windows server 2003
My Web server : IIS 6.0
My Tomcat server : 5.0.28
My JDK : JDK 1.4.2
My redirector : JK2

*** MY ACTIONS ***
**
* == 1 - Tests IIs and Tomcat without the connector :
**
open url : http://localhost  = IIs respond good
open url : http://localhost:8080/ and

http://localhost:8080/jsp-examplessample, works good
**
* == 2 - Configuring the connector in tomcat's server.xml :
**
Server port=8005 shutdown=SHUTDOWN debug=0
  Listener
className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
  Listener

Using SSL with IIS and Tomcat 4.1

2005-03-25 Thread Anderson, Rick A
Hi.
I have successfully set up IIS 5.0 as the web server in a DMZ servicing
Tomcat 4.1 as the application server in a secure zone.

Now I am trying to enable SSL from the client's browser through to the
application server. I cannot get this to work.

I don't know if I need to activate SSL in Tomcat, in IIS, or in both.
I've found conflicting articles on this. I have successfully enabled SSL
in Tomcat, but IIS can't access the application server when I do. I
tried to enable SSL in IIS, but had no luck at all there, even with a
little test web site.

Any help would be appreciated.

Richard A. Anderson, NCR Corporation
(519) 884-1710 X5543
(519) 884-0610 (fax)




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



RE: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-23 Thread Sng Wee Jim


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

The workers that are member of load balancer must not appear in the 
worker.list directive.



If your are not using load balancing, you should be able to remove 
configuration for worker.loadbalancer.XXX

Values in worker.list, should not appear in 
worker.loadbalancer.balanced_workers (or worker.loadbalancer.balance_workers)


- Jim


-Original Message-
From: reynir [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 12:19 AM
To: Tomcat Users List
Subject: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

Hi all,
I've just installed a setup with Win2003 server, IIS 6 (the default 2003
server) and tomcat. I tried this before, and failed but now I succeeded.
I know there are more people dealing with the same env. setup. So if you
are having problems with this kind of setup you can read all about my
solution at :

http://www.reynir.net/java/greinar/nr/52

ok,  hope it will help someone.

Reynir Hübner
[EMAIL PROTECTED]




The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email
immediately. You should not copy, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com/



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



Re: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-23 Thread reynir

ok thanx for your comments. I will add this in a footnote of the page.
-reynir


Sng Wee Jim wrote:

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

The workers that are member of load balancer must not appear in the 
worker.list directive.



If your are not using load balancing, you should be able to remove 
configuration for worker.loadbalancer.XXX

Values in worker.list, should not appear in 
worker.loadbalancer.balanced_workers (or worker.loadbalancer.balance_workers)


- Jim


-Original Message-
From: reynir [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 12:19 AM
To: Tomcat Users List
Subject: Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

Hi all,
I've just installed a setup with Win2003 server, IIS 6 (the default 2003
server) and tomcat. I tried this before, and failed but now I succeeded.
I know there are more people dealing with the same env. setup. So if you
are having problems with this kind of setup you can read all about my
solution at :

http://www.reynir.net/java/greinar/nr/52

ok,  hope it will help someone.

Reynir Hübner
[EMAIL PROTECTED]




The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email
immediately. You should not copy, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com/



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



Win2003 server, IIS 6 tomcat 5. setup (isapi_redirect) - resolved

2005-03-22 Thread reynir
Hi all,
I've just installed a setup with Win2003 server, IIS 6 (the default 2003
server) and tomcat. I tried this before, and failed but now I succeeded.
I know there are more people dealing with the same env. setup. So if you
are having problems with this kind of setup you can read all about my
solution at :

http://www.reynir.net/java/greinar/nr/52

ok,  hope it will help someone.

Reynir Hübner
[EMAIL PROTECTED]


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



IIS and Tomcat 4.1 errors

2004-10-04 Thread Terry Milller
I am running IIS 5.0 on Windows 2000 Server against a
Tomcat 4.1 application using JK 1.2.  I have been
getting errors in the Event Log from day one but the
application seems to be running very well until today.
 The messages I am getting are 

Error: [jk_worker_ajp13.c (416)]: ajp13.service()
ajpGetReply recoverable error 12
Error: [jk_workerEnv.c (482)]:
workerEnv.processCallbacks() Error reading reply
Error: [jk_channel_socket.c (557)]:
channelSocket.receive(): Error receiving message body
-1 54
Error: [jk_channel_socket.c (557)]:
channelSocket.receive(): Error receiving message body
-1 53

These messages sometimes occur every minute but can
also skip twenty minutes.  Does anyone know what these
messages mean?  Any help would be appreciated.

Thanks,
Terry



__
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

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



RE: IIS with Tomcat integration

2004-09-28 Thread Alex

i found this aswell.  windows ;)  when i moved to using virtual hosts with
tomcat and iis with jk2 i found that only iis needed to be restarted and
not windows.

On Tue, 28 Sep 2004, Sng Wee Jim wrote:

 Date: Tue, 28 Sep 2004 09:48:54 +0800
 From: Sng Wee Jim [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Subject: RE: IIS with Tomcat integration


 Solved.
 Need to restart windows, whenever the settings in
 uriworkermap.properties is modified. Seems like the isapi_redirect.dll
 can only get reloaded by windows restart and not by restarting the IIS
 website.

 - Jim


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



RE: IIS with Tomcat integration

2004-09-28 Thread Brantley Hobbs
You can open a command prompt and type in iisreset to have it read the
changes.  Or you can open the services control panel and restart the
IIS Admin and World Wide Web Publishing services.  Either way you
will force a reload of the properties file.


Be aware that either one of these options will cause an interruption of
service.

-Brantley

 -Original Message-
 From: Sng Wee Jim [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 27, 2004 9:49 PM
 To: Tomcat Users List
 Subject: RE: IIS with Tomcat integration
 
 
 Solved.
 
 Need to restart windows, whenever the settings in
 uriworkermap.properties is modified. Seems like the isapi_redirect.dll
 can only get reloaded by windows restart and not by restarting the IIS
 website.
 
 - Jim
 
 
 -Original Message-
 From: Alex [mailto:[EMAIL PROTECTED]
 
 Sent: Monday, September 27, 2004 2:17 PM
 To: Tomcat Users List
 Subject: Re: IIS with Tomcat integration
 
 
 jk2 or jk adapter ?
 
 On Mon, 27 Sep 2004, Sng Wee Jim wrote:
 
  Date: Mon, 27 Sep 2004 14:31:28 +0800
  From: Sng Wee Jim [EMAIL PROTECTED]
  Reply-To: Tomcat Users List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: IIS with Tomcat integration
 
 
  Hi,
 
  I am having some problems integrating IIS 5 with Tomcat 5.0.28 on
 Win2k.
  Basically, the redirection is working fine with the following
 
  configuration in my uriworkermap.properties
 
 
 
 


 The information in this email is confidential and is intended solely
 for the addressee(s).
 Access to this email by anyone else is unauthorized. If you are not
 an intended recipient, please notify the sender of this email
 
 immediately. You should not copy, use or disseminate the
 
 information contained in the email.
 Any views expressed in this message are those of the individual
 sender, except where the sender specifically states them to be
 the views of Capco.
 
 http://www.capco.com/
 


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



RE: IIS with Tomcat integration

2004-09-27 Thread Sng Wee Jim

Solved.
Need to restart windows, whenever the settings in
uriworkermap.properties is modified. Seems like the isapi_redirect.dll
can only get reloaded by windows restart and not by restarting the IIS
website.

- Jim


-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]
Sent: Monday, September 27, 2004 2:17 PM
To: Tomcat Users List
Subject: Re: IIS with Tomcat integration


jk2 or jk adapter ?

On Mon, 27 Sep 2004, Sng Wee Jim wrote:

 Date: Mon, 27 Sep 2004 14:31:28 +0800
 From: Sng Wee Jim [EMAIL PROTECTED]
 Reply-To: Tomcat Users List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: IIS with Tomcat integration


 Hi,

 I am having some problems integrating IIS 5 with Tomcat 5.0.28 on
Win2k.
 Basically, the redirection is working fine with the following
 configuration in my uriworkermap.properties





The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email
immediately. You should not copy, use or disseminate the
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com/



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



AW: IIS with Tomcat integration

2004-09-27 Thread Steffen Heil
Hi

 Solved. Need to restart windows, whenever the settings in
uriworkermap.properties is modified. Seems like the isapi_redirect.dll can
only get reloaded by windows restart and not by restarting the IIS website.

Try restarting the website AND the iisadmin service.

Regards,
  Steffen


smime.p7s
Description: S/MIME cryptographic signature


JK-Connector 2 with IIS and Tomcat on different machines ?

2004-07-16 Thread Bjoern . Andersen
Hello,

we ad IIS 5 with JK 1.x running as a frontend against TC 4.x-Cluster. All
works well.
Now we wanna change to IIS6, JK2 and TC5.
In the proof-of-concept, I saw that JK2 needs Tomcat-Path to be configured
in the registry.

Why that? On our IIS-Machines, there is no Tomcat. It is running on other
machines.
Can I configure JK2 without the serverRoot in the 
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0 - key?

Why does the ISAPI-Filter-DLL need the Tomcat anyway? Don't they communicate
via TCP/IP any more?

Please help...
--
Björn Andersen
Webservices

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



Integration of IIS and Tomcat

2004-07-05 Thread Tom Burke
These are early days with Tomcat for me. Specifically, I'm trying to
integrate Tomcat with IIS. I'm running Tomcat 4.1.30 and IIS 5.1 on XP
Pro. I have downloaded and installed  isapi-redirector2.dll, I have
configured IIS as required in the configuration instructions, I have
edited the registry and added the Keys and Key Words as required. I have
downloaded numerous configuration instructions, and have in particular
followed this one:-
https://www.rit.edu/~ack5504/tomcat-iis6-howto/narantugs-sengee-guide.html

I know that IIS is working as I can successfully browse to
http://localhost/iisstart.asp  . And I also know that Tomcat is working
because browsing to localhost:8080 brings up the familiar Tomcat welcome
screen.

Looking at the Testing section of that guide, I can run step 11 and 12,
and thus call up the  html page from IIS, but clicking on any of the jsp
links produces a 'Page cannot be displayed' error, with 'Cannot find
server or DNS error' as' as the reason.

Looking in the IIS logs I see this line after requesting the link to the
jsp:
12:49:08 127.0.0.1 GET /jakarta/isapi_redirector2.dll 200
which of course is the 'success' return code (as far as IIS is
concerned); ie, IIS is happy that it's passed the request on to the
redirector.

It looks as if the redirector simply isn't using any of the Tomcat
contexts. There's a couple of lines in workers2.properties that specifiy
a context:
[uri:/examples/jsp/*.jsp]
Context=/examples/jsp

However crawling through server.xml seemed to indicate that there wasn't
a context defined in there to match the context in workers2.properties,
so I added ths section to server.xml:

!--  Test /examples/jsp context... --
  Context path=/examples/jsp docBase=examples/jsp debug=5
reloadable=true crossContext=true
  Logger className=org.apache.catalina.logger.FileLogger
prefix=localhost_examples_jsp_log. suffix=.txt timestamp=true /
  Ejb name=ejb/EmplRecord type=Entity
home=com.wombat.empl.EmployeeRecordHome
remote=com.wombat.empl.EmployeeRecord /
  /Context

And again there's some evidence that this has been read and acted upon -
I now have a new logfile called localhost_examples_jsp_log.

But I'm still not getting .jsp pages served by IIS. Can anyone advise
any further action I can take, or places to look?

Tom Burke



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



Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out 
of this website


Re: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread AHaider31
i have no idea what you are talking about i just want to get unsubscribed out 
of this website


RE: Load-balancing with MS IIS and tomcat 5

2004-06-21 Thread Carl Olivier
To unsubscribe, e-mail: [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 21 June 2004 08:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Load-balancing with MS IIS and tomcat 5


i have no idea what you are talking about i just want to get unsubscribed
out 
of this website

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



Load-balancing with MS IIS and tomcat 5

2004-06-20 Thread Sng Wee Jim

Hi,

Is there any tutorial/documentation site that detail how to load-balance
Microsoft IIS working with Tomcat 5 (via JK2 connector).

Any difference in using MS IIS compared to Apache webserver?


- Jim




The information in this email is confidential and is intended solely
for the addressee(s).
Access to this email by anyone else is unauthorized. If you are not
an intended recipient, please notify the sender of this email 
immediately. You should not copy, use or disseminate the 
information contained in the email.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Capco.

http://www.capco.com/



Problem to run IIS with Tomcat

2004-05-25 Thread Ling-Yuan.Tai
Hi,

We would like to run IIS with Tomcat.  I have been struggling to make
IIS to work with Tomcat.  After I followed the instructions to
configure IIS a few times, I though I have successfully configured the
IIS to work with Tomcat.  It works for only one application that I
created, the examples come with Tomcat don't even work.

Following are what I did.  When I ran in a browser through IIS server
only fadd_test worked:

On IIS:
I created four virtual directories:

1. jakarta points to isapi_redirect.dll
2. fadd_test points to fadd_app directory under
c:\tomcat\webapps\fadd_app
3. faddapp point to the same directory as #2
4. examples point to the c:\tomcat\webapps\examples

 uriworkermap.properties ===

/examples=$(default.worker)
/examples/*=$(default.worker)

/fadd_test=$(default.worker)
/fadd_test/*=$(default.worker)

/faddapp=$(default.worker)
/faddapp/*=$(default.worker)

= server.xml =

Context path=/fadd_test docBase=fadd_app reloadable=true

  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_fadd_log. suffix=.txt
  timestamp=true/
/Context

Context path=/faddapp docBase=fadd_app reloadable=true
  Logger className=org.apache.catalina.logger.FileLogger
 prefix=localhost_fadd_log. suffix=.txt
  timestamp=true/
/Context

!-- Tomcat Examples Context --
Context path=/examples docBase=examples debug=0
 reloadable=true crossContext=true
   .
   .
   .
  ResourceLink name=linkToGlobalResource
global=simpleValue
type=java.lang.Integer/
/Context

 Run the application in IE browser=

http://dbmon.nws.noaa.gov/examples
The page cannot be displayed

http://dbmon.nws.noaa.gov/faddapp
the index.html appeared when I pressed a bottom to run a servlet it
returned
HTTP Error 405
405 Method Not Allowed

http://dbmon.nws.noaa.gov/fadd_test
Worked as I expected

Thanks,
Ling


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



IIS and Tomcat Security

2004-05-04 Thread Insyde
Can I get user role ( request.isUserInRole() ) from a user authenticated by IIS ( 
windows integrated authentication (NTLM) ). I already get user name, but I dont know 
how to configure the file 'tomcat-users.xml' to set the user's roles. Using only IIS, 
it's easy. I only need to configure the directory permissions, and then, IIS allow or 
deny access to my web pages.

Any help?

Thanks

Maurício Kanada

Vedr.: IIS and Tomcat security

2004-04-16 Thread Thomas Nybro Bolding
Yes it does.

request.getRemoteUser() in your JSP gives you the IIS authenticated user. Make sure 
your IIS is set to Integrated Windows authentication and insert 
request.tomcatAuthentication=false in your jk2.properties file.

/Thomas





Insyde [EMAIL PROTECTED]
15-04-2004 18:06
Besvar venligst til Tomcat Users List

 
Til:[EMAIL PROTECTED]
cc: 
Vedr.:  IIS and Tomcat security



Hi

Does JK2 connector pass a security information to Tomcat, like the 
authenticated user? I coudn't find any information about this in JK2 
documentation. In my project, I need that the IIS authenticates the users, and then, 
the Tomcat executes my web application with users and roles 
information.

Thanks

Maurício Kanada



FONT SIZE=1 FACE=Arial___
Vi gør opmærksom på, at denne e-mail kan indeholde fortrolig information. Hvis du ved 
en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen 
ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden 
at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhæftet bilag efter vores overbevisning er fri for virus 
og andre fejl, som kan påvirke computeren eller it-systemet, hvori den modtages og 
læses, åbnes den på modtagerens eget ansvar. Vi påtager os ikke noget ansvar for tab 
og skade, som er opstået i forbindelse med at modtage og bruge e-mailen.
___
Please note that this message may contain confidential information. If you have 
received this message by mistake, please inform the sender of the mistake by sending a 
reply, then delete the message from your system without making, distributing or 
retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and 
other errors that might affect the computer or IT system where it is received and 
read, the recipient opens the message at his or her own risk. We assume no 
responsibility for any loss or damage arising from the receipt or use of this message.
/FONT



Re: Vedr.: IIS and Tomcat security

2004-04-16 Thread Insyde
Thomas

I can't get the 'remote user' information in my web application. I think
that is some wrong configuration. Can you send me  workers2.properties and
jk2.properties example files?

Thanks

Maurício Kanada


- Original Message - 
From: Thomas Nybro Bolding [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 4:28 AM
Subject: Vedr.: IIS and Tomcat security


Yes it does.

request.getRemoteUser() in your JSP gives you the IIS authenticated user.
Make sure your IIS is set to Integrated Windows authentication and insert
request.tomcatAuthentication=false in your jk2.properties file.

/Thomas





Insyde [EMAIL PROTECTED]
15-04-2004 18:06
Besvar venligst til Tomcat Users List


Til:[EMAIL PROTECTED]
cc:
Vedr.:  IIS and Tomcat security



Hi

Does JK2 connector pass a security information to Tomcat, like the
authenticated user? I coudn't find any information about this in JK2
documentation. In my project, I need that the IIS authenticates the users,
and then, the Tomcat executes my web application with users and roles
information.

Thanks

Maurício Kanada



FONT SIZE=1 FACE=Arial___
Vi gør opmærksom på, at denne e-mail kan indeholde fortrolig information.
Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst
informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi
dig slette e-mailen i dit system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhæftet bilag efter vores overbevisning er fri
for virus og andre fejl, som kan påvirke computeren eller it-systemet, hvori
den modtages og læses, åbnes den på modtagerens eget ansvar. Vi påtager os
ikke noget ansvar for tab og skade, som er opstået i forbindelse med at
modtage og bruge e-mailen.
___
Please note that this message may contain confidential information. If you
have received this message by mistake, please inform the sender of the
mistake by sending a reply, then delete the message from your system without
making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from
viruses and other errors that might affect the computer or IT system where
it is received and read, the recipient opens the message at his or her own
risk. We assume no responsibility for any loss or damage arising from the
receipt or use of this message.
/FONT




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



Re: Vedr.: IIS and Tomcat security

2004-04-16 Thread Reynir Þór Hübner
Hi,
Just wanted to add one thing :
If I remember correctly, IIS only returns remoteUser on the 
authenticating request. If you want to use it's userid, you must grabb 
that in the first request and put it into the session, and use it from 
there afterwards.

If my understanding of the matter is correct, the NTLM (windows 
intergrated authentication) the connection is authenticated, but not the 
request as usual, there for the userid is not sent (by the client 
usually MS Internet Explorer) when the connection has been 
authenticated. Then this connection is held untill the browser 
disconnects, or the server disconnects it. That's why you only get the 
userid on the authenticating request (first request into the realm).

hope it helps
[EMAIL PROTECTED]




Insyde wrote:
Thomas

I can't get the 'remote user' information in my web application. I think
that is some wrong configuration. Can you send me  workers2.properties and
jk2.properties example files?
Thanks

Maurício Kanada

- Original Message - 
From: Thomas Nybro Bolding [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 4:28 AM
Subject: Vedr.: IIS and Tomcat security

Yes it does.

request.getRemoteUser() in your JSP gives you the IIS authenticated user.
Make sure your IIS is set to Integrated Windows authentication and insert
request.tomcatAuthentication=false in your jk2.properties file.
/Thomas





Insyde [EMAIL PROTECTED]
15-04-2004 18:06
Besvar venligst til Tomcat Users List
Til:[EMAIL PROTECTED]
cc:
Vedr.:  IIS and Tomcat security


Hi

Does JK2 connector pass a security information to Tomcat, like the
authenticated user? I coudn't find any information about this in JK2
documentation. In my project, I need that the IIS authenticates the users,
and then, the Tomcat executes my web application with users and roles
information.
Thanks

Maurício Kanada



FONT SIZE=1 FACE=Arial___
Vi gør opmærksom på, at denne e-mail kan indeholde fortrolig information.
Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst
informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi
dig slette e-mailen i dit system uden at videresende eller kopiere den.
Selv om e-mailen og ethvert vedhæftet bilag efter vores overbevisning er fri
for virus og andre fejl, som kan påvirke computeren eller it-systemet, hvori
den modtages og læses, åbnes den på modtagerens eget ansvar. Vi påtager os
ikke noget ansvar for tab og skade, som er opstået i forbindelse med at
modtage og bruge e-mailen.
___
Please note that this message may contain confidential information. If you
have received this message by mistake, please inform the sender of the
mistake by sending a reply, then delete the message from your system without
making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from
viruses and other errors that might affect the computer or IT system where
it is received and read, the recipient opens the message at his or her own
risk. We assume no responsibility for any loss or damage arising from the
receipt or use of this message.
/FONT


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


IIS and Tomcat security

2004-04-15 Thread Insyde
Hi

Does JK2 connector pass a security information to Tomcat, like the authenticated user? 
I coudn't find any information about this in JK2 documentation. In my project, I need 
that the IIS authenticates the users, and then, the Tomcat executes my web application 
with users and roles information.

Thanks

Maurício Kanada

Re: Securing SSL from IIS to Tomcat

2004-03-02 Thread Christopher Schultz
Antonio,

Nice demonstration. I only miss the seriously part, which is covered 
partially by the term expensive ;-)
Right. :)

I wanted only to add IPSEC as another possible scenario. It has less 
(no) TCP overhead than a SSL tunnel. And it works without even changing 
your config files.
Now that's an idea. I don't even know how IPSEC works. However, I think 
it might be a UNIX-only thang (and he's on win32). However, the point 
you make about VPNs is a good one. I think you can't 'avoid' the TCP 
overhead, though, since this stuff runs over something which has to have 
some kind of error-correcting and delivery guarentees like TCP does 
(even if it's not actually implemented using TCP).

At any rate, you could tunnel your JDBC connections through some other 
kind of secure connection.

-chris


signature.asc
Description: OpenPGP digital signature


RE: Securing SSL from IIS to Tomcat

2004-03-02 Thread Ralph Einfeldt

IPSec is available under windows. 
(We are using it to build up linux/windows vpn's )

Some other solutions:
http://openvpn.sourceforge.net/
http://tinc.nl.linux.org/
http://sites.inka.de/sites/bigred/devel/cipe.html


 -Original Message-
 From: Christopher Schultz [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 02, 2004 3:40 PM
 To: Tomcat Users List
 Subject: Re: Securing SSL from IIS to Tomcat
 
 
 
 I don't even know how IPSEC works. 
 However, I think it might be a UNIX-only thang (and he's 
 on win32). However, the point you make about VPNs is a 
 good one. 

 At any rate, you could tunnel your JDBC connections through 
 some other kind of secure connection.


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



Securing SSL from IIS to Tomcat

2004-03-01 Thread John MccLain
Since IIS decrypts the request and passes it unencrypted to Tomcat, How do I
encrypt the request so that all communication from IIS with Tomcat is
secure???


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



Re: Securing SSL from IIS to Tomcat

2004-03-01 Thread Antonio Fiol Bonnín
John MccLain wrote:

Since IIS decrypts the request and passes it unencrypted to Tomcat, How do I
encrypt the request so that all communication from IIS with Tomcat is
secure???
 

Do you really need it? It would probably affect your performance 
seriously. (No, I cannot prove that statement...)

Other than that, I cannot be of much help. I'm sure I have read 
something about a certain AJP 1.4 which could accomplish your needs.

Latest reference I've been able to google for is from Tomcat 4.1 JK 
connector (deprecated). But I have not searched a lot.

Hope you can go on searching further with this little bit of info.

Antonio Fiol


smime.p7s
Description: S/MIME Cryptographic Signature


RE: Securing SSL from IIS to Tomcat

2004-03-01 Thread Kannan Sundararajan
I doubt any has that kind of need. If that is the case, then everyone will
pull their brains out. 

If we are worried about the IIS having SSL with Tomcat, then how about SSL
between database and Tomcat. How about query tools used in database (
secured query tool? , I dont know who has like this). 

I would not worry, if the Tomcat behind firwall, and behind the IIS (SSL).





-Original Message-
From: Antonio Fiol Bonnín [mailto:[EMAIL PROTECTED]
Sent: Monday, March 01, 2004 2:32 PM
To: Tomcat Users List
Subject: Re: Securing SSL from IIS to Tomcat


John MccLain wrote:

Since IIS decrypts the request and passes it unencrypted to Tomcat, How do
I
encrypt the request so that all communication from IIS with Tomcat is
secure???
  


Do you really need it? It would probably affect your performance 
seriously. (No, I cannot prove that statement...)

Other than that, I cannot be of much help. I'm sure I have read 
something about a certain AJP 1.4 which could accomplish your needs.

Latest reference I've been able to google for is from Tomcat 4.1 JK 
connector (deprecated). But I have not searched a lot.

Hope you can go on searching further with this little bit of info.


Antonio Fiol

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



Re: Securing SSL from IIS to Tomcat

2004-03-01 Thread Christopher Schultz
Antonio,

Since IIS decrypts the request and passes it unencrypted to Tomcat,
 How do I encrypt the request so that all communication from IIS
with Tomcat is secure???
Do you really need it? It would probably affect your performance 
seriously. (No, I cannot prove that statement...)
I can prove this statement. :)

Connection latency = network transfer time + 2 * (TCP overhead +
encryption/decryption)
(Twice since both clients have these overheads).

When the encryption/decryption term becomes zero (removal of SSL),
performance increases. The assertion that encryption/decryption takes
more than zero time is left as an exercise to the reader. (Oh, and SSL
acceleration hardware is expensive, which would seem silly if the ops
were trivial).
Latest reference I've been able to google for is from Tomcat 4.1 JK 
connector (deprecated). But I have not searched a lot.
I don't think that the JK mod is deprecated. In fact, it's suggested for
production installations with Apache 1.3 and 2.0 (and IIS, I guess).
(From the other followup post):
I doubt any has that kind of need. If that is the case, then everyone will
pull their brains out. 
Often, there's a need. What if you don't trust your own network?

If we are worried about the IIS having SSL with Tomcat, then how about SSL
between database and Tomcat. How about query tools used in database (
secured query tool? , I dont know who has like this).
Some people need this type of stuff. Let's say that your database server 
is on another network, and you need confidential transfers?

I would not worry, if the Tomcat behind firwall, and behind the IIS (SSL).
I would still worry. For example, all of our hardware is hosted by a 
data center. We get all kinds of M$ virus crap spewing into our syslogs 
every single day. We get SMB traffic logs. We get all kinds of crap. 
There's nothing stopping me from running a packet sniffer on my 
machines, which would compromise the entire network if SSL were not 
being used. (Fortunately, each app is small enough that we can runn both 
 the app and db on the same machine and avoid those security concerns).

The JK documentation says nothing about SSL (other than forwarding SSL 
information from thr web server to Tomcat). I assert that you have two 
options:

1. Use Tomcat standalone (why not? do you have a huge amount of 
non-dynamic content? If not, consider Tomcat standalone)

2. Set up an SSL tunnel using your favorite ssh software. OpenSSH is 
available for win32 (at least through cygwin). You can punch through 
pretty much any network and firewall (as long as they allow SSH). All 
the data is encrypted. Most ssh clients/servers also support compression 
as well, which /might/ help offset the performance penalty of encryption 
(due to lower network transfer times).

Good luck.

-chris



signature.asc
Description: OpenPGP digital signature


Re: Securing SSL from IIS to Tomcat

2004-03-01 Thread Antonio Fiol Bonnín
Hi,

Nice demonstration. I only miss the seriously part, which is covered 
partially by the term expensive ;-)

I wanted only to add IPSEC as another possible scenario. It has less 
(no) TCP overhead than a SSL tunnel. And it works without even changing 
your config files.

Antonio Fiol



Christopher Schultz wrote:

Antonio,

Since IIS decrypts the request and passes it unencrypted to Tomcat,
 How do I encrypt the request so that all communication from IIS
with Tomcat is secure???


Do you really need it? It would probably affect your performance 
seriously. (No, I cannot prove that statement...)


I can prove this statement. :)

Connection latency = network transfer time + 2 * (TCP overhead +
encryption/decryption)
(Twice since both clients have these overheads).

When the encryption/decryption term becomes zero (removal of SSL),
performance increases. The assertion that encryption/decryption takes
more than zero time is left as an exercise to the reader. (Oh, and SSL
acceleration hardware is expensive, which would seem silly if the ops
were trivial).
Latest reference I've been able to google for is from Tomcat 4.1 JK 
connector (deprecated). But I have not searched a lot.


I don't think that the JK mod is deprecated. In fact, it's suggested for
production installations with Apache 1.3 and 2.0 (and IIS, I guess).
(From the other followup post):

I doubt any has that kind of need. If that is the case, then everyone 
will
pull their brains out. 


Often, there's a need. What if you don't trust your own network?

If we are worried about the IIS having SSL with Tomcat, then how 
about SSL
between database and Tomcat. How about query tools used in database (
secured query tool? , I dont know who has like this).


Some people need this type of stuff. Let's say that your database 
server is on another network, and you need confidential transfers?

I would not worry, if the Tomcat behind firwall, and behind the IIS 
(SSL).


I would still worry. For example, all of our hardware is hosted by a 
data center. We get all kinds of M$ virus crap spewing into our 
syslogs every single day. We get SMB traffic logs. We get all kinds of 
crap. There's nothing stopping me from running a packet sniffer on my 
machines, which would compromise the entire network if SSL were not 
being used. (Fortunately, each app is small enough that we can runn 
both  the app and db on the same machine and avoid those security 
concerns).

The JK documentation says nothing about SSL (other than forwarding SSL 
information from thr web server to Tomcat). I assert that you have two 
options:

1. Use Tomcat standalone (why not? do you have a huge amount of 
non-dynamic content? If not, consider Tomcat standalone)

2. Set up an SSL tunnel using your favorite ssh software. OpenSSH is 
available for win32 (at least through cygwin). You can punch through 
pretty much any network and firewall (as long as they allow SSH). All 
the data is encrypted. Most ssh clients/servers also support 
compression as well, which /might/ help offset the performance penalty 
of encryption (due to lower network transfer times).

Good luck.

-chris




smime.p7s
Description: S/MIME Cryptographic Signature


ssl from IIS to Tomcat question

2004-02-26 Thread John MccLain
WE have configured IIS to use SSL over https and to redirect JSP{/servlet
requests to Tomcat. Howevert, I understand that from IIS to Tomcat, the
request is made decrypted clear text. How can I setup Tomcat and IIS to use
SSL roundtrip from client-IIS-Tomcat and back a gain???


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



Re: Using IIS with Tomcat 4.1.29 (tomcat using port 1977)

2004-02-22 Thread George Hester
No it doesn't matter:

Use the redirector found here:

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm

-- 
George Hester
__
Sara Murillo [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 Hi,
 
 I'm trying to get Tomcat and IIS working together.
 
 I have Tomcat using port 1977 because port 8080 is already in use by Oracle.
 
 I've attempted to get everything working (by following steps I've found 
 online).
 
 So far, no luck.
 
 http://localhost:1977.takes me to Tomcat's index page
 http://localhost...STILL gives me a page not found
 
 How can I get Tomcat working with IIS when Tomcat is using a port other than 
 8080?  Does it even matter that I'm not using port 8080?
 
 Any help would be greatly appreciated.
 
 Thanks,
 Sara
 
 _
 Store more e-mails with MSN Hotmail Extra Storage - 4 plans to choose from! 
 http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/


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



Using IIS with Tomcat 4.1.29 (tomcat using port 1977)

2004-02-19 Thread Sara Murillo
Hi,

I'm trying to get Tomcat and IIS working together.

I have Tomcat using port 1977 because port 8080 is already in use by Oracle.

I've attempted to get everything working (by following steps I've found 
online).

So far, no luck.

http://localhost:1977.takes me to Tomcat's index page
http://localhost...STILL gives me a page not found
How can I get Tomcat working with IIS when Tomcat is using a port other than 
8080?  Does it even matter that I'm not using port 8080?

Any help would be greatly appreciated.

Thanks,
Sara
_
Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from! 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/

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


IIS and Tomcat (help?)

2004-02-17 Thread Rob McGrath \(Rite Aid Corp\)

Can IIS and Tomcat run together on port 443? By assigning 2 IP addresses in
the configuration which have 2 separate domains controlled by a DNS Server,
can they both run at the same time? I am looking for a way in Server.xml  to
tell Tomcat which IP it is assigned to. Currently, we are attempting w/ only
one Nic card. it could be done later with 2. 

 

If so, is there a simple way to do this? Or, am I over analyzing? Thanks!!!

 

Rob


__
Disclaimer: This e-mail message is intended only for the personal use of 
the recipient(s) named above.  If you are not an intended recipient, you 
may not review, copy or distribute this message. If you have received this
communication in error, please notify us immediately by e-mail and delete 
the original message.
This e-mail expresses views only of the sender, which are not to be 
attributed to Rite Aid Corporation and may not be copied or distributed 
without this statement.


IIS and Tomcat (help?)

2004-02-17 Thread Tom . Williams

Return Receipt
   
Your  IIS and Tomcat (help?)   
document   
:  
   
was   Tom Williams/HQ/dssi 
received   
by:
   
at:   02/17/2004 03:56:28 PM   
   





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



Dual Web Apps (IIS), Dual Tomcat instances, How-to?

2004-01-23 Thread KKolle
Hi,

Tomcat: 4.1
IIS: 5.0
OS: Windows2000

I currently have a web app. configured in IIS to talk to a Tomcat instance,
fine, no problem. But, now, I want to setup a development web app (instance) and
a separate QA/Testing web app (instance).

The ISAPI_Redirector2.dll has registry settings. In the registry, one of the
entries needs to point to the location of the installed Tomcat. So, when I
configure IIS with two different web apps, I would need two different installed
Tomcat instances, correct?

When I installed a new Tomcat (using the .exe), it configured the services to
the same name as my original Tomcat instance. So, in the services window, I had
a Tomcat 4.1 service. Now, I still have that same service, but it's still
pointing to my original Tomcat instance. I was expecting a 2nd service for my
2nd Tomcat instance.

Are there instructions for manually installing a specific service?

SORRY, more than one question here:
Also, when I manually started my 2nd Tomcat instance (while my 1st instance was
running), I got a JVM Bind to port message. It said that port 8009 was already
in use. I changed all port numbers in the server.xml (I just added one to each
number). Those new ports are open on the box. Any ideas?

Thanks,
Kevin



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



JK2 ISAPI between IIS and Tomcat 5 has file upload bug?

2004-01-16 Thread Allistair Crossley
Hi Guys,

I am using Commons File Uploader to post a file to my Struts app running on TC 5.

If I post a file upload to Tomcat directly, e.g http://server:8080/upload.do it works 
fine

If I post a file through our IIS - JK2 - Tomcat method, e.g http://server/upload.do 
it fails with a Stream terminated unexpectedly.

The code below is what I am doing - this is not at fault .. it seems to be going 
through IIS that is killing my upload..

if (FileUpload.isMultipartContent(request)) {
  DiskFileUpload upload = new DiskFileUpload();

  List items = null;
  try {
logger.info(parsing multipart form request);
items = upload.parseRequest(request);
  } catch (FileUploadException fuE) {
logger.error(fuE.getMessage());
break DO_CHECKIN;
}


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


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



tomcat pass through to IIS (not IIS to tomcat)

2004-01-14 Thread Chris Morrisette
Hi,

  We are using tomcat with struts for our main web application, but have
decided to use SQL Sever 2000 Reporting Services as our reporting tool.
In order to do this, IIS needs to be available to the web.

So, is there anyway to make Tomcat forward all resources under a certain
directory to IIS?  (for instance http://localhost/index.jsp goes to Tomcat,
but http://localhost/reports/report1 goes to IIS).

I've searched on the web and in the archives, but have only found solutions
for vice versa.

Thanks a lot,

-Chris



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



RE: tomcat pass through to IIS (not IIS to tomcat)

2004-01-14 Thread Reynir Þór Hübner
Hi, 

I use mod_proxy in Apache to control flow with in one machine. 

By using this, I can decide if I want Apache do render some requests or
forward some requests to IIS, or some of the multiple tomcat instances. 

I use base the decisions on where to render the requests on the host
name, e.g. I use VirtualHost mappings, but not one subfolder of a
website. I guess it's possible I've never tried. 

So a typical virtual host configuration in my server that redirects all
requests for some specific host on to port 8080 (for example some tomcat
instance) : 

VirtualHost *
ServerName www.domain.com
ProxyPass / http://www.domain.com:8080/
ProxyPassReverse / http://www.domain.com:8080/
/VirtualHost

You can also decide not to forward some paths by using :

ProxyPass /somepath !

Then you could map those paths into some other server running on the
same machine on different port, such as IIS. 
That I haven't done my self, so I leave it to you to find out how that's
done. 

Hope it helps
-reynir


 -Original Message-
 From: Chris Morrisette [mailto:[EMAIL PROTECTED] 
 Sent: 14. janúar 2004 19:08
 To: [EMAIL PROTECTED]
 Subject: tomcat pass through to IIS (not IIS to tomcat)
 
 
 Hi,
 
   We are using tomcat with struts for our main web 
 application, but have decided to use SQL Sever 2000 Reporting 
 Services as our reporting tool. In order to do this, IIS 
 needs to be available to the web.
 
 So, is there anyway to make Tomcat forward all resources 
 under a certain directory to IIS?  (for instance 
http://localhost/index.jsp goes to Tomcat, but
http://localhost/reports/report1 goes to IIS).

I've searched on the web and in the archives, but have only found
solutions for vice versa.

Thanks a lot,

-Chris



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



Re: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-09 Thread Bill Barker
I'm going to take a stab-in-the-dark, and guess that you didn't change the
value of the 'redirectPort' on the Connector to be '443'.

cprs-develop [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello All:

I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000
Professional configured to serve the JSP pages using the ISAPI
redirector.

I have also configured SSL support using the Windows IIS management
console.

Currently JSP pages can be accessed using the
http://SomeHost/SomeDirectory or https://SomeHost/SomeDirectory URL.

I am trying to specify URLs that should be available only through SSL.
For this, I have added the security-constraint section in web.xml for
the relevant webapp directory.

web-app
. . . . .
/welcome-file-list

!-- All resources under the /SSL directory should only be available via
SSL --

security-constraint
web-resource-collection
web-resource-nameSSL/web-resource-name
url-pattern/SSL/*/url-pattern
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint

/web-app

Now, when I try to access the resources under the /SSL directory, (using
http or https) IIS gives me a Page not found error message.

However, if I disable IIS and run Tomcat independently, directory
security is enabled, and everything works fine, i.e., if I use
http://SomeHost/webapp/SSL, it automatically redirects to
https://SomeHost/webapp/SSL.

I found an earlier thread
(http://mikal.org/interests/java/tomcat/archive/view?mesg=44502) which
mentions that the ISAPI redirector may be to blame, but I am not sure if
it applies in this scenario.

Any help would be greatly appreciated.

Thanks,
Vic




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



Enabling SSL on specific URLs using IIS and Tomcat

2004-01-08 Thread cprs-develop
Hello All:

I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000
Professional configured to serve the JSP pages using the ISAPI
redirector. 

I have also configured SSL support using the Windows IIS management
console. 

Currently JSP pages can be accessed using the
http://SomeHost/SomeDirectory or https://SomeHost/SomeDirectory URL.

I am trying to specify URLs that should be available only through SSL.
For this, I have added the security-constraint section in web.xml for
the relevant webapp directory.

web-app
. . . . .
/welcome-file-list

!-- All resources under the /SSL directory should only be available via
SSL --

security-constraint
web-resource-collection
web-resource-nameSSL/web-resource-name
url-pattern/SSL/*/url-pattern
/web-resource-collection
user-data-constraint
transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint
  
/web-app

Now, when I try to access the resources under the /SSL directory, (using
http or https) IIS gives me a Page not found error message. 

However, if I disable IIS and run Tomcat independently, directory
security is enabled, and everything works fine, i.e., if I use
http://SomeHost/webapp/SSL, it automatically redirects to
https://SomeHost/webapp/SSL.

I found an earlier thread
(http://mikal.org/interests/java/tomcat/archive/view?mesg=44502) which
mentions that the ISAPI redirector may be to blame, but I am not sure if
it applies in this scenario.

Any help would be greatly appreciated.

Thanks,
Vic




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



RE: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-08 Thread Shapira, Yoav

Howdy,
Almost certainly the ISAPI Redirector's fault, since as you mention
Tomcat works fine by itself.  What if you only allow https access to
secure URLs?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: cprs-develop [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: Enabling SSL on specific URLs using IIS and Tomcat
Importance: High

Hello All:

I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000
Professional configured to serve the JSP pages using the ISAPI
redirector.

I have also configured SSL support using the Windows IIS management
console.

Currently JSP pages can be accessed using the
http://SomeHost/SomeDirectory or https://SomeHost/SomeDirectory URL.

I am trying to specify URLs that should be available only through SSL.
For this, I have added the security-constraint section in web.xml for
the relevant webapp directory.

web-app
. . . . .
/welcome-file-list

!-- All resources under the /SSL directory should only be available
via
SSL --

security-constraint
web-resource-collection
   web-resource-nameSSL/web-resource-name
   url-pattern/SSL/*/url-pattern
/web-resource-collection
user-data-constraint
   transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint

/web-app

Now, when I try to access the resources under the /SSL directory,
(using
http or https) IIS gives me a Page not found error message.

However, if I disable IIS and run Tomcat independently, directory
security is enabled, and everything works fine, i.e., if I use
http://SomeHost/webapp/SSL, it automatically redirects to
https://SomeHost/webapp/SSL.

I found an earlier thread
(http://mikal.org/interests/java/tomcat/archive/view?mesg=44502) which
mentions that the ISAPI redirector may be to blame, but I am not sure
if
it applies in this scenario.

Any help would be greatly appreciated.

Thanks,
Vic




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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-08 Thread cprs-develop
Hi:

That's what I have been trying to do. If you can recommend any alternate
method to allow only https access to secure URLs, I would greatly
appreciate it.

Thanks,
Vic


-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 08, 2004 2:38 PM
To: Tomcat Users List
Subject: RE: Enabling SSL on specific URLs using IIS and Tomcat



Howdy,
Almost certainly the ISAPI Redirector's fault, since as you mention
Tomcat works fine by itself.  What if you only allow https access to
secure URLs?

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: cprs-develop [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:33 PM
To: [EMAIL PROTECTED]
Subject: Enabling SSL on specific URLs using IIS and Tomcat
Importance: High

Hello All:

I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000 
Professional configured to serve the JSP pages using the ISAPI 
redirector.

I have also configured SSL support using the Windows IIS management 
console.

Currently JSP pages can be accessed using the 
http://SomeHost/SomeDirectory or https://SomeHost/SomeDirectory URL.

I am trying to specify URLs that should be available only through SSL. 
For this, I have added the security-constraint section in web.xml for

the relevant webapp directory.

web-app
. . . . .
/welcome-file-list

!-- All resources under the /SSL directory should only be available
via
SSL --

security-constraint
web-resource-collection
   web-resource-nameSSL/web-resource-name
   url-pattern/SSL/*/url-pattern
/web-resource-collection
user-data-constraint
   transport-guaranteeCONFIDENTIAL/transport-guarantee
/user-data-constraint
  /security-constraint

/web-app

Now, when I try to access the resources under the /SSL directory,
(using
http or https) IIS gives me a Page not found error message.

However, if I disable IIS and run Tomcat independently, directory 
security is enabled, and everything works fine, i.e., if I use 
http://SomeHost/webapp/SSL, it automatically redirects to 
https://SomeHost/webapp/SSL.

I found an earlier thread
(http://mikal.org/interests/java/tomcat/archive/view?mesg=44502) which 
mentions that the ISAPI redirector may be to blame, but I am not sure
if
it applies in this scenario.

Any help would be greatly appreciated.

Thanks,
Vic




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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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



RE: Enabling SSL on specific URLs using IIS and Tomcat

2004-01-08 Thread Oscar Carrillo
This is one of the reasons why I like to use Apache in front of Tomcat. 
It's pretty easy to do with Apache. Not to mention IIS is a bear to get to 
work under Linux ;) I would imagine there is a similar config for IIS 
though.

Oscar

On Thu, 8 Jan 2004, cprs-develop wrote:

 Hi:
 
 That's what I have been trying to do. If you can recommend any alternate
 method to allow only https access to secure URLs, I would greatly
 appreciate it.
 
 Thanks,
 Vic
 
 
 -Original Message-
 From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, January 08, 2004 2:38 PM
 To: Tomcat Users List
 Subject: RE: Enabling SSL on specific URLs using IIS and Tomcat
 
 
 
 Howdy,
 Almost certainly the ISAPI Redirector's fault, since as you mention
 Tomcat works fine by itself.  What if you only allow https access to
 secure URLs?
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: cprs-develop [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 08, 2004 2:33 PM
 To: [EMAIL PROTECTED]
 Subject: Enabling SSL on specific URLs using IIS and Tomcat
 Importance: High
 
 Hello All:
 
 I am running Apache Tomcat 4.1.27, with IIS 5.0 on Windows 2000 
 Professional configured to serve the JSP pages using the ISAPI 
 redirector.
 
 I have also configured SSL support using the Windows IIS management 
 console.
 
 Currently JSP pages can be accessed using the 
 http://SomeHost/SomeDirectory or https://SomeHost/SomeDirectory URL.
 
 I am trying to specify URLs that should be available only through SSL. 
 For this, I have added the security-constraint section in web.xml for
 
 the relevant webapp directory.
 
 web-app
 . . . . .
 /welcome-file-list
 
 !-- All resources under the /SSL directory should only be available
 via
 SSL --
 
 security-constraint
 web-resource-collection
  web-resource-nameSSL/web-resource-name
  url-pattern/SSL/*/url-pattern
 /web-resource-collection
 user-data-constraint
  transport-guaranteeCONFIDENTIAL/transport-guarantee
 /user-data-constraint
   /security-constraint
 
 /web-app
 
 Now, when I try to access the resources under the /SSL directory,
 (using
 http or https) IIS gives me a Page not found error message.
 
 However, if I disable IIS and run Tomcat independently, directory 
 security is enabled, and everything works fine, i.e., if I use 
 http://SomeHost/webapp/SSL, it automatically redirects to 
 https://SomeHost/webapp/SSL.
 
 I found an earlier thread
 (http://mikal.org/interests/java/tomcat/archive/view?mesg=44502) which 
 mentions that the ISAPI redirector may be to blame, but I am not sure
 if
 it applies in this scenario.
 
 Any help would be greatly appreciated.
 
 Thanks,
 Vic
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a confidential business
 communication, and may contain information that is confidential,
 proprietary and/or privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not be saved, copied,
 printed, disclosed or used by anyone else.  If you are not the(an)
 intended recipient, please immediately delete this e-mail from your
 computer system and notify the sender.  Thank you.
 
 
 -
 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]
 


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



RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-28 Thread Bhavdeep Sharma
Hi,

After not able to connect IIS5.0 on Win2K with Tomcat 4.0, JDK 1.4 using
JK1.2
I tried to connect IIS 5 on Win2K with Tomcat 3.2, JDK 1.3. This
configuration used to worked on my system in the past. But today I am not
able run even this.

The contents of my isapi.log are given below. Any clue will be helpful.
P.S. Both Tomcat and IIS run fine and JSP page is served fine if run without
IIS.


Isapi.log:
[Fri Nov 28 19:54:30 2003]  [jk_uri_worker_map.c (464)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Fri Nov 28 19:54:30 2003]  [jk_uri_worker_map.c (529)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp12 - *.jsp
[Fri Nov 28 19:54:30 2003]  [jk_isapi_plugin.c (721)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp12
[Fri Nov 28 19:54:30 2003]  [jk_isapi_plugin.c (784)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/jakarta/isapi_redirect.dll] is points to the web-inf directory
[jk_isapi_plugin.c (517)]: HttpExtensionProc started
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_isapi_plugin.c (539)]: HttpExtensionProc got a worker for name ajp12
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 2440
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 2440
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 2440
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
sequence
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
mark
[jk_ajp12_worker.c (477)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (493)]: Into ajpv12_handle_response
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Status: 404 Not
Found
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Status=404 Not Found
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Type:
text/html
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read
Content-Type=text/html
[jk_ajp12_worker.c (547)]: ajpv12_handle_response, allocating header arrays
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Content-Length: 201
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read Content-Length=201
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read Servlet-Engine:
Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0; Windows 2000 5.0
x86; java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (535)]: ajpv12_handle_response, read
Servlet-Engine=Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0;
Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
[jk_ajp12_worker.c (507)]: ajpv12_handle_response, read 
[jk_ajp12_worker.c (509)]: ajpv12_handle_response, headers are done
[jk_ajp12_worker.c (568)]: ajpv12_handle_response, starting response
[jk_isapi_plugin.c (201)]: Into jk_ws_service_t::start_response
[jk_ajp12_worker.c (579)]: ajpv12_handle_response, reading response body
[jk_isapi_plugin.c (335)]: Into jk_ws_service_t::write
[jk_ajp12_worker.c (595)]: ajpv12_handle_response, response body is done
[jk_ajp12_worker.c (607)]: ajpv12_handle_response done
[jk_isapi_plugin.c (551)]: HttpExtensionProc service() returned OK
[jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done

Thanks
Bhavdeep

-Original Message-
From: Wendell Holmes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 2:04 AM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector


Looks like you've set up a worker for ajp12 instead of ajp13.

[jk_ajp12_worker.c (242)]: Into
jk_worker_t::get_endpoint


Wendell


-Original Message-
From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 7:21 AM
To: Tomcat Users List
Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


Hi all,

I am running tomcat 4.0 as service on Win 2K
I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
(isapi_redirect_1.2.5.dll)

I try to access the sample JSP page using IIS

RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-27 Thread Bhavdeep Sharma
Thanks all (especially Walter do Valle, Wendell Holmes, Stphane Brogi) for
the help. I will check on the link and try what they suggest.

Just an update that now I am getting the following error.

/jakarta/isapi_redirect_1.2.5.dll


type Status report
message /jakarta/isapi_redirect_1.2.5.dll
description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is
not available.

regards,
Bhavdeep

-Original Message-
From: Stphane Brogi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 9:29 PM
To: Tomcat Users List
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector


You will find more infos here.

http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html

Remember to restart iis and tomcat after modify properties files
(workers.properties; uriworkermap.properties)


Stphane Brogi

-Message d'origine-
De : Walter do Valle [mailto:[EMAIL PROTECTED]
Envoy : mercredi 26 novembre 2003 12:48
 : Tomcat Users List
Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector



Try this

It helps me a lot.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message -
  From: Bhavdeep Sharma
  To: Tomcat Users List
  Sent: Tuesday, November 25, 2003 11:21 AM
  Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


  Hi all,

  I am running tomcat 4.0 as service on Win 2K
  I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
  (isapi_redirect_1.2.5.dll)

  I try to access the sample JSP page using IIS and get the error Page
cannot
  be displayed
  The same JSP page works fine if I access it directly from Tomcat.
  I have AJP 1.3 entry in server.xml file as un-commented.

  To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
  service and then try to access the JSP page from IIS. I still get exactly
  the same error.
  Even the ISAPI log is also same irrespective of that Tomcat service is
  running or not.

  The content of the ISAPI log is pasted bellow.

  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
  Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/bhsharma/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done without a match
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
  test Default redirection of /examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -
*.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to
ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc
check
  if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into
wc_get_worker_for_name
  ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
  done  found a worker
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc
got
  a worker for name ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
  jk_worker_t::get_endpoint
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
  jk_endpoint_t::service
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
  connect socket = 2852
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
  connect ret = -1
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket,
connect()
  failed errno = 61
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
  jk_endpoint_t::service, sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
  jk_endpoint_t::service, Error sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
  error, service() failed
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
  jk_endpoint_t::done


  I searched the Google on jk_open_socket, connect() failed errno = 61.
Got
  similarly faced problem but not able to get/understand the solution that
  will work for me

Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-27 Thread Antony Paul
Hi Bhavdeep Sharma,
I tested the sample given at the link
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm. I downloaded the zip
file and configured IIS as specified in the docs. It works fine. But I dont
know it is JK2 or JK. One thing to remember is you have to put the DLL in
the bin directory. Putting it at other places wont work. After this I
configured as per the docs in
http://localhost/tomcat-docs/jk2/jk/iishowto.html. Again here you have to
put the DLL in win32\i386 directory.

Antony Paul

- Original Message -
From: Bhavdeep Sharma [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, November 27, 2003 6:06 PM
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


Thanks all (especially Walter do Valle, Wendell Holmes, Stphane Brogi) for
the help. I will check on the link and try what they suggest.

Just an update that now I am getting the following error.

/jakarta/isapi_redirect_1.2.5.dll


type Status report
message /jakarta/isapi_redirect_1.2.5.dll
description The requested resource (/jakarta/isapi_redirect_1.2.5.dll) is
not available.

regards,
Bhavdeep

-Original Message-
From: Stphane Brogi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 9:29 PM
To: Tomcat Users List
Subject: RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector


You will find more infos here.

http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html

Remember to restart iis and tomcat after modify properties files
(workers.properties; uriworkermap.properties)


Stphane Brogi

-Message d'origine-
De : Walter do Valle [mailto:[EMAIL PROTECTED]
Envoy : mercredi 26 novembre 2003 12:48
 : Tomcat Users List
Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector



Try this

It helps me a lot.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message -
  From: Bhavdeep Sharma
  To: Tomcat Users List
  Sent: Tuesday, November 25, 2003 11:21 AM
  Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


  Hi all,

  I am running tomcat 4.0 as service on Win 2K
  I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
  (isapi_redirect_1.2.5.dll)

  I try to access the sample JSP page using IIS and get the error Page
cannot
  be displayed
  The same JSP page works fine if I access it directly from Tomcat.
  I have AJP 1.3 entry in server.xml file as un-commented.

  To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
  service and then try to access the JSP page from IIS. I still get exactly
  the same error.
  Even the ISAPI log is also same irrespective of that Tomcat service is
  running or not.

  The content of the ISAPI log is pasted bellow.

  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
  Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/bhsharma/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done without a match
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
  test Default redirection of /examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -
*.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to
ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc
check
  if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into
wc_get_worker_for_name
  ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
  done  found a worker
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc
got
  a worker for name ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
  jk_worker_t::get_endpoint
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
  jk_endpoint_t::service
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
  connect

Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-26 Thread Walter do Valle

Try this

It helps me a lot.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message - 
  From: Bhavdeep Sharma 
  To: Tomcat Users List 
  Sent: Tuesday, November 25, 2003 11:21 AM
  Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 
connector


  Hi all,

  I am running tomcat 4.0 as service on Win 2K
  I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
  (isapi_redirect_1.2.5.dll)

  I try to access the sample JSP page using IIS and get the error Page cannot
  be displayed 
  The same JSP page works fine if I access it directly from Tomcat.
  I have AJP 1.3 entry in server.xml file as un-commented.

  To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
  service and then try to access the JSP page from IIS. I still get exactly
  the same error. 
  Even the ISAPI log is also same irrespective of that Tomcat service is
  running or not.

  The content of the ISAPI log is pasted bellow. 

  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
  Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/bhsharma/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done without a match
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
  test Default redirection of /examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check
  if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
  ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
  done  found a worker
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got
  a worker for name ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
  jk_worker_t::get_endpoint
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
  jk_endpoint_t::service
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
  connect socket = 2852
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
  connect ret = -1
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket, connect()
  failed errno = 61
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
  jk_endpoint_t::service, sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
  jk_endpoint_t::service, Error sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
  error, service() failed
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
  jk_endpoint_t::done


  I searched the Google on jk_open_socket, connect() failed errno = 61. Got
  similarly faced problem but not able to get/understand the solution that
  will work for me.

  Your help is highly appreciated. 

  Thanks,
  Bhavdeep

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


RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-26 Thread Stphane Brogi
You will find more infos here.

http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html

Remember to restart iis and tomcat after modify properties files
(workers.properties; uriworkermap.properties)


Stphane Brogi

-Message d'origine-
De : Walter do Valle [mailto:[EMAIL PROTECTED]
Envoy : mercredi 26 novembre 2003 12:48
 : Tomcat Users List
Objet : Re: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat
on AJP13 connector



Try this

It helps me a lot.

http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm


  - Original Message -
  From: Bhavdeep Sharma
  To: Tomcat Users List
  Sent: Tuesday, November 25, 2003 11:21 AM
  Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


  Hi all,

  I am running tomcat 4.0 as service on Win 2K
  I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
  (isapi_redirect_1.2.5.dll)

  I try to access the sample JSP page using IIS and get the error Page
cannot
  be displayed
  The same JSP page works fine if I access it directly from Tomcat.
  I have AJP 1.3 entry in server.xml file as un-commented.

  To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
  service and then try to access the JSP page from IIS. I still get exactly
  the same error.
  Even the ISAPI log is also same irrespective of that Tomcat service is
  running or not.

  The content of the ISAPI log is pasted bellow.

  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
  Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/bhsharma/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
  jk_uri_worker_map_t::map_uri_to_worker, done without a match
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
  test Default redirection of /examples/jsp/num/numguess.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
  URI '/examples/jsp/num/numguess.jsp'
  [Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
  jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 -
*.jsp
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
  [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to
ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc
check
  if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
  started
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into
wc_get_worker_for_name
  ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
  done  found a worker
  [Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc
got
  a worker for name ajp13
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
  jk_worker_t::get_endpoint
  [Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
  jk_endpoint_t::service
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
  [Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
  connect socket = 2852
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
  connect ret = -1
  [Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket,
connect()
  failed errno = 61
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
  jk_endpoint_t::service, sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
  jk_endpoint_t::service, Error sd = -1
  [Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
  error, service() failed
  [Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
  jk_endpoint_t::done


  I searched the Google on jk_open_socket, connect() failed errno = 61.
Got
  similarly faced problem but not able to get/understand the solution that
  will work for me.

  Your help is highly appreciated.

  Thanks,
  Bhavdeep

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



Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-25 Thread Bhavdeep Sharma
Hi all,

I am running tomcat 4.0 as service on Win 2K
I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
(isapi_redirect_1.2.5.dll)

I try to access the sample JSP page using IIS and get the error Page cannot
be displayed 
The same JSP page works fine if I access it directly from Tomcat.
I have AJP 1.3 entry in server.xml file as un-commented.

To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
service and then try to access the JSP page from IIS. I still get exactly
the same error. 
Even the ISAPI log is also same irrespective of that Tomcat service is
running or not.

The content of the ISAPI log is pasted bellow. 

[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/bhsharma/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
started
[Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got
a worker for name ajp13
[Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
jk_worker_t::get_endpoint
[Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
jk_endpoint_t::service
[Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
[Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
connect socket = 2852
[Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
connect ret = -1
[Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket, connect()
failed errno = 61
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
jk_endpoint_t::service, sd = -1
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
jk_endpoint_t::service, Error sd = -1
[Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
error, service() failed
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
jk_endpoint_t::done


I searched the Google on jk_open_socket, connect() failed errno = 61. Got
similarly faced problem but not able to get/understand the solution that
will work for me.

Your help is highly appreciated. 

Thanks,
Bhavdeep

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



RE: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on AJP13 connector

2003-11-25 Thread Wendell Holmes
Looks like you've set up a worker for ajp12 instead of ajp13.

[jk_ajp12_worker.c (242)]: Into
jk_worker_t::get_endpoint


Wendell


-Original Message-
From: Bhavdeep Sharma [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2003 7:21 AM
To: Tomcat Users List
Subject: Tomcat 4 - IIS 5 on Win 2K: Unable to connect IIS to tomcat on
AJP13 connector


Hi all,

I am running tomcat 4.0 as service on Win 2K
I am trying to connect IIS to tomcat on AJP 13 connector using JK1.2
(isapi_redirect_1.2.5.dll)

I try to access the sample JSP page using IIS and get the error Page cannot
be displayed 
The same JSP page works fine if I access it directly from Tomcat.
I have AJP 1.3 entry in server.xml file as un-commented.

To verify that IIS is connecting to Tomcat or not I stopped the Tomcat
service and then try to access the JSP page from IIS. I still get exactly
the same error. 
Even the ISAPI log is also same irrespective of that Tomcat service is
running or not.

The content of the ISAPI log is pasted bellow. 

[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc
Virtual Host redirection of /bhsharma/examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/bhsharma/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc
test Default redirection of /examples/jsp/num/numguess.jsp
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/examples/jsp/num/numguess.jsp'
[Tue Nov 25 17:21:18 2003]  [jk_uri_worker_map.c (558)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc
[/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check
if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc
started
[Tue Nov 25 17:21:18 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
ajp13
[Tue Nov 25 17:21:18 2003]  [jk_worker.c (136)]: wc_get_worker_for_name,
done  found a worker
[Tue Nov 25 17:21:18 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got
a worker for name ajp13
[Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (242)]: Into
jk_worker_t::get_endpoint
[Tue Nov 25 17:21:18 2003]  [jk_ajp12_worker.c (137)]: Into
jk_endpoint_t::service
[Tue Nov 25 17:21:18 2003]  [jk_connect.c (158)]: Into jk_open_socket
[Tue Nov 25 17:21:18 2003]  [jk_connect.c (165)]: jk_open_socket, try to
connect socket = 2852
[Tue Nov 25 17:21:19 2003]  [jk_connect.c (174)]: jk_open_socket, after
connect ret = -1
[Tue Nov 25 17:21:19 2003]  [jk_connect.c (203)]: jk_open_socket, connect()
failed errno = 61
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (151)]: In
jk_endpoint_t::service, sd = -1
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (169)]: In
jk_endpoint_t::service, Error sd = -1
[Tue Nov 25 17:21:19 2003]  [jk_isapi_plugin.c (928)]: HttpExtensionProc
error, service() failed
[Tue Nov 25 17:21:19 2003]  [jk_ajp12_worker.c (180)]: Into
jk_endpoint_t::done


I searched the Google on jk_open_socket, connect() failed errno = 61. Got
similarly faced problem but not able to get/understand the solution that
will work for me.

Your help is highly appreciated. 

Thanks,
Bhavdeep

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


IIS 5/Tomcat 4.1.24 virtual directories

2003-10-29 Thread rsteck
I am replacing .asp code with .jsp but would like to keep IIS as the
front end and pass requests to Tomcat to process any .jsp.

I have IIS and Tomcat playing together nicely, save one (very important)
thing, the virtual directories need to go away.

I have a website called www.coolsite.com, when that hits the load
balancer, I need it to pass it on to an IP: 10.0.0.1 where IIS is
listening, but it only seems to work when I put in
www.coolsite.com/coolapp (where coolapp is the context on Tomcat). I
have tried changing the IIS home directory to include the coolapp
directory as well as the parent directory (tomcat\webapps) but neither
works (I always have to have the coolapp in the URL).

Any ideas on how to get rid of the coolapp?

Thank you, 
Rich

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



IIS and Tomcat

2003-10-23 Thread Matt Raible
I've integrated Apache with Tomcat on numerous occasions, but never on 
IIS.  We have the following scenario:

1.  We want to have a domain name - i.e. www.myresort.com - that is 
serviced by IIS.
2. We want to map any requests to www.myresort.com to Tomcat's 
/myresort application.

Is this possible? I know it is with Apache, but I'm not sure about IIS. 
From what I've seen from the documentation, IIS has to have some sort 
of indicator, i.e. /jk/*

Thanks,

Matt

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


RE: IIS and Tomcat

2003-10-23 Thread Dionne, Patrice
Yes, you can.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: 22 octobre, 2003 14:50
To: [EMAIL PROTECTED]
Subject: IIS and Tomcat


I've integrated Apache with Tomcat on numerous occasions, but never on 
IIS.  We have the following scenario:

1.  We want to have a domain name - i.e. www.myresort.com - that is 
serviced by IIS.
2. We want to map any requests to www.myresort.com to Tomcat's 
/myresort application.

Is this possible? I know it is with Apache, but I'm not sure about IIS. 
 From what I've seen from the documentation, IIS has to have some sort 
of indicator, i.e. /jk/*

Thanks,

Matt


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



RE: IIS and Tomcat

2003-10-23 Thread Bergan, Mark T - PGPL-5

If you need to have IIS serve static pages as well, you must also create an IIS 
virtual directory (somewhere in the ~tomcat/webapps/myresort folder) which is 
apparently mentioned nowhere.

 -Original Message-
 From: Dionne, Patrice [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 23, 2003 5:57 AM
 To: Tomcat Users List
 Subject: RE: IIS and Tomcat
 
 
 Yes, you can.
 
 http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html
 
 -Original Message-
 From: Matt Raible [mailto:[EMAIL PROTECTED]
 Sent: 22 octobre, 2003 14:50
 To: [EMAIL PROTECTED]
 Subject: IIS and Tomcat
 
 
 I've integrated Apache with Tomcat on numerous occasions, but 
 never on 
 IIS.  We have the following scenario:
 
 1.  We want to have a domain name - i.e. www.myresort.com - that is 
 serviced by IIS.
 2. We want to map any requests to www.myresort.com to Tomcat's 
 /myresort application.
 
 Is this possible? I know it is with Apache, but I'm not sure 
 about IIS. 
  From what I've seen from the documentation, IIS has to have 
 some sort 
 of indicator, i.e. /jk/*
 
 Thanks,
 
 Matt
 
 
 -
 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]
 

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



IIS and Tomcat - can I proxy all requests to a specific app

2003-10-22 Thread Matt Raible
I've integrated Apache with Tomcat on numerous occasions, but never on IIS.
We have the following scenario:

1.  We want to have a domain name - i.e. www.myresort.com - that is serviced
by IIS.
2. We want to map any requests to www.myresort.com to Tomcat's /myresort
application.

Is this possible? I know it is with Apache, but I'm not sure about IIS. From
what I've seen from the documentation, IIS has to have some sort of
indicator, i.e. /jk/*

Thanks,

Matt


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



confused about iis 5.1/tomcat 4.1.27

2003-10-16 Thread Watkins, James
i am using j_security_check with a form based login screen... this works ok,
but here is my problem.
the entry page is a redirect to a secured page based on the referer url, or
the username. this works ok, i have two users, two roles and two acceptable
referer urls. in my web.xml i have 2 security constraints, one on each
destination page

now the problem is this:

if i log in as a user with the wrong role, i get big, ugly 403 error for the
secured page that says  you are not authorized to view this page. that
seems appropriate.

but, if i put:  

error-page
  error-code403/error-code
  location/marketing/incorrectpass.jsp/location  
  /error-page

in the web.xml page

and then do the same thing, i just get a smaller less ugly 403 error
message, but for j_security_check

any ideas?

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



IIS 6.0 + Tomcat... does it work?

2003-10-16 Thread Hart, Justin
Hi, I've been hacking around with getting Tomcat to work with IIS 6.0 all day.  Is 
there a known configuration for this that works?

Justin

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



One solution to the problem with IIS and Tomcat 4.1.24 config

2003-10-09 Thread erlis
Hi all 

 

I got problem trying to configure tomcat4 and IIS. 

The problem was:

When I configure steep by steep just like the iis-tomcat-howto explain
to, the redirector sent itself like the resource to the tomcat container
and as the result I got the ERROR 404  /Jakarta/isapi_redirect.dll is
not available by the tomcat container

 

After many ours I thought that maybe the problem was something wrong in
the parameter that carry the resource. I remembered that I inserted
something in the registry exactly equal to the resource that tomcat was
trying to reach /jakarta/isapi_redirect.dll

 

My solution:

I read again the iis-tomcat-howto and I understand very well what I must
to do, the important section of the iis-tomcat-howto is here:

 

Using the IIS management console, add isapi_redirect.dll as a filter in
your IIS/PWS web site. The name of the filter should reflect its task (I
use the name jakarta), its executable must be our
c:\jakarta-tomcat\bin\win32\i386\isapi_redirect.dll. For PWS,(*HERE
IS WHERE I PUT ALL MY ATTENTION***) you'll need to use regedit and
add/edit the Filter DLLs key under
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters .
This key contains a , separated list of dlls ( full paths ) - you need
to insert the full path to isapi_redirect.dll. 

 

If you read carefully you can see that  ...For PWS, you'll need to use
regedit and add/edit the Filter DLLs... and I wasn't used PWS
(Personal Web Server) I'm using IIS. 

 

Yeahp, when I remove the registry entry all was OK.

 

I really hope you can resolve the problem if you still with that
headache

 

Sicerelly

Lic. In Computer Science  

Erlis Alberto Vidal Santos

 



Configuring IIS 5.0-Tomcat 4.1.24

2003-09-24 Thread N.B.Bopanna
Hi All,
Can  any  one tell me how to configure tomcat with IIS web server?
Any documentation would  be  useful.
Thanks
Bopanna
Sr. Software Engineer,
RCS Technologies,
Bangalore



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



IIS and Tomcat 4

2003-07-15 Thread BBui
Hi, 

I just installed Tomcat4 and IIS.  I have set up IIS to redirect jsps to
Tomcat with the isapi_redirect.dll and the arrow in the IIS property screen
is up and green.

When I accessed a jsp page in my localhost, I get a download confirmation
screen instead of the page being served up.  I can see the jsp ok in my
localhost:8080.  Could any one tell me what I am missing?  

Thanks very much. 

Baoha Bui 
 


* 
This communication may contain information that is proprietary, privileged,
confidential or legally exempt from disclosure.  If you are not a named
addressee, you are notified that you are not authorized to read, print,
retain, copy or disseminate this communication without the consent of the
sender and that doing so may be unlawful. If you have received this
communication in error, please notify the sender via return e-mail and
delete it from your computer. Thank you. St. Jude Medical, Inc. 
*


Re: IIS and Tomcat 4

2003-07-15 Thread Simon Pabst
If the Webserver offers a dynamic page for download, thats usually a sign 
for wrong configuration in the Webserver.
Propably the ISAPI Filter is misconfigured.
See 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html#Configuring%20the%20ISAPI%20Redirector
and 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html#Troubleshooting

At 15:37 15.07.2003 -0500, you wrote:
Hi,

I just installed Tomcat4 and IIS.  I have set up IIS to redirect jsps to
Tomcat with the isapi_redirect.dll and the arrow in the IIS property screen
is up and green.
When I accessed a jsp page in my localhost, I get a download confirmation
screen instead of the page being served up.  I can see the jsp ok in my
localhost:8080.  Could any one tell me what I am missing?
Thanks very much.

Baoha Bui



*
This communication may contain information that is proprietary, privileged,
confidential or legally exempt from disclosure.  If you are not a named
addressee, you are notified that you are not authorized to read, print,
retain, copy or disseminate this communication without the consent of the
sender and that doing so may be unlawful. If you have received this
communication in error, please notify the sender via return e-mail and
delete it from your computer. Thank you. St. Jude Medical, Inc.
*


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


RE: Having a problem with IIS and Tomcat 4.1.24 config (solved)

2003-07-04 Thread Timothée Pourbaix
Hello Jeff,

I read carrefully the post about your problem and I'm happy that it's
solved.
In fact, you just applied another configuration (jk2) between Tomcat and IIS
and did not solved your initial config.
So, for your info, here is how to solve it:

You missed to create the Virtual Directory in IIS. If you refer to
http://www.onjava.com/lpt/a/2829, it is described in steps 4.6 to 4.10.
In the log you provided in your first post, we could see the connector
trying to find 'tomcat' virtual host:
[Sat Jun 07 09:18:40 2003] [jk_uri_worker_map.c (477)]: Attempting to map
URI '/tomcat/isapi_redirect.dll'

That's it!

Timothée Pourbaix

e-Market Architects
Phone:  +32 (0)3 225 34 50
Fax:+32 (0)3 231 01 55
Mobile: +32 (0)473 340 420


e-Mail: [EMAIL PROTECTED]
Web:www.e-MarketArchitects.com


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



RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem - RESOLVED

2003-06-26 Thread Hertenstein Alain
Hi guys,

Well, simply said, the Server Reboot magical solution made it work...
(thanks David for that one)
Now, did all the previous modifications (shm file, etc) also make the JK2
connector work too !? I don't know.

In any case, all URLs are now working fine : http://localhost:8080/examples/
and http://localhost/examples/.

Thanks to all of you who helped me, this is my 2nd day on this list and it
really saved me a lot of time.

For those still stuck with this problem, I would say :
- follow the instructions (those on Apache's web site are complete. Just a
note though : if you want to install the JK2 module, go to the last 2
chapters in the documentation that are -exclusively- reserved to the JK2 and
not the JK1 module, as registry key/values are NOT the same for both modules
! This is something which is not very clear in the Apache documentation),
- DOUBLE-CHECK the registry entries (the red arrow problem is mostly due to
that),
- REBOOT THE SERVER (guess this is IIS who requires it ? Or the Environment
variable as Jason pointed out) !!!

All this should (hopefully) make it work.

I also just noticed that my tomcat installation path has spaces in it (I
kept the initial proposed Apache Group\Tomcat 4.1 path), which some people
say should be avoided. Well on Windows it doesn't seem to cause problem
(maybe on Linux it would), and for me it works fine (for the moment...).
Can someone confirm this ? Thanks a lot.

Regards
Alain

-Message d'origine-
De : Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 17:50
À : Tomcat Users List
Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Can you try a netstat -a and see if your machine is listening on port 8009?
It 
could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo
 ut.

You shouldn't have to reboot after changing a properties file it is only 
environment variables that can be stubborn and require a reboot.

Regards,
-- 
Jason Bainbridge
http://jblinux.org


**
 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. If you have received this email in error please notify
the system manager.
**


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



RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-26 Thread Hertenstein Alain
To answer your questions (maybe it might help others ?) :

- No, no Firewall running
- Yes, I created a blank workers2.properties file and copied the text into
it
- The error page was (don't know the HTTP Error code for it) :
The page cannot be displayed 
The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser
settings. etc

Alain

-Message d'origine-
De : Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 18:23
À : Tomcat Users List
Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Okay silly question time... Are you running any sort of firewall?

Also when you added:

[shm]
file=C:\tomcat4\logs\shm.file
size=1048576

Did you create a blank file for it or has Tomcat created one, if it has its
 hould contain lots of data?

What error is it throwing when trying to access http://localhost/examples/ a

404 or something else?

Regards,
Jason


**
 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. If you have received this email in error please notify
the system manager.
**


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



IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Hi everybody,

Seems like this problem is quite known, so I hope you can help me (after
searching the web and reading Apache docs, I can't figure it out) :

I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server
computer : everything works fine, all pages work (http://localhost for IIS
and http://localhost:8080 for Tomcat, as well as the JSP and Servlets
examples).
After that I followed the instructions on the jakarta web site to install
the JK2 connector : after some trials (and some typo errors from my side in
the Registry...), I finally got that green arrow in the IIS Console
regarding the isapi_redirector2.dll ! Seems everything was working fine,
but...

1) the http://localhost/examples/ page doesn't show up (web error page
instead)
2) in the Event Log, the following error entries appear each time I try to
access the upper URL :

--
Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 

Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed

Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for
ajp13:localhost:8009

Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error...
---

I don't know what to do, I think all configuration is correct but still it
doesn't work.

Can anyone help me please ? Thanks a lot
Alain


**
 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. If you have received this email in error please notify
the system manager.
**


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



RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread David Legg
Do you have an entry for [shm] in your workers2.properties file?  It is
essential that it is present for the JK2 connector to work correctly.  This
didn't appear in any documentation I found.

Most of the error messages you mention are there even in working
configurations so don't worry about them.

Regards,

David Legg
Webmaster - 3Dlabs
Phone: +44 (0)118 982 8254
http://www.3dlabs.com
mailto:[EMAIL PROTECTED]



-Original Message-
From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 14:45
To: 'Tomcat Users List'
Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Hi everybody,

Seems like this problem is quite known, so I hope you can help me (after
searching the web and reading Apache docs, I can't figure it out) :

I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server
computer : everything works fine, all pages work (http://localhost for IIS
and http://localhost:8080 for Tomcat, as well as the JSP and Servlets
examples).
After that I followed the instructions on the jakarta web site to install
the JK2 connector : after some trials (and some typo errors from my side in
the Registry...), I finally got that green arrow in the IIS Console
regarding the isapi_redirector2.dll ! Seems everything was working fine,
but...

1) the http://localhost/examples/ page doesn't show up (web error page
instead)
2) in the Event Log, the following error entries appear each time I try to
access the upper URL :

--
Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009 

Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed

Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for
ajp13:localhost:8009

Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error...
---

I don't know what to do, I think all configuration is correct but still it
doesn't work.

Can anyone help me please ? Thanks a lot
Alain

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



RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Hi David,

No I don't have any, here is what I have in my workers2.properties file :


#Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
-

What is that [shm] entry you mentioned ?

Thanks again,
Alain

-Message d'origine-
De : David Legg [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 16:23
À : 'Tomcat Users List'
Objet : RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Do you have an entry for [shm] in your workers2.properties file?  It is
essential that it is present for the JK2 connector to work correctly.  This
didn't appear in any documentation I found.

Most of the error messages you mention are there even in working
configurations so don't worry about them.

Regards,

David Legg
Webmaster - 3Dlabs
Phone: +44 (0)118 982 8254
http://www.3dlabs.com
mailto:[EMAIL PROTECTED]



-Original Message-
From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 14:45
To: 'Tomcat Users List'
Subject: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Hi everybody,

Seems like this problem is quite known, so I hope you can help me (after
searching the web and reading Apache docs, I can't figure it out) :

I've installed IIS, JDK 1.4.1_01 and Tomcat 4.1.24 on a Win2k Server
computer : everything works fine, all pages work (http://localhost for IIS
and http://localhost:8080 for Tomcat, as well as the JSP and Servlets
examples). After that I followed the instructions on the jakarta web site to
install the JK2 connector : after some trials (and some typo errors from my
side in the Registry...), I finally got that green arrow in the IIS Console
regarding the isapi_redirector2.dll ! Seems everything was working fine,
but...

1) the http://localhost/examples/ page doesn't show up (web error page
instead)
2) in the Event Log, the following error entries appear each time I try to
access the upper URL :

--
Error: [jk_worker_lb.c (192)]: lb.getWorker() reenable ajp13:localhost:8009
E
 rror: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed

Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for
ajp13:localhost:8009

Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error...
---

I don't know what to do, I think all configuration is correct but still it
doesn't work.

Can anyone help me please ? Thanks a lot
Alain

-
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. If you have received this email in error please notify
the system manager.
**


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



RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread David Legg
Aha!  I thought so :-)

Here's my workers2.properties file: -


#
# workers2.properties
#
[shm]
file=C:\tomcat4\logs\shm.file
size=1048576

[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
--

The [shm] entry seems to be some sort of shared memory area and I've seen
references to something called the 'scoreboard' in conjunction with it.
Anyway, the bottom line is you need this entry for JK2 to work on IIS.  If
you look in your W2k Event log you'll probably also notice a tell-tale
Tomcat application error similar to this: -

  Error: [jk_shm.c (333)]: shm.init(): No file

Hope this helps.

Regards,

David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:[EMAIL PROTECTED]



-Original Message-
From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
Sent: 25 June 2003 15:32
To: 'Tomcat Users List'
Subject: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Hi David,

No I don't have any, here is what I have in my workers2.properties file :


#Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp
-

What is that [shm] entry you mentioned ?

Thanks again,
Alain


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



Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Dominic Parry
Did you restart Tomcat? And reboot your machine?
  - Original Message - 
  From: Hertenstein Alain 
  To: 'Tomcat Users List' 
  Sent: Wednesday, June 25, 2003 5:38 PM
  Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


  Hi again,

  Just replaced my workers2.properties file with yours (and changing the path
  to the shm file according to my Tomcat 4 installation): exactly the same
  problem...

  Besides, I double-checked the W2K Event log entries and couldn't find that
  entry (or similar) you mentioned :
  Error: [jk_shm.c (333)]: shm.init(): No file

  I really don't know what to do. Why is this such a pain to simply connect
  IIS and Tomcat, even when following the instructions ?

  Thanks again for your help...
  Alain

  -Message d'origine-
  De : David Legg [mailto:[EMAIL PROTECTED] 
  Envoyé : mercredi, 25. juin 2003 16:59
  À : 'Tomcat Users List'
  Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


  Aha!  I thought so :-)

  Here's my workers2.properties file: -

  
  #
  # workers2.properties
  #
  [shm]
  file=C:\tomcat4\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*] info=Map the whole webapp
  --

  The [shm] entry seems to be some sort of shared memory area and I've seen
  references to something called the 'scoreboard' in conjunction with it.
  Anyway, the bottom line is you need this entry for JK2 to work on IIS.  If
  you look in your W2k Event log you'll probably also notice a tell-tale
  Tomcat application error similar to this: -

Error: [jk_shm.c (333)]: shm.init(): No file

  Hope this helps.

  Regards,

  David Legg
  Webmaster - 3Dlabs
  http://www.3dlabs.com
  mailto:[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. If you have received this email in error please notify
  the system manager.
  **


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



RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
No I didn't reboot W2K, but restarted Tomcat -and- IIS (stop IIS and Tomcat,
Start Tomcat, wait, Start IIS, test the URL).
Is it necessary to completely reboot the server !?

-Message d'origine-
De : Dominic Parry [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 17:45
À : Tomcat Users List
Objet : Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Did you restart Tomcat? And reboot your machine?
  - Original Message - 
  From: Hertenstein Alain 
  To: 'Tomcat Users List' 
  Sent: Wednesday, June 25, 2003 5:38 PM
  Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


  Hi again,

  Just replaced my workers2.properties file with yours (and changing the
path
  to the shm file according to my Tomcat 4 installation): exactly the same
  problem...

  Besides, I double-checked the W2K Event log entries and couldn't find that
  entry (or similar) you mentioned :
  Error: [jk_shm.c (333)]: shm.init(): No file

  I really don't know what to do. Why is this such a pain to simply connect
  IIS and Tomcat, even when following the instructions ?

  Thanks again for your help...
  Alain


**
 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. If you have received this email in error please notify
the system manager.
**


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



Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread John Turner
Its a pain because:

- the pool of people who understand the connectors from a development 
aspect is small

- the pool of people who understand the connectors and have time to submit 
code is smaller still

- the pool of people who understand the connectors, can submit code, and 
understand ISAPI is smaller still

- the pool of people who understand the connectors, can submit code, 
understand ISAPI, and can build/test actual ISAPI filters using commercial 
Microsoft development environments instead of free open source environments 
is smaller still

- the pool of people who can do all of the above as well as create and 
submit good documentation are just about nonexistent

John

On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain 
[EMAIL PROTECTED] wrote:

Hi again,

Just replaced my workers2.properties file with yours (and changing the 
path
to the shm file according to my Tomcat 4 installation): exactly the same
problem...

Besides, I double-checked the W2K Event log entries and couldn't find 
that
entry (or similar) you mentioned :
Error: [jk_shm.c (333)]: shm.init(): No file

I really don't know what to do. Why is this such a pain to simply connect
IIS and Tomcat, even when following the instructions ?
Thanks again for your help...
Alain
-Message d'origine-
De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. 
juin 2003 16:59
À : 'Tomcat Users List'
Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

Aha!  I thought so :-)

Here's my workers2.properties file: -


#
# workers2.properties
#
[shm]
file=C:\tomcat4\logs\shm.file
size=1048576
[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009
# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*] info=Map the whole webapp
--
The [shm] entry seems to be some sort of shared memory area and I've seen
references to something called the 'scoreboard' in conjunction with it.
Anyway, the bottom line is you need this entry for JK2 to work on IIS.  
If
you look in your W2k Event log you'll probably also notice a tell-tale
Tomcat application error similar to this: -

Error: [jk_shm.c (333)]: shm.init(): No file

Hope this helps.

Regards,

David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:[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. If you have received this email in error please notify
the system manager.
**
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Jason Bainbridge
Can you try a netstat -a and see if your machine is listening on port 8009? It 
could be the relevant section in CATALINA_HOME\conf\server.xml is commented 
out.

You shouldn't have to reboot after changing a properties file it is only 
environment variables that can be stubborn and require a reboot.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

On Wed, 25 Jun 2003 23:38, Hertenstein Alain wrote:
 Hi again,

 Just replaced my workers2.properties file with yours (and changing the path
 to the shm file according to my Tomcat 4 installation): exactly the same
 problem...

 Besides, I double-checked the W2K Event log entries and couldn't find that
 entry (or similar) you mentioned :
 Error: [jk_shm.c (333)]: shm.init(): No file

 I really don't know what to do. Why is this such a pain to simply connect
 IIS and Tomcat, even when following the instructions ?

 Thanks again for your help...
 Alain

 -Message d'origine-
 De : David Legg [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi, 25. juin 2003 16:59
 À : 'Tomcat Users List'
 Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


 Aha!  I thought so :-)

 Here's my workers2.properties file: -

 
 #
 # workers2.properties
 #
 [shm]
 file=C:\tomcat4\logs\shm.file-- 
Jason Bainbridge
http://jblinux.org
 size=1048576

 [channel.socket:127.0.0.1:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*] info=Map the whole webapp
 --

 The [shm] entry seems to be some sort of shared memory area and I've seen
 references to something called the 'scoreboard' in conjunction with it.
 Anyway, the bottom line is you need this entry for JK2 to work on IIS.  If
 you look in your W2k Event log you'll probably also notice a tell-tale
 Tomcat application error similar to this: -

   Error: [jk_shm.c (333)]: shm.init(): No file

 Hope this helps.

 Regards,

 David Legg
 Webmaster - 3Dlabs
 http://www.3dlabs.com
 mailto:[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. If you have received this email in error please notify
 the system manager.
 **


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



RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Hertenstein Alain
Yes it does listen, here's a summary of netstat -a :

Proto  Local Address  Foreign AddressState
TCPweberi:8009weberi:0   LISTENING

Even in the Tomcat command window, the following text appears :

Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=C:\Program Files\Apache Group\Tomcat
4.1
\conf\jk2.properties

Regards
Alain

-Message d'origine-
De : Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 17:50
À : Tomcat Users List
Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Can you try a netstat -a and see if your machine is listening on port 8009?
It 
could be the relevant section in CATALINA_HOME\conf\server.xml is commentedo
 ut.

You shouldn't have to reboot after changing a properties file it is only 
environment variables that can be stubborn and require a reboot.

Regards,
-- 
Jason Bainbridge
http://jblinux.org


**
 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. If you have received this email in error please notify
the system manager.
**


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



RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Januski, Ken
I can only second and third the following:

I really don't know what to do. Why is this such a pain to simply connect
IIS and Tomcat, even when following the instructions ?

-Original Message-
From: Hertenstein Alain [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:38 AM
To: 'Tomcat Users List'
Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Hi again,

Just replaced my workers2.properties file with yours (and changing the path
to the shm file according to my Tomcat 4 installation): exactly the same
problem...

Besides, I double-checked the W2K Event log entries and couldn't find that
entry (or similar) you mentioned :
Error: [jk_shm.c (333)]: shm.init(): No file

I really don't know what to do. Why is this such a pain to simply connect
IIS and Tomcat, even when following the instructions ?

Thanks again for your help...
Alain

-Message d'origine-
De : David Legg [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi, 25. juin 2003 16:59
À : 'Tomcat Users List'
Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Aha!  I thought so :-)

Here's my workers2.properties file: -


#
# workers2.properties
#
[shm]
file=C:\tomcat4\logs\shm.file
size=1048576

[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*] info=Map the whole webapp
--

The [shm] entry seems to be some sort of shared memory area and I've seen
references to something called the 'scoreboard' in conjunction with it.
Anyway, the bottom line is you need this entry for JK2 to work on IIS.  If
you look in your W2k Event log you'll probably also notice a tell-tale
Tomcat application error similar to this: -

  Error: [jk_shm.c (333)]: shm.init(): No file

Hope this helps.

Regards,

David Legg
Webmaster - 3Dlabs
http://www.3dlabs.com
mailto:[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. If you have received this email in error please notify
the system manager.
**


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


RE: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Januski, Ken
Thanks for the explanation, John. I'm still at a loss on my similar problem
from yesterday and have wondered the same thing: why is it so hard?

This at least clarifies the problem a bit. Wish I could add something
helpful myself.

Ken

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:50 AM
To: Tomcat Users List
Subject: Re: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem



Its a pain because:

- the pool of people who understand the connectors from a development 
aspect is small

- the pool of people who understand the connectors and have time to submit 
code is smaller still

- the pool of people who understand the connectors, can submit code, and 
understand ISAPI is smaller still

- the pool of people who understand the connectors, can submit code, 
understand ISAPI, and can build/test actual ISAPI filters using commercial 
Microsoft development environments instead of free open source environments 
is smaller still

- the pool of people who can do all of the above as well as create and 
submit good documentation are just about nonexistent

John

On Wed, 25 Jun 2003 17:38:01 +0200, Hertenstein Alain 
[EMAIL PROTECTED] wrote:

 Hi again,

 Just replaced my workers2.properties file with yours (and changing the 
 path
 to the shm file according to my Tomcat 4 installation): exactly the same
 problem...

 Besides, I double-checked the W2K Event log entries and couldn't find 
 that
 entry (or similar) you mentioned :
 Error: [jk_shm.c (333)]: shm.init(): No file

 I really don't know what to do. Why is this such a pain to simply connect
 IIS and Tomcat, even when following the instructions ?

 Thanks again for your help...
 Alain

 -Message d'origine-
 De : David Legg [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 25. 
 juin 2003 16:59
 À : 'Tomcat Users List'
 Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


 Aha!  I thought so :-)

 Here's my workers2.properties file: -

 
 #
 # workers2.properties
 #
 [shm]
 file=C:\tomcat4\logs\shm.file
 size=1048576

 [channel.socket:127.0.0.1:8009]
 info=Ajp13 forwarding over socket
 tomcatId=localhost:8009

 # Map the Tomcat examples webapp to the Web server uri space
 [uri:/examples/*] info=Map the whole webapp
 --

 The [shm] entry seems to be some sort of shared memory area and I've seen
 references to something called the 'scoreboard' in conjunction with it.
 Anyway, the bottom line is you need this entry for JK2 to work on IIS.  
 If
 you look in your W2k Event log you'll probably also notice a tell-tale
 Tomcat application error similar to this: -

 Error: [jk_shm.c (333)]: shm.init(): No file

 Hope this helps.

 Regards,

 David Legg
 Webmaster - 3Dlabs
 http://www.3dlabs.com
 mailto:[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. If you have received this email in error please notify
 the system manager.
 **


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





-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

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


Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Jason Bainbridge
Okay silly question time... Are you running any sort of firewall?

Also when you added:

[shm]
file=C:\tomcat4\logs\shm.file
size=1048576

Did you create a blank file for it or has Tomcat created one, if it has it 
should contain lots of data?

What error is it throwing when trying to access http://localhost/examples/ a 
404 or something else?

Regards,
Jason

On Wed, 25 Jun 2003 23:54, Hertenstein Alain wrote:
 Yes it does listen, here's a summary of netstat -a :

 Proto  Local Address  Foreign AddressState
 TCPweberi:8009weberi:0   LISTENING

 Even in the Tomcat command window, the following text appears :

 Starting service Tomcat-Standalone
 Apache Tomcat/4.1.24
 Jun 25, 2003 5:35:25 PM org.apache.coyote.http11.Http11Protocol start
 INFO: Starting Coyote HTTP/1.1 on port 8080
 Jun 25, 2003 5:35:26 PM org.apache.jk.common.ChannelSocket init
 INFO: JK2: ajp13 listening on /0.0.0.0:8009
 Jun 25, 2003 5:35:26 PM org.apache.jk.server.JkMain start
 INFO: Jk running ID=0 time=0/47  config=C:\Program Files\Apache
 Group\Tomcat 4.1
 \conf\jk2.properties

 Regards
 Alain

 -Message d'origine-
 De : Jason Bainbridge [mailto:[EMAIL PROTECTED]
 Envoyé : mercredi, 25. juin 2003 17:50
 À : Tomcat Users List
 Objet : Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


 Can you try a netstat -a and see if your machine is listening on port 8009?
 It
 could be the relevant section in CATALINA_HOME\conf\server.xml is
 commentedo ut.

 You shouldn't have to reboot after changing a properties file it is only
 environment variables that can be stubborn and require a reboot.

 Regards,


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



Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Jason Bainbridge
On Thu, 26 Jun 2003 00:20, Januski, Ken wrote:
 I can only second and third the following:

 I really don't know what to do. Why is this such a pain to simply connect
 IIS and Tomcat, even when following the instructions ?

Mainly because the number of Apache Web Server + Tomcat users far out weigh 
the number of MS IIS + Tomcat users and when it comes to development I would 
say the numbers are even further apart.

This means unfortunately for people that must use IIS that it isn't as well 
supported as the Apache Web Server. All I can suggest is that you scratch 
your own itch by either digging into the source and submitting patches to 
improve it or even just creating documentation based upon your experiences.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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



RE: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread Januski, Ken
Yes, you're right, as John Turner mentioned in another response. Once I get
it working I'll be happy to document it. I both wish I could avoid IIS and
wish I could submit patches but I'm afraid neither of those will happen.

When I get the thing working I will send the documentation for those few of
us stuck with integrating IIS and Tomcat.



-Original Message-
From: Jason Bainbridge [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 12:27 PM
To: Tomcat Users List
Subject: Re: IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


On Thu, 26 Jun 2003 00:20, Januski, Ken wrote:
 I can only second and third the following:

 I really don't know what to do. Why is this such a pain to simply connect
 IIS and Tomcat, even when following the instructions ?

Mainly because the number of Apache Web Server + Tomcat users far out weigh 
the number of MS IIS + Tomcat users and when it comes to development I would

say the numbers are even further apart.

This means unfortunately for people that must use IIS that it isn't as well 
supported as the Apache Web Server. All I can suggest is that you scratch 
your own itch by either digging into the source and submitting patches to 
improve it or even just creating documentation based upon your experiences.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

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


RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem

2003-06-25 Thread White, Joshua A (HTSC, CASD)
Check out 
http://www.reynir.net/tomcat/tomcat_IIS_service.html for JK or 
http://www.reynir.net/tomcat/tomcat_IIS_service_jk2.html for JK2
installation 
instructions, that work.


Regards,

Joshua White








-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:45 AM
To: Tomcat Users List
Subject: Re: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


Did you restart Tomcat? And reboot your machine?
  - Original Message - 
  From: Hertenstein Alain 
  To: 'Tomcat Users List' 
  Sent: Wednesday, June 25, 2003 5:38 PM
  Subject: RE : RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


  Hi again,

  Just replaced my workers2.properties file with yours (and changing the
path
  to the shm file according to my Tomcat 4 installation): exactly the same
  problem...

  Besides, I double-checked the W2K Event log entries and couldn't find that
  entry (or similar) you mentioned :
  Error: [jk_shm.c (333)]: shm.init(): No file

  I really don't know what to do. Why is this such a pain to simply connect
  IIS and Tomcat, even when following the instructions ?

  Thanks again for your help...
  Alain

  -Message d'origine-
  De : David Legg [mailto:[EMAIL PROTECTED] 
  Envoyé : mercredi, 25. juin 2003 16:59
  À : 'Tomcat Users List'
  Objet : RE: RE : IIS 5 + Tomcat 4.1.24 + JK2 Connector problem


  Aha!  I thought so :-)

  Here's my workers2.properties file: -

  
  #
  # workers2.properties
  #
  [shm]
  file=C:\tomcat4\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*] info=Map the whole webapp
  --

  The [shm] entry seems to be some sort of shared memory area and I've seen
  references to something called the 'scoreboard' in conjunction with it.
  Anyway, the bottom line is you need this entry for JK2 to work on IIS.  If
  you look in your W2k Event log you'll probably also notice a tell-tale
  Tomcat application error similar to this: -

Error: [jk_shm.c (333)]: shm.init(): No file

  Hope this helps.

  Regards,

  David Legg
  Webmaster - 3Dlabs
  http://www.3dlabs.com
  mailto:[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. If you have received this email in error please notify
  the system manager.
  **


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



This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


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



RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-11 Thread David Legg
Jeff,

I downloaded the JK2 binary from: -

 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/bin/win32/

and installed it from the JK2 quick start guide at: -

 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/confi
ghowto.html

However, the only problem I found was the binaries don't come with any
sample configuration files and the JK2 quick start web page mentioned above
makes no reference to the [shm] entry you MUST add to the
workers2.properties file to make it all work.   This is where Dom came to my
rescue by posting his working config files.  So in the spirit of this mail
list here are my working settings: -

jk2.properties 

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# The default port is 8009 but you can use another one
channelSocket.port=8009

# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess


workers2.properties ---

[shm]
file=C:\tomcat4\logs\shm.file
size=1048576

[channel.socket:127.0.0.1:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp



Hope that helps.


David Legg
Webmaster - 3Dlabs
Phone: +44 (0)118 982 8254
http://www.3dlabs.com
mailto:[EMAIL PROTECTED]



-Original Message-
From: Jeff Cummings [mailto:[EMAIL PROTECTED]
Sent: 11 June 2003 00:18
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config


Thanks Dav,
That being said - where do I get isapi_redirector2.dll, documentation and
examples of jk2.properties
 workers2.properties files.


Jeff



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



RE: Having a problem with IIS and Tomcat 4.1.24 config (solved)

2003-06-11 Thread Jeff Cummings
Thanks to all. I got things working. I created the registry entries as set
out by
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/insta
llhowto.html . Thanks again.


Jeff


-Original Message-
From: Jeff Cummings [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 7:18 PM
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config

Thanks Dav,
That being said - where do I get isapi_redirector2.dll, documentation and
examples of jk2.properties
 workers2.properties files.


Jeff


-Original Message-
From: David Legg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 4:42 AM
To: 'Tomcat Users List'
Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config

Hi Jeff,

What you need to be aware of (and this took a while to sink in for me) is
there are at least two different connectors out there; JK1 and JK2.  Each
has a different set of files associated with it and the formats are
different too.

JK1 used the following files: -

  uriworkermap.properties
  workers.properties
  isapi_redirector.dll (or isapi_redirect.dll depending which version you
used)

JK2 uses the following files: -

  jk2.properties
  workers2.properties
  isapi_redirector2.dll

So if you are talking about uriworkermap.properties you are probably trying
to use the JK1 connector.  I used JK1 with Tomcat 4.0.3 but I believe you
are supposed to use JK2 for Tomcat 4.1.24.

Dom is right about that shm file entry though in the JK2 file.  The JK2
connector won't work unless you include the entry in the workers2.properties
file.

David Legg
Webmaster - 3Dlabs



-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: 10 June 2003 09:27
To: Tomcat Users List
Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config


Hi Jeff

Those lines belong in workers.properties not uriworkermap.properties

You can point it to the logs folder, but it's more of a virtual memory file.
It is necessary though, to get tomcat to work with IIS, I have found.

Good luck!
  - Original Message -
  From: Jeffrey Cummings
  To: 'Tomcat Users List'
  Sent: Tuesday, June 10, 2003 12:48 AM
  Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config



  Excuse my ignorance, but I am not sure which file these lines belong to.
Is
  it the uriworkermap.properties file? What is shm.file a log file? Could I
  have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all
  my log files are in that directory?

  Jeff


  -Original Message-
  From: Dominic Parry [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 1:52 PM
  To: Tomcat Users List
  Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config

  Hi

  Sure can, here is an examples of mine:

  # Define the communication channel
  [shm]
  file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp

  [uri:/admin/*]

  [uri:/manager/*]

  [uri:/DynaServlet/*]

  [uri:/HamiltonBank/*]

  hope this helps.

  Dom
- Original Message -
From: John Turner
To: Tomcat Users List
Sent: Monday, June 09, 2003 6:25 PM
Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



I'm pretty sure Jeffrey did...at least as far as I can tell.  Do you
have
some examples of the correct way?

John

On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry [EMAIL PROTECTED]
wrote:

 you need to specify your uri's in workers.properties
 - Original Message - From: John Turner To: Tomcat Users List
 Sent: Monday, June 09, 2003 6:13 PM
 Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



 Sorry, I'm stumped, and I don't use IIS enough (hardly at all) to help
 out with nitty gritty stuff.  Hopefully someone else has more insight.

 John

 On Mon, 9 Jun 2003 10:43:27 -0400, Jeffrey Cummings [EMAIL PROTECTED]
 wrote:

  Yes I did install the filter and it does have the green arrow.
  This as the log file, mod_jk_iis.log when I start IIS
  [jk_uri_worker_map.c (156)]: Into 
 jk_uri_worker_map_t::uri_worker_map_alloc
  [jk_uri_worker_map.c (196)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open
  [jk_uri_worker_map.c (211)]:
jk_uri_worker_map_t::uri_worker_map_open,
  rule
  map size is 5
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /servlet/=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /examples/=ajp13 was added
  [jk_uri_worker_map.c (256)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  suffix rule /examples/.jsp=ajp13 was added
  [jk_uri_worker_map.c (267

Re: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread Dominic Parry
Hi Jeff

Those lines belong in workers.properties not uriworkermap.properties

You can point it to the logs folder, but it's more of a virtual memory file. It is 
necessary though, to get tomcat to work with IIS, I have found.

Good luck!
  - Original Message - 
  From: Jeffrey Cummings 
  To: 'Tomcat Users List' 
  Sent: Tuesday, June 10, 2003 12:48 AM
  Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config



  Excuse my ignorance, but I am not sure which file these lines belong to. Is
  it the uriworkermap.properties file? What is shm.file a log file? Could I
  have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all
  my log files are in that directory?

  Jeff


  -Original Message-
  From: Dominic Parry [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 1:52 PM
  To: Tomcat Users List
  Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config

  Hi

  Sure can, here is an examples of mine:

  # Define the communication channel
  [shm]
  file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp

  [uri:/admin/*]

  [uri:/manager/*]

  [uri:/DynaServlet/*]

  [uri:/HamiltonBank/*]

  hope this helps.

  Dom
- Original Message -
From: John Turner
To: Tomcat Users List
Sent: Monday, June 09, 2003 6:25 PM
Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



I'm pretty sure Jeffrey did...at least as far as I can tell.  Do you have
some examples of the correct way?

John

On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry [EMAIL PROTECTED]
wrote:

 you need to specify your uri's in workers.properties
 - Original Message - From: John Turner To: Tomcat Users List
 Sent: Monday, June 09, 2003 6:13 PM
 Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



 Sorry, I'm stumped, and I don't use IIS enough (hardly at all) to help
 out with nitty gritty stuff.  Hopefully someone else has more insight.

 John

 On Mon, 9 Jun 2003 10:43:27 -0400, Jeffrey Cummings [EMAIL PROTECTED]
 wrote:

  Yes I did install the filter and it does have the green arrow.
  This as the log file, mod_jk_iis.log when I start IIS
  [jk_uri_worker_map.c (156)]: Into 
 jk_uri_worker_map_t::uri_worker_map_alloc
  [jk_uri_worker_map.c (196)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open
  [jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open,
  rule
  map size is 5
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /servlet/=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /examples/=ajp13 was added
  [jk_uri_worker_map.c (256)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  suffix rule /examples/.jsp=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /examples/servlet/=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /admin/=ajp13 was added
  [jk_uri_worker_map.c (296)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  there are 5 rules
  [jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open,
  done
  [jk_worker.c (82)]: Into wc_open
  [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
  [jk_worker.c (213)]: build_worker_map, creating worker ajp13
  [jk_worker.c (138)]: Into wc_create_worker
  [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13
 of
  ajp13
  [jk_ajp13_worker.c (711)]: Into ajp23_worker_factory
  [jk_worker.c (161)]: wc_create_worker, about to validate and init
  ajp13
  [jk_ajp13_worker.c (386)]: Into jk_worker_t::validate
  [jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 
 contact
  is localhost:8009
  [jk_ajp13_worker.c (425)]: Into jk_worker_t::init
  [jk_worker.c (177)]: wc_create_worker, done
  [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
  [jk_worker.c (235)]: build_worker_map, done
  [jk_worker.c (102)]: wc_open, done
 
 
  Jeff
 
 
  -Original Message-
  From: John Turner [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 9:00 AM
  To: Tomcat Users List
  Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config
 
 
  Thanks.  Did you install the filter?
 
  AFAIK, this is the best tutorial on Tomcat + IIS:
 
  http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html
 
  John
 
  On Mon, 9

RE: Having a problem with IIS and Tomcat 4.1.24 config

2003-06-10 Thread David Legg
Hi Jeff,

What you need to be aware of (and this took a while to sink in for me) is
there are at least two different connectors out there; JK1 and JK2.  Each
has a different set of files associated with it and the formats are
different too.

JK1 used the following files: -

  uriworkermap.properties
  workers.properties
  isapi_redirector.dll (or isapi_redirect.dll depending which version you
used)

JK2 uses the following files: -

  jk2.properties
  workers2.properties
  isapi_redirector2.dll

So if you are talking about uriworkermap.properties you are probably trying
to use the JK1 connector.  I used JK1 with Tomcat 4.0.3 but I believe you
are supposed to use JK2 for Tomcat 4.1.24.

Dom is right about that shm file entry though in the JK2 file.  The JK2
connector won't work unless you include the entry in the workers2.properties
file.

David Legg
Webmaster - 3Dlabs



-Original Message-
From: Dominic Parry [mailto:[EMAIL PROTECTED]
Sent: 10 June 2003 09:27
To: Tomcat Users List
Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config


Hi Jeff

Those lines belong in workers.properties not uriworkermap.properties

You can point it to the logs folder, but it's more of a virtual memory file.
It is necessary though, to get tomcat to work with IIS, I have found.

Good luck!
  - Original Message - 
  From: Jeffrey Cummings 
  To: 'Tomcat Users List' 
  Sent: Tuesday, June 10, 2003 12:48 AM
  Subject: RE: Having a problem with IIS and Tomcat 4.1.24 config



  Excuse my ignorance, but I am not sure which file these lines belong to.
Is
  it the uriworkermap.properties file? What is shm.file a log file? Could I
  have the file parameter point to C:\Jakarta-4.1.24\logs\shm.file since all
  my log files are in that directory?

  Jeff


  -Original Message-
  From: Dominic Parry [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 09, 2003 1:52 PM
  To: Tomcat Users List
  Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config

  Hi

  Sure can, here is an examples of mine:

  # Define the communication channel
  [shm]
  file=C:\Program Files\Apache Group\Tomcat 4.1\logs\shm.file
  size=1048576

  [channel.socket:127.0.0.1:8009]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8009

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp

  [uri:/admin/*]

  [uri:/manager/*]

  [uri:/DynaServlet/*]

  [uri:/HamiltonBank/*]

  hope this helps.

  Dom
- Original Message -
From: John Turner
To: Tomcat Users List
Sent: Monday, June 09, 2003 6:25 PM
Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



I'm pretty sure Jeffrey did...at least as far as I can tell.  Do you
have
some examples of the correct way?

John

On Mon, 9 Jun 2003 18:16:49 +0200, Dominic Parry [EMAIL PROTECTED]
wrote:

 you need to specify your uri's in workers.properties
 - Original Message - From: John Turner To: Tomcat Users List
 Sent: Monday, June 09, 2003 6:13 PM
 Subject: Re: Having a problem with IIS and Tomcat 4.1.24 config



 Sorry, I'm stumped, and I don't use IIS enough (hardly at all) to help
 out with nitty gritty stuff.  Hopefully someone else has more insight.

 John

 On Mon, 9 Jun 2003 10:43:27 -0400, Jeffrey Cummings [EMAIL PROTECTED]
 wrote:

  Yes I did install the filter and it does have the green arrow.
  This as the log file, mod_jk_iis.log when I start IIS
  [jk_uri_worker_map.c (156)]: Into 
 jk_uri_worker_map_t::uri_worker_map_alloc
  [jk_uri_worker_map.c (196)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open
  [jk_uri_worker_map.c (211)]:
jk_uri_worker_map_t::uri_worker_map_open,
  rule
  map size is 5
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /servlet/=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /examples/=ajp13 was added
  [jk_uri_worker_map.c (256)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  suffix rule /examples/.jsp=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /examples/servlet/=ajp13 was added
  [jk_uri_worker_map.c (267)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  match rule /admin/=ajp13 was added
  [jk_uri_worker_map.c (296)]: Into 
 jk_uri_worker_map_t::uri_worker_map_open,
  there are 5 rules
  [jk_uri_worker_map.c (317)]:
jk_uri_worker_map_t::uri_worker_map_open,
  done
  [jk_worker.c (82)]: Into wc_open
  [jk_worker.c (207)]: Into build_worker_map, creating 1 workers
  [jk_worker.c (213)]: build_worker_map, creating worker ajp13
  [jk_worker.c (138)]: Into wc_create_worker
  [jk_worker.c (152)]: wc_create_worker, about to create instance
ajp13

  1   2   3   4   >