RE: TC 5.5.9 and IIS 6.0 connection

2005-09-30 Thread Tracy Spratt
In IIS 6, you need to manually add the isapi_redirect.dll to the Web 
Extensions node in the IIS manager.

Tracy

-Original Message-
From: Julien Barnier [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 30, 2005 4:58 AM
To: tomcat-user@jakarta.apache.org
Subject: TC 5.5.9 and IIS 6.0 connection

Hi to all,

I have a problem trying to connect IIS 6.0 with Tomcat 5.5.9 using the
1.2.14 version of the isapi_redirect.dll file.

(Yes, I know, I should really better connect it to Apache, and if I
could I am sure I wouldn't have lost so many hours on this... Excuse
me for this off-topic angriness.)

Tomcat is working fine, I have installed the connector with the .exe
binary installer version, and the ISAPI filter is shown to work ok in
IIS. However, if I want to look at a Tomcat serving page, I get a 404
response and the IIS log doesn't show any GET /jakarta/isapi_redirect.dll.

With help from the log file, I can see that the ISAPI filter is
called, it seems to work fine until the call to HttpExtensionProc part
of the filter, which is not made.

This is the trace log of the not-working installation :

[trace] jk_shm_open::jk_shm.c (69): enter
[debug] jk_shm_open::jk_shm.c (91): Initialized shared memory size=66560 
free=65536 addr=0x19f0048
[trace] jk_shm_open::jk_shm.c (94): exit
[debug] init_jk::jk_isapi_plugin.c (1136): Using registry.
[debug] init_jk::jk_isapi_plugin.c (1139): Using log file C:\Program 
Files\Apache Software Foundation\Jakarta Isapi 
Redirector\log\isapi_redirect2.log.
[debug] init_jk::jk_isapi_plugin.c (1140): Using log level 0.
[debug] init_jk::jk_isapi_plugin.c (1141): Using extension uri 
/jakarta/isapi_redirect.dll.
[debug] init_jk::jk_isapi_plugin.c (1142): Using worker file C:\Program 
Files\Apache Software Foundation\Jakarta Isapi 
Redirector\conf\workers.properties.
[debug] init_jk::jk_isapi_plugin.c (1143): Using worker mount file C:\Program 
Files\Apache Software Foundation\Jakarta Isapi 
Redirector\conf\uriworkermap.properties.
[debug] init_jk::jk_isapi_plugin.c (1145): Using uri select 0.
[trace] uri_worker_map_alloc::jk_uri_worker_map.c (89): enter
[trace] uri_worker_map_alloc::jk_uri_worker_map.c (105): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (260): wildchar rule 
/admin/*=worker1 was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (260): wildchar rule 
/manager/*=worker1 was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (260): wildchar rule 
/jsp-examples/*=worker1 was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (260): wildchar rule 
/servlets-examples/*=worker1 was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (260): wildchar rule 
/cocoon*=worker1 was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] uri_worker_map_add::jk_uri_worker_map.c (190): enter
[debug] uri_worker_map_add::jk_uri_worker_map.c (268): exact rule 
/jkmanager=jkstatus was added
[trace] uri_worker_map_add::jk_uri_worker_map.c (298): exit
[trace] wc_open::jk_worker.c (49): enter
[trace] build_worker_map::jk_worker.c (230): enter
[debug] build_worker_map::jk_worker.c (236): creating worker worker1
[trace] wc_create_worker::jk_worker.c (121): enter
[debug] wc_create_worker::jk_worker.c (141): about to create instance worker1 
of ajp13
[trace] ajp13_worker_factory::jk_ajp13_worker.c (83): enter
[trace] ajp13_worker_factory::jk_ajp13_worker.c (117): exit
[debug] wc_create_worker::jk_worker.c (154): about to validate and init worker1
[trace] validate::jk_ajp13_worker.c (34): enter
[trace] ajp_validate::jk_ajp_common.c (1783): enter
[debug] ajp_validate::jk_ajp_common.c (1806): worker worker1 contact is 
'localhost:8009'
[trace] ajp_validate::jk_ajp_common.c (1812): exit
[trace] validate::jk_ajp13_worker.c (36): exit
[trace] init::jk_ajp13_worker.c (47): enter
[trace] ajp_init::jk_ajp_common.c (1879): enter
[debug] ajp_init::jk_ajp_common.c (1895): setting socket keepalive to 0
[debug] ajp_init::jk_ajp_common.c (1934): setting socket timeout to -1
[debug] ajp_init::jk_ajp_common.c (1938): setting socket buffer size to 0
[debug] ajp_init::jk_ajp_common.c (1942): setting connection recycle timeout to 0
[debug] ajp_init::jk_ajp_common.c (1946): setting cache timeout to 0
[debug] ajp_init::jk_ajp_common.c (1950): setting connect timeout to 0
[debug] ajp_init::jk_ajp_common.c (1954): setting reply timeout to 0
[debug] ajp_init::jk_ajp_common.c (1958): setting prepost timeout to 0
[debug] 

RE: IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]

2005-09-27 Thread Tracy Spratt
 if a machine name will
work.

Restart IIS.

At this stage we can test the tomcat examples, using this URL :
http://www.myIISWebServer.com/jsp-examples/index.html

If it loads we are good to continue.  If not, you will need to look at
the troubleshooting section of the howto/iis.html document.

If we are good to continue, we will next add the flex context.  The
following assumes a default Flex install, with your application in:
...\Tomcat 5.0\webapps\flex

Adding the flex context:
On the IIS web server, edit:
C:\Program Files\Apache Software Foundation\Jakarta Isapi
Redirector\conf\uriworkermap.properties

In the # [URL ]=[Worker name] section, add this line:
/flex/*=wlb

Save the file.

Restart IIS.

Finally, test the connector with Flex using an URL  like this:
http://www.myIISWebServer.com/flex/myApp/myFile.mxml.


Security caveat:
In our setup, where the flex app was called from a custom wrapper in a
tightly secured ASP.NET application, adding the connector / isapi
redirector had the consequence of breaking the security on the Flex app
because it can be called directly from the web.

The ideal solution would have been for the Tomcat container's
authorization module to read the ASP.NET forms security token to permit
access.  Regretfully, I have not been able to make this work yet.

Tracy Spratt




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 27, 2005 5:59 AM
To: tomcat-user@jakarta.apache.org
Subject: IIS 6 and Tomcat5.0 [Our Ref:CPT6950D]


Hi
I need to connect to Tomcat5.0 using an isapi redirect filter. In
addition I would like to prevent any other access to Tomcat (other
than from IIS 6). How can I go about configuring Tomcat to achieve
this objective?



This e-mail is intended exclusively for the addressee.
If you are not the addressee you must not read, copy, use or disclose
the e-mail nor the content; please notify us immediately (by clicking
Reply) and delete this e-mail.

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



Can the Tomcat authentication module use an ASP.NET security token?

2005-09-20 Thread Tracy Spratt
I have a Tomcat app (MM Flex app) that is called from an asp.net
application which is secured by forms (cookie-based) authentication.
(NOT NTLM / Windows Integrated)

I don't want the user to have to log in again.

I have a programmatic solution in mind, but it is going to be
comparitively ugly.  

Any ideas?

Tracy


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



RE: Desperate: trying to get Tomcat working through IIS

2005-09-09 Thread Tracy Spratt
Also, I think you have to manually add the isapi_redirect.dll to the
Web Extensions In IIS, if you haven't already.  If this is not
necessary, please correct me.

Tracy

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 12:19 PM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Hi,

Can you list the registry settings in Apache Software Foundation/Isapi
Redirector ..

Can you check that your website has the ISAPI filter installed with a
green arrow pointed up?

Cheers, Allistair

 -Original Message-
 From: David Thielen [mailto:[EMAIL PROTECTED]
 Sent: 09 September 2005 17:16
 To: 'Tomcat Users List'
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 
 First off - THANK YOU. It's amazing how it's so often a dumb 
 little thing.
 
 Second, I'm getting a lot closer. I now get the following in 
 the IIS log:
 16:10:38 127.0.0.1 GET /servlet-examples/index.html 200
 
 The isapi_redirect.log is still empty (0 bytes).
 
 The jakarta virtual directory is set to Execute Permissions: 
 Scripts and
 Executables.
 
 Any ideas?
 
 Thanks - dave
 
 David Thielen
 303-499-2544
 www.windwardreports.com
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 1:57 AM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 if your uriworkermap.properties file contains 
 
 /servlet-examples/*=ajp13w
 !/servlet-examples/*.jpeg=ajp13w
 
 then why are you expecting 
 
 http://localhost/jsp-examples/index.html 
 
 to work? For that, you'd need to add
 
 /jsp-examples/*=ajp13w
 
 (and restart IIS)
 
 Allistair.
 
  -Original Message-
  From: David Thielen [mailto:[EMAIL PROTECTED]
  Sent: 09 September 2005 00:50
  To: tomcat-user@jakarta.apache.org
  Subject: Desperate: trying to get Tomcat working through IIS
  
  
  Hi;
  
   
  
  I followed the instructions in
  http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html
   It references
  for configuring Tomcat with IIS 5 and 6 with a link - but 
  the link is dead
  and a search in the wiki it goes to shows nothing. I rebooted after
  installing before attempting to connect.
  
   
  
  When I go to http://localhost:8080/jsp-examples/index.html - 
  it works. When
  I go to http://localhost/jsp-examples/index.html I get an error 404.
  
   
  
  My IIS log is:
  
  #Software: Microsoft Internet Information Services 5.1
  
  #Version: 1.0
  
  #Date: 2005-09-08 23:37:35
  
  #Fields: time c-ip cs-method cs-uri-stem sc-status 
  
  23:37:35 127.0.0.1 GET /jsp-examples/index.html 404
  
   
  
  My isapi_redirect.log log file is created, but is empty.
  
   
  
  I used the isapi_redirect-1.2.14.exe setup program, then checked the
  registry settings and they all appear to be correct. I 
  followed every step
  in the howto except the ones done by the setup program.
  
   
  
  My uriworkermap.properties is:
  
  /servlet-examples/*=ajp13w
  
  !/servlet-examples/*.jpeg=ajp13w
  
   
  
  My workers.properties.minimal is:
  
  worker.list=ajp13w
  
  worker.ajp13w.type=ajp13
  
  worker.ajp13w.host=localhost
  
  worker.ajp13w.port=8009
  
   
  
  My server.xml includes (only node with ajp in it):
  
  Connector port=8009 
  
 enableLookups=false redirectPort=8443 
  protocol=AJP/1.3
  /
  
   
  
   
  
  Please help - I'm desperate.
  
   
  
  Thanks - dave
  
   
  
   
  
  David Thielen
  
  303-499-2544
  
  www.windwardreports.com http://www.windwardreports.com/ 
  
   
  
  
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 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]
 
 
 
 -
 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: isapi_redirector or isapi_redirector2?

2005-09-09 Thread Tracy Spratt
Again, if I am mistaken, please correct me, but this is what I have
recently come to understand.

The isapi_redirect2.dll is part of the JK2 connector, along with the
corresponding conf files.  JK2 was deprecated in 2004 because of
insufficient interest by both developers and users.  

http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html

I do not know what is the significance of JK2 will have it's successor
within core Apache2.1/2.2 distribution.

However, based on google hits. There are a lot of people still using it.

Tracy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 12:38 AM
To: tomcat-user@jakarta.apache.org
Subject: isapi_redirector or isapi_redirector2?

Hi;

 

Is isapi_redirector2 that latest  greatest? On
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cgi
http://jakarta.apache.org/site/downloads/downloads_tomcat-connectors.cg
i%20
JK2  JK2 is listed as deprecated.

 

I am using IIS 5.1 for development (XP) and 6.0 for production (Windows
2003).

 

Thanks - dave

 

 

David Thielen

303-499-2544

www.windwardreports.com http://www.windwardreports.com/ 

 




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



RE: Desperate: trying to get Tomcat working through IIS

2005-09-09 Thread Tracy Spratt
Dave, I missed that you were using IIS 5 when I suggested the Web
Extensions step.  That is new with win 2003 and IIS 6 I believe.

Since we are figuring this out as we go along, why don't your remove
that jsp extension specification and see if you still work.  I did NOT
add it and I can serve jsp pages through the isapi filter ok.

Tracy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 2:02 PM
To: 'Tomcat Users List'
Subject: RE: Desperate: trying to get Tomcat working through IIS

Hi;

I went to Default Web Site, Properties, Home Directory, Configuration,
and
on the mappings tab I added .jsp - C:\Program Files\Apache Software
Foundation\Tomcat 5.5\bin\isapi_redirect.dll It requires the  - I
assume
because of the spaces.

Is this necessary? Any idea what this does?

Thanks - dave


David Thielen
303-499-2544
www.windwardreports.com


-Original Message-
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 10:28 AM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Also, I think you have to manually add the isapi_redirect.dll to the
Web Extensions In IIS, if you haven't already.  If this is not
necessary, please correct me.

Tracy

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 12:19 PM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Hi,

Can you list the registry settings in Apache Software Foundation/Isapi
Redirector ..

Can you check that your website has the ISAPI filter installed with a
green arrow pointed up?

Cheers, Allistair

 -Original Message-
 From: David Thielen [mailto:[EMAIL PROTECTED]
 Sent: 09 September 2005 17:16
 To: 'Tomcat Users List'
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 
 First off - THANK YOU. It's amazing how it's so often a dumb 
 little thing.
 
 Second, I'm getting a lot closer. I now get the following in 
 the IIS log:
 16:10:38 127.0.0.1 GET /servlet-examples/index.html 200
 
 The isapi_redirect.log is still empty (0 bytes).
 
 The jakarta virtual directory is set to Execute Permissions: 
 Scripts and
 Executables.
 
 Any ideas?
 
 Thanks - dave
 
 David Thielen
 303-499-2544
 www.windwardreports.com
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 1:57 AM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 if your uriworkermap.properties file contains 
 
 /servlet-examples/*=ajp13w
 !/servlet-examples/*.jpeg=ajp13w
 
 then why are you expecting 
 
 http://localhost/jsp-examples/index.html 
 
 to work? For that, you'd need to add
 
 /jsp-examples/*=ajp13w
 
 (and restart IIS)
 
 Allistair.
 
  -Original Message-
  From: David Thielen [mailto:[EMAIL PROTECTED]
  Sent: 09 September 2005 00:50
  To: tomcat-user@jakarta.apache.org
  Subject: Desperate: trying to get Tomcat working through IIS
  
  
  Hi;
  
   
  
  I followed the instructions in
  http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html
   It references
  for configuring Tomcat with IIS 5 and 6 with a link - but 
  the link is dead
  and a search in the wiki it goes to shows nothing. I rebooted after
  installing before attempting to connect.
  
   
  
  When I go to http://localhost:8080/jsp-examples/index.html - 
  it works. When
  I go to http://localhost/jsp-examples/index.html I get an error 404.
  
   
  
  My IIS log is:
  
  #Software: Microsoft Internet Information Services 5.1
  
  #Version: 1.0
  
  #Date: 2005-09-08 23:37:35
  
  #Fields: time c-ip cs-method cs-uri-stem sc-status 
  
  23:37:35 127.0.0.1 GET /jsp-examples/index.html 404
  
   
  
  My isapi_redirect.log log file is created, but is empty.
  
   
  
  I used the isapi_redirect-1.2.14.exe setup program, then checked the
  registry settings and they all appear to be correct. I 
  followed every step
  in the howto except the ones done by the setup program.
  
   
  
  My uriworkermap.properties is:
  
  /servlet-examples/*=ajp13w
  
  !/servlet-examples/*.jpeg=ajp13w
  
   
  
  My workers.properties.minimal is:
  
  worker.list=ajp13w
  
  worker.ajp13w.type=ajp13
  
  worker.ajp13w.host=localhost
  
  worker.ajp13w.port=8009
  
   
  
  My server.xml includes (only node with ajp in it):
  
  Connector port=8009 
  
 enableLookups=false redirectPort=8443 
  protocol=AJP/1.3
  /
  
   
  
   
  
  Please help - I'm desperate.
  
   
  
  Thanks - dave
  
   
  
   
  
  David Thielen
  
  303-499-2544
  
  www.windwardreports.com http://www.windwardreports.com/ 
  
   
  
  
 
 
 FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
 ---
 QAS Ltd.
 Registered in England: No 2582055
 Registered in Australia: No 082 851 474
 ---
 /FONT

RE: Desperate: trying to get Tomcat working through IIS

2005-09-09 Thread Tracy Spratt
Looking a little further, I suspect the jsp extension configuration in
IIS is not necessary, because the uriworkermap.properties context
specification handles that.

Specifically, in the line 
/servlet-examples/*=ajp13w
I think the asterisk allows any extension.

I read in the IIS HowTo that if you want to restrict Tomcat to serving
specific file types, say jsp only, you can do this:
/servlet-examples/*.jsp=ajp13w

From that I infer that * alone permits any extension.

Tracy

-Original Message-
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 2:33 PM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Dave, I missed that you were using IIS 5 when I suggested the Web
Extensions step.  That is new with win 2003 and IIS 6 I believe.

Since we are figuring this out as we go along, why don't your remove
that jsp extension specification and see if you still work.  I did NOT
add it and I can serve jsp pages through the isapi filter ok.

Tracy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 2:02 PM
To: 'Tomcat Users List'
Subject: RE: Desperate: trying to get Tomcat working through IIS

Hi;

I went to Default Web Site, Properties, Home Directory, Configuration,
and
on the mappings tab I added .jsp - C:\Program Files\Apache Software
Foundation\Tomcat 5.5\bin\isapi_redirect.dll It requires the  - I
assume
because of the spaces.

Is this necessary? Any idea what this does?

Thanks - dave


David Thielen
303-499-2544
www.windwardreports.com


-Original Message-
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 10:28 AM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Also, I think you have to manually add the isapi_redirect.dll to the
Web Extensions In IIS, if you haven't already.  If this is not
necessary, please correct me.

Tracy

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 12:19 PM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

Hi,

Can you list the registry settings in Apache Software Foundation/Isapi
Redirector ..

Can you check that your website has the ISAPI filter installed with a
green arrow pointed up?

Cheers, Allistair

 -Original Message-
 From: David Thielen [mailto:[EMAIL PROTECTED]
 Sent: 09 September 2005 17:16
 To: 'Tomcat Users List'
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 
 First off - THANK YOU. It's amazing how it's so often a dumb 
 little thing.
 
 Second, I'm getting a lot closer. I now get the following in 
 the IIS log:
 16:10:38 127.0.0.1 GET /servlet-examples/index.html 200
 
 The isapi_redirect.log is still empty (0 bytes).
 
 The jakarta virtual directory is set to Execute Permissions: 
 Scripts and
 Executables.
 
 Any ideas?
 
 Thanks - dave
 
 David Thielen
 303-499-2544
 www.windwardreports.com
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 1:57 AM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 if your uriworkermap.properties file contains 
 
 /servlet-examples/*=ajp13w
 !/servlet-examples/*.jpeg=ajp13w
 
 then why are you expecting 
 
 http://localhost/jsp-examples/index.html 
 
 to work? For that, you'd need to add
 
 /jsp-examples/*=ajp13w
 
 (and restart IIS)
 
 Allistair.
 
  -Original Message-
  From: David Thielen [mailto:[EMAIL PROTECTED]
  Sent: 09 September 2005 00:50
  To: tomcat-user@jakarta.apache.org
  Subject: Desperate: trying to get Tomcat working through IIS
  
  
  Hi;
  
   
  
  I followed the instructions in
  http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html
   It references
  for configuring Tomcat with IIS 5 and 6 with a link - but 
  the link is dead
  and a search in the wiki it goes to shows nothing. I rebooted after
  installing before attempting to connect.
  
   
  
  When I go to http://localhost:8080/jsp-examples/index.html - 
  it works. When
  I go to http://localhost/jsp-examples/index.html I get an error 404.
  
   
  
  My IIS log is:
  
  #Software: Microsoft Internet Information Services 5.1
  
  #Version: 1.0
  
  #Date: 2005-09-08 23:37:35
  
  #Fields: time c-ip cs-method cs-uri-stem sc-status 
  
  23:37:35 127.0.0.1 GET /jsp-examples/index.html 404
  
   
  
  My isapi_redirect.log log file is created, but is empty.
  
   
  
  I used the isapi_redirect-1.2.14.exe setup program, then checked the
  registry settings and they all appear to be correct. I 
  followed every step
  in the howto except the ones done by the setup program.
  
   
  
  My uriworkermap.properties is:
  
  /servlet-examples/*=ajp13w
  
  !/servlet-examples/*.jpeg=ajp13w
  
   
  
  My workers.properties.minimal is:
  
  worker.list=ajp13w
  
  worker.ajp13w.type

RE: Desperate: trying to get Tomcat working through IIS

2005-09-09 Thread Tracy Spratt
I notice that this particular installer appears to use JK2 which is
deprecated.  If that matters.  I wish the community would settle on
one, though, for newbies, it is very confusing, especially going
backwards!

The Jakarta installer also works pretty well, except you must manually
define the Web Service Extension in IIS 6.

Tracy

-Original Message-
From: Woodchuck [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 5:19 PM
To: Tomcat Users List
Subject: RE: Desperate: trying to get Tomcat working through IIS

hihi all,

fyi, there is a nice installation program that takes the pain out of
configuring IIS -- Tomcat for you, and it can be found here:

http://www.shiftomat.de/opensource/

we use this in production and it works great.  have tested it on IIS 5
-- Tomcat 4.1.24 and also IIS 6 (W2k3) -- Tomcat 5.5.9

just a few clicks and you're done.  no manual editing of any files at
all.


woodchuck


--- Tracy Spratt [EMAIL PROTECTED] wrote:

 Looking a little further, I suspect the jsp extension configuration
 in
 IIS is not necessary, because the uriworkermap.properties context
 specification handles that.
 
 Specifically, in the line 
   /servlet-examples/*=ajp13w
 I think the asterisk allows any extension.
 
 I read in the IIS HowTo that if you want to restrict Tomcat to
 serving
 specific file types, say jsp only, you can do this:
   /servlet-examples/*.jsp=ajp13w
 
 From that I infer that * alone permits any extension.
 
 Tracy
 
 -Original Message-
 From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 2:33 PM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 Dave, I missed that you were using IIS 5 when I suggested the Web
 Extensions step.  That is new with win 2003 and IIS 6 I believe.
 
 Since we are figuring this out as we go along, why don't your remove
 that jsp extension specification and see if you still work.  I did
 NOT
 add it and I can serve jsp pages through the isapi filter ok.
 
 Tracy
 
 -Original Message-
 From: David Thielen [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 2:02 PM
 To: 'Tomcat Users List'
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 Hi;
 
 I went to Default Web Site, Properties, Home Directory,
 Configuration,
 and
 on the mappings tab I added .jsp - C:\Program Files\Apache Software
 Foundation\Tomcat 5.5\bin\isapi_redirect.dll It requires the  - I
 assume
 because of the spaces.
 
 Is this necessary? Any idea what this does?
 
 Thanks - dave
 
 
 David Thielen
 303-499-2544
 www.windwardreports.com
 
 
 -Original Message-
 From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 10:28 AM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 Also, I think you have to manually add the isapi_redirect.dll to the
 Web Extensions In IIS, if you haven't already.  If this is not
 necessary, please correct me.
 
 Tracy
 
 -Original Message-
 From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 09, 2005 12:19 PM
 To: Tomcat Users List
 Subject: RE: Desperate: trying to get Tomcat working through IIS
 
 Hi,
 
 Can you list the registry settings in Apache Software
 Foundation/Isapi
 Redirector ..
 
 Can you check that your website has the ISAPI filter installed with a
 green arrow pointed up?
 
 Cheers, Allistair
 
  -Original Message-
  From: David Thielen [mailto:[EMAIL PROTECTED]
  Sent: 09 September 2005 17:16
  To: 'Tomcat Users List'
  Subject: RE: Desperate: trying to get Tomcat working through IIS
  
  
  First off - THANK YOU. It's amazing how it's so often a dumb 
  little thing.
  
  Second, I'm getting a lot closer. I now get the following in 
  the IIS log:
  16:10:38 127.0.0.1 GET /servlet-examples/index.html 200
  
  The isapi_redirect.log is still empty (0 bytes).
  
  The jakarta virtual directory is set to Execute Permissions: 
  Scripts and
  Executables.
  
  Any ideas?
  
  Thanks - dave
  
  David Thielen
  303-499-2544
  www.windwardreports.com
  
  -Original Message-
  From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
  Sent: Friday, September 09, 2005 1:57 AM
  To: Tomcat Users List
  Subject: RE: Desperate: trying to get Tomcat working through IIS
  
  if your uriworkermap.properties file contains 
  
  /servlet-examples/*=ajp13w
  !/servlet-examples/*.jpeg=ajp13w
  
  then why are you expecting 
  
  http://localhost/jsp-examples/index.html 
  
  to work? For that, you'd need to add
  
  /jsp-examples/*=ajp13w
  
  (and restart IIS)
  
  Allistair.
  
   -Original Message-
   From: David Thielen [mailto:[EMAIL PROTECTED]
   Sent: 09 September 2005 00:50
   To: tomcat-user@jakarta.apache.org
   Subject: Desperate: trying to get Tomcat working through IIS
   
   
   Hi;
   

   
   I followed the instructions in
   http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html

Connect IIS 6 to Tomcat 5 using Jakarta JK connector: steps, tips for J2EE newbies

2005-09-09 Thread Tracy Spratt
This doc is targeted at developers using Macromedia Flex which is just a
J2EE application.  It might still be of use to newbies here though.

It uses the Jakarta Tomcat JK installer.

Please note the security caveat near the end.

Corrections welcome.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1Object=FileobjectI
D=296
Tracy



RE: JK Connector with IIS

2005-09-07 Thread Tracy Spratt
I am a rank newbie with this stuff, so please correct any nonsense!.

First, can you not achieve your fist goal using the context
specification in the uriworkermap.properties file?  If tomcatapp2 is not
in one of the specified contexts, you should not be able to access it.

Second, To get a tomcat app to act like a default page in IIS, you can
use default.htm for example, and in its properties specify Redirection
to an URL, then specify the URL to the Tomcat app, using
www.somewebsite.com/tomcatappcontext/myApp.jsp. Be sure default.htm is
the first in the list in IIS.

Tracy

-Original Message-
From: Joe Plautz [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 07, 2005 11:51 AM
To: Tomcat Users List
Subject: JK Connector with IIS

We're are successfully using the JK connector between IIS 6.0 and Tomcat

5.0.28 to forward on requests. We starting to run into some 
configuration issues that I haven't seen any documentation for. I 
guess I don't truly know what is possible so I thought I would ask.

Is there a way to configure the connector so that www.somewebsite.com 
can only redirect to a specific tomcat web application and have 
www.someotherwebsite.com only point to a different tomcat web 
application all together. It appears that once a web site on IIS is 
setup with the redirector filter it will pass through to what ever 
tomcat application is there.

So, for example www.somewebsite.com/tomcatapp1 would pass on, but 
www.somewebsite.com/tomcatapp2 would not.

Next, is it possible to setup the connector so www.somewebsite.com would

go straight into an application.

As an example, I could use www.somewebsite.com and not have to type in 
www.somewebsite.com/tomcatappcontext.

Finally, IIS is where the SSL certificates are located. What I would 
like to do for some applications is force http traffic to https. In IIS 
I can shut down http access, but in some instances I don't want to do 
that and would like to redirect it into it. If I were to use a 
security-constraint and set the redirect to the secure port on IIS 
would it redirect to IIS or would it choke?

Thanks for any help,
Joe Plautz

-
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: IIS6 - ASP.Net - JK - TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-07 Thread Tracy Spratt
Thanks for the response, Allistair, but that was already set as you
suggested.

Perhaps I should after all skip the Windows - based authentication step
and go directly to my real need, which is using the asp.net
authentication token  in my Tomcat app.

Is this possible?  The request dump shows the asp session and
authenticate cookies are being sent.  Is there any way to access those
from within Tomcat?

When tomcatAuthentication=false, what exactly does Tomcat need in the
request headers to work?  Is there any way to configure it?

Tracy

-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 07, 2005 4:08 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: IIS6 - ASP.Net - JK - TC5 - tomcatAuthentication=false:
user auth not getting passed?

Hi,

You probably need to ensure that the IIS virtual directory for the
jakarta dll has Directory Security set to Windows Integrated?

Allistair.

 -Original Message-
 From: Tracy Spratt [mailto:[EMAIL PROTECTED]
 Sent: 07 September 2005 01:03
 To: Tomcat Users List; [EMAIL PROTECTED]
 Subject: IIS6 - ASP.Net - JK - TC5 - 
 tomcatAuthentication=false: user
 auth not getting passed?
 
 
 I want to pass authorization from my dot.Net app to the Tomcat app.
 
 Unsecured, everything is working fine: IIS runs the asp.net app, which
 in turn loads the Tomcat app (a Macromedia Flex app to be specific).
 
 But the asp.net app is secured, and the JK - isapi_redirect 
 allows users
 to directly access the Tomcat app, which is not desired.
 
 To start with, I have configured basic security, protected the
 application with a security-constraint, and tested it with direct
 calls to the TC server / app, and all worked as expected.  
 
 However when I set the tomcatAuthentication=false, my 
 Tomcat app does
 not run, and judging by the RequestDumperValve output, IIS is not
 passing the user name to Tomcat, and it also reports status 403.
 
 My long term goal is to use the asp.net authentication in the Tomcat
 app, but in the short run I would just like to get anything working,
 like the Windows user for example.
 
 Any suggestions will be appreciated.  I have included a listing of the
 RequestDumperValve output below.
 
 Tracy Spratt
 
 Catalina_log:
 
  REQUEST URI
 =/flex/ltApplications/Clients/Patterson/FirePump.mxml.swf
authType=
   characterEncoding=null
   contentLength=0
 contentType=null
 contextPath=/flex
  cookie=ASP.NET_SessionId=hqoaxr45jokfpzabz4giluft
  
 cookie=Authenticate=7808CB3E915F5EBD2AC05801D91542013C4B04B393
 12E1B2335B
 32395880A6C05638E108982CA4917853D032EC9EFD47EB20A56448A23EF366
 5B48F57F49
 BD387D254B570373404A
  header=connection=Keep-Alive
  header=accept=*/*
  header=accept-encoding=gzip, deflate
  header=cookie=ASP.NET_SessionId=hqoaxr45jokfpzabz4giluft;
 Authenticate=7808CB3E915F5EBD2AC05801D91542013C4B04B39312E1B23
 35B3239588
 0A6C05638E108982CA4917853D032EC9EFD47EB20A56448A23EF3665B48F57
 F49BD387D2
 54B570373404A
  header=host=www.lariatinc.com
  header=if-modified-since=Thu, 01 Sep 2005 21:43:30 GMT
  header=user-agent=Mozilla/4.0 (compatible; MSIE 6.0;
 Windows NT 5.1; SV1; .NET CLR 1.1.4322)
  header=x-flash-version=7,0,35,29
  header=content-length=0
  locale=en_US
  method=GET
pathInfo=null
protocol=HTTP/1.1
 queryString=null
  remoteAddr=172.31.255.55
  remoteHost=172.31.255.55
  remoteUser=
  requestedSessionId=null
  scheme=http
  serverName=www.lariatinc.com
  serverPort=80
 
 servletPath=/ltApplications/Clients/Patterson/FirePump.mxml.swf
isSecure=false
  ---
  ---
authType=
   contentLength=-1
 contentType=null
 message=null
  remoteUser=
  status=403
  ===
 
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
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]




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



