RE: Tomcat and IIS - I almost have it working, but...

2008-07-16 Thread Michael Dubno
I just checked the documentation on the website and the changes look
great.
Thanks for the quick update.
- Mike

-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2008 4:10 PM
To: Tomcat Users List
Subject: Re: Tomcat and IIS - I almost have it working, but...

Michael Dubno schrieb:
> Thanks for the help!
> The problem was a missing step in the configuration document
> (http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html )
> which I found in
http://www.cflex.net/showFileDetails.cfm?ObjectID=296)
> -
> 
> 
> Next add a Web Service Extension.  This needs to be done manually
> because the install works for IIS 5 and 6, but "Web Service Extension"
> only applies to IIS 6.
> 
> Open the ... Administrative Tools, Internet Information Services
> console. 
> In the tree on the left, click " Web Service Extensions" 
> In the right hand pane, click "Add a new Web Service Extension" 
> For the Extension Name, enter: Jakarta Tomcat 
> Click the "Add" button. 
> Browse and select C:\Program Files\Apache Software Foundation\Jakarta
> Isapi Redirector\bin\isapi_redirector.dll 
> Click the "Allow" button.  DO NOT MISS THIS STEP! 
> From the "Services"  MMC, restart "IIS Admin"
> 
> If someone could update the document that would be great!
> Thanks again - Mike

Thanks for the information. We already got that feedback (didn't know 
though, that it triggers your symptom) and had the additional text in 
the latest docs version in the repository. But we usually publish the 
updated docs, when the next release is done. In this case, I now updated

that single web page. It should be visible after the next sync in a few 
hours. Sorry for reacting so late and thanks for reassuring us, that 
this *is* a problem.

Regards,

Rainer

> -Original Message-
> From: Rainer Jung [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, July 12, 2008 8:02 AM
> To: Tomcat Users List
> Subject: Re: Tomcat and IIS - I almost have it working, but...
> 
> Michael Dubno schrieb:
>> I have (as far as I can tell) an IIS 6.0 server configured to
redirect
>> requests to a Tomcat 4.1.24 server. Except it doesn't seem to
actually
>> send the forwarded URL to the Tomcat server.  The configuration seems
> to
>> be correct on the IIS server. Here is the isapi.log excerpt -
> 
> ...
> 
>> [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
>> (1336): fowarding escaped URI [/homeserver/servlet/Home]
>>
>> Even though the last line in the log says that it is forwarding an
>> uscaped URI nothing seems to actually be forwarded to the Tomcat
> server.
>> The Tomcat's log files show no activity but I know the ajp13 service
> is
>> listening because if I telnet to port 8009 on the machine and type
> junk
>> it appears as a hex dump in the log file.  Here are the configuration
>> files on the IIS server -
> 
>> So it looks to me like everything is running except for some reason
> the
>> forwarded URI never makes it to the Tomcat server. All I get is "page
>> not found" errors when I try using a browser.  Any help to get this
>> working would be greatly appreciated since I'm trying to move off of
a
>> dying linux box.
> 
> 
> I would expect, that something with the IIS setup is still not
correct.
> The extension would log a line like
> 
> Service protocol=%s method=%s host=%s addr=%s name=%s port=%d auth=%s 
> user=%s uri=%s
> 
> with log level debug, immediately before it actually tries to send 
> somethin to Tomcat.
> 
> There are some additional hints about the isapi plugin and IIS 6:
> 
> http://marc.info/?l=tomcat-user&m=121159642020411&w=2
> http://marc.info/?l=tomcat-user&m=121154940112993&w=2
> 
> Do they help?
> 
> Regards,
> 
> Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat and IIS - I almost have it working, but...

2008-07-16 Thread Michael Dubno
Thanks for the help!
The problem was a missing step in the configuration document
(http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html )
which I found in http://www.cflex.net/showFileDetails.cfm?ObjectID=296)
-


Next add a Web Service Extension.  This needs to be done manually
because the install works for IIS 5 and 6, but "Web Service Extension"
only applies to IIS 6.

Open the ... Administrative Tools, Internet Information Services
console. 
In the tree on the left, click " Web Service Extensions" 
In the right hand pane, click "Add a new Web Service Extension" 
For the Extension Name, enter: Jakarta Tomcat 
Click the "Add" button. 
Browse and select C:\Program Files\Apache Software Foundation\Jakarta
Isapi Redirector\bin\isapi_redirector.dll 
Click the "Allow" button.  DO NOT MISS THIS STEP! 
>From the "Services"  MMC, restart "IIS Admin"

If someone could update the document that would be great!
Thanks again - Mike


-Original Message-
From: Rainer Jung [mailto:[EMAIL PROTECTED] 
Sent: Saturday, July 12, 2008 8:02 AM
To: Tomcat Users List
Subject: Re: Tomcat and IIS - I almost have it working, but...

Michael Dubno schrieb:
> I have (as far as I can tell) an IIS 6.0 server configured to redirect
> requests to a Tomcat 4.1.24 server. Except it doesn't seem to actually
> send the forwarded URL to the Tomcat server.  The configuration seems
to
> be correct on the IIS server. Here is the isapi.log excerpt -

...

> [Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
> (1336): fowarding escaped URI [/homeserver/servlet/Home]
> 
> Even though the last line in the log says that it is forwarding an
> uscaped URI nothing seems to actually be forwarded to the Tomcat
server.
> The Tomcat's log files show no activity but I know the ajp13 service
is
> listening because if I telnet to port 8009 on the machine and type
junk
> it appears as a hex dump in the log file.  Here are the configuration
> files on the IIS server -

> So it looks to me like everything is running except for some reason
the
> forwarded URI never makes it to the Tomcat server. All I get is "page
> not found" errors when I try using a browser.  Any help to get this
> working would be greatly appreciated since I'm trying to move off of a
> dying linux box.


I would expect, that something with the IIS setup is still not correct.
The extension would log a line like

Service protocol=%s method=%s host=%s addr=%s name=%s port=%d auth=%s 
user=%s uri=%s

with log level debug, immediately before it actually tries to send 
somethin to Tomcat.

There are some additional hints about the isapi plugin and IIS 6:

http://marc.info/?l=tomcat-user&m=121159642020411&w=2
http://marc.info/?l=tomcat-user&m=121154940112993&w=2

Do they help?

Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Any experts on jk_isapi_plugin have any idea what I did wrong?

2008-07-10 Thread Michael Dubno

-Original Message-
From: Michael Dubno [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 08, 2008 3:55 PM
To: users@tomcat.apache.org
Subject: Tomcat and IIS - I almost have it working, but...

I have (as far as I can tell) an IIS 6.0 server configured to redirect
requests to a Tomcat 4.1.24 server. Except it doesn't seem to actually
send the forwarded URL to the Tomcat server.  The configuration seems to
be correct on the IIS server. Here is the isapi.log excerpt -

 

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1199): Filter started

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(682): Attempting to map URI '/192.168.2.74/homeserver/servlet/Home'
from 1 maps

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(503): Attempting to map context URI '/homeserver/*=homeserver' source
'uriworkermap'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(503): Attempting to map context URI '/homeserver/*=homeserver' source
'uriworkermap'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(516): Found a wildchar match '/homeserver/*=homeserver'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1277): check if [/homeserver/servlet/Home] points to the web-inf
directory

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1294): [/homeserver/servlet/Home] is a servlet url - should redirect to
homeserver

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1336): fowarding escaped URI [/homeserver/servlet/Home]

 

Even though the last line in the log says that it is forwarding an
uscaped URI nothing seems to actually be forwarded to the Tomcat server.
The Tomcat's log files show no activity but I know the ajp13 service is
listening because if I telnet to port 8009 on the machine and type junk
it appears as a hex dump in the log file.  Here are the configuration
files on the IIS server -

 

uriworkermap.properties:

/homeserver/*=homeserver

 

workers.properties:

# Define 1 real worker using ajp13

worker.list=homeserver

# Set properties for homeserver (ajp13)

worker.homeserver.type=ajp13

worker.homeserver.host=192.168.2.10

worker.homeserver.port=8009

 

Here is a snippet of catalina.out on the Tomcat server -

===

Ajp13Connector active threads=6

java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10]

Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]]

===

 

And here is the server.xml on the Tomcat server -



  



 



 



  

  

  



  



  



 

So it looks to me like everything is running except for some reason the
forwarded URI never makes it to the Tomcat server. All I get is "page
not found" errors when I try using a browser.  Any help to get this
working would be greatly appreciated since I'm trying to move off of a
dying linux box.

Thanks - Mike


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat and IIS - I almost have it working, but...

2008-07-08 Thread Michael Dubno
I have (as far as I can tell) an IIS 6.0 server configured to redirect
requests to a Tomcat 4.1.24 server. Except it doesn't seem to actually
send the forwarded URL to the Tomcat server.  The configuration seems to
be correct on the IIS server. Here is the isapi.log excerpt -

 

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1199): Filter started

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(682): Attempting to map URI '/192.168.2.74/homeserver/servlet/Home'
from 1 maps

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(503): Attempting to map context URI '/homeserver/*=homeserver' source
'uriworkermap'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(503): Attempting to map context URI '/homeserver/*=homeserver' source
'uriworkermap'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_uri_worker_map.c
(516): Found a wildchar match '/homeserver/*=homeserver'

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1277): check if [/homeserver/servlet/Home] points to the web-inf
directory

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1294): [/homeserver/servlet/Home] is a servlet url - should redirect to
homeserver

[Tue Jul 08 15:23:10.926 2008] [7772:7804] [debug] jk_isapi_plugin.c
(1336): fowarding escaped URI [/homeserver/servlet/Home]

 

Even though the last line in the log says that it is forwarding an
uscaped URI nothing seems to actually be forwarded to the Tomcat server.
The Tomcat's log files show no activity but I know the ajp13 service is
listening because if I telnet to port 8009 on the machine and type junk
it appears as a hex dump in the log file.  Here are the configuration
files on the IIS server -

 

uriworkermap.properties:

/homeserver/*=homeserver

 

workers.properties:

# Define 1 real worker using ajp13

worker.list=homeserver

# Set properties for homeserver (ajp13)

worker.homeserver.type=ajp13

worker.homeserver.host=192.168.2.10

worker.homeserver.port=8009

 

Here is a snippet of catalina.out on the Tomcat server -

===

Ajp13Connector active threads=6

java.lang.ThreadGroup[name=Ajp13Connector[8009],maxpri=10]

Thread[Ajp13Connector[8009],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][0],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][1],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][2],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][3],5,Ajp13Connector[8009]]

Thread[Ajp13Processor[8009][4],5,Ajp13Connector[8009]]

===

 

And here is the server.xml on the Tomcat server -



  



 



 



  

  

  



  



  



 

So it looks to me like everything is running except for some reason the
forwarded URI never makes it to the Tomcat server. All I get is "page
not found" errors when I try using a browser.  Any help to get this
working would be greatly appreciated since I'm trying to move off of a
dying linux box.

Thanks - Mike