RE: isapi_redirect dll location

2005-09-06 Thread Tracy Spratt
Yes, the install creates the folders, copies the configuration files and the 
dll, modifies the registry and adds the isapi filter to IIS.  It does NOT add 
the dll to the Windows 2003 / IIS6 Web Extensions, though.  I am not sure 
whether this is necessary.
Tracy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 03, 2005 7:47 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: isapi_redirect dll location

First off - thank you.

Second there is a isapi_redirect-1.2.14.exe file also - does this do a
complete install of the dll?

Thanks - dave


David Thielen
303-499-2544
www.windwardreports.com

-Original Message-
From: Steve Ochani [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 03, 2005 4:12 PM
To: tomcat-user@jakarta.apache.org
Subject: isapi_redirect dll location

To whomever was looking for isapi_redirect dll:

As much as I hate to promote IIS:

isapi_redirect dll can be found here 

http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/jk-1.
2.14




«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
Education is what remains after one has forgotten everything he
learned in school. -Albert Einstein 

Steve O.
http://www.steveo.us

New pics: B17G and B24
http://www.steveo.us/B17-B24/

B17G WWII Bomber Yankee Lady Flight I took
http://www.steveo.us/b17ride

SUNY NCC Physical Sciences Dept. Network Admin
SUNY NCC MATH/COMPUTER Unix Admin
http://www.matcmp.ncc.edu


-
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: Connectiong tomcat to IIS - no luck and conflicting info

2005-09-06 Thread Tracy Spratt
I am exceedingly ignorant in the J2EE universe, but I did manage to get
TC5.5 talking to IIS 6 effectively (3 times, so it wasn't a fluke!).

Have you seen this doc:
http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html

It has some troubleshooting info.

Be sure to at least restart the IIS service, probably even reboot
entirely!

Tracy

-Original Message-
From: David Thielen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 06, 2005 4:29 PM
To: tomcat-user@jakarta.apache.org
Subject: Connectiong tomcat to IIS - no luck and conflicting info

Hi;

 

I am trying to connect Tomcat 5.5 to IIS 5.1 and having zero luck.

 

Here is what I did:

1.  Went to
http://apache.towardex.com/jakarta/tomcat-connectors/jk/binaries/win32/j
k-1.
2.14
2.  Downloaded  ran isapi_redirect-1.2.14.exe
3.  Added isapi_redirect as an ISAPI filter to the default website.

 

When I try to bring up the page http://localhost/jkstatus I get the
following in my IIS log:

20:19:47 127.0.0.1 GET /jkstatus 404

 

So it's not even calling isapi_redirect.dll. The installer did create
the
jakarta virtual directory and some registry entries. (I believe that
even if
all of my tomcat settings are wrong - it should still be calling
isapi_redirect.)

 

I'm stuck now. The book Pro Jakarta Tomcat 5 discusses setting this up
using
isapi_redirect2.dll and using registry entries that have a 2.0 node in
them.
But I can't find any metion of this anywhere else.

 

The isapi_redirect installer doesn't have any documentation.

 

On the jakarta website I can't find any 5.x specific install
instructions.

 

I've done this successfully for Tomcat 4.x - see
http://dave.thielen.com/articles/Configuring%20Tomcat%20to%20work%20with
%20I
IS.doc but these instructions don't match the contents of the config
files
for 5.5.

 

So what should I try next?

 

Thanks - dave

 




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



IIS6 - ASP.Net - JK - TC5 - tomcatAuthentication=false: user auth not getting passed?

2005-09-06 Thread Tracy Spratt
I want to pass authorization from my dot.Net app to the Tomcat app.

Unsecured, everything is working fine: IIS runs the asp.net app, which
in turn loads the Tomcat app (a Macromedia Flex app to be specific).

But the asp.net app is secured, and the JK - isapi_redirect allows users
to directly access the Tomcat app, which is not desired.

To start with, I have configured basic security, protected the
application with a security-constraint, and tested it with direct
calls to the TC server / app, and all worked as expected.  

However when I set the tomcatAuthentication=false, my Tomcat app does
not run, and judging by the RequestDumperValve output, IIS is not
passing the user name to Tomcat, and it also reports status 403.

My long term goal is to use the asp.net authentication in the Tomcat
app, but in the short run I would just like to get anything working,
like the Windows user for example.

Any suggestions will be appreciated.  I have included a listing of the
RequestDumperValve output below.

Tracy Spratt

Catalina_log:

 REQUEST URI
=/flex/ltApplications/Clients/Patterson/FirePump.mxml.swf
   authType=
  characterEncoding=null
  contentLength=0
contentType=null
contextPath=/flex
 cookie=ASP.NET_SessionId=hqoaxr45jokfpzabz4giluft
 
cookie=Authenticate=7808CB3E915F5EBD2AC05801D91542013C4B04B39312E1B2335B
32395880A6C05638E108982CA4917853D032EC9EFD47EB20A56448A23EF3665B48F57F49
BD387D254B570373404A
 header=connection=Keep-Alive
 header=accept=*/*
 header=accept-encoding=gzip, deflate
 header=cookie=ASP.NET_SessionId=hqoaxr45jokfpzabz4giluft;
Authenticate=7808CB3E915F5EBD2AC05801D91542013C4B04B39312E1B2335B3239588
0A6C05638E108982CA4917853D032EC9EFD47EB20A56448A23EF3665B48F57F49BD387D2
54B570373404A
 header=host=www.lariatinc.com
 header=if-modified-since=Thu, 01 Sep 2005 21:43:30 GMT
 header=user-agent=Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; .NET CLR 1.1.4322)
 header=x-flash-version=7,0,35,29
 header=content-length=0
 locale=en_US
 method=GET
   pathInfo=null
   protocol=HTTP/1.1
queryString=null
 remoteAddr=172.31.255.55
 remoteHost=172.31.255.55
 remoteUser=
 requestedSessionId=null
 scheme=http
 serverName=www.lariatinc.com
 serverPort=80
servletPath=/ltApplications/Clients/Patterson/FirePump.mxml.swf
   isSecure=false
 ---
 ---
   authType=
  contentLength=-1
contentType=null
message=null
 remoteUser=
 status=403
 ===





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



Archive search is corrupted?

2005-09-01 Thread Tracy Spratt
Like a good newbie, I'm trying to first find my solution in the
Archives.  While I got several very good looking subject hits, when I
click the link to go to the thread, I find that the  message has nothing
to do with the subject.

Are some search sites better than others?  I am using
http://www.junlu.com.  
For example, the search:
isapi and authorization

returns three VERY interesting subjects, but none of them point to the
correct message.

Any pointers?

TIA,
Tracy Spratt




RE: Archive search is corrupted?

2005-09-01 Thread Tracy Spratt
Never mind, I found a site that works ok.

-Original Message-
From: Tracy Spratt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 01, 2005 4:59 PM
To: tomcat-user@jakarta.apache.org
Subject: Archive search is corrupted?

Like a good newbie, I'm trying to first find my solution in the
Archives.  While I got several very good looking subject hits, when I
click the link to go to the thread, I find that the  message has nothing
to do with the subject.

Are some search sites better than others?  I am using
http://www.junlu.com.  
For example, the search:
isapi and authorization

returns three VERY interesting subjects, but none of them point to the
correct message.

Any pointers?

TIA,
Tracy Spratt





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