Tomcat with remote context IIS redirect

2002-05-03 Thread Mohd Farid Ismail

Hi all,

I have configured my W2K machine to have Tomcat 4.0.1 and IIS 5
integrated.

The situation:
I want to store all my web files in another machine and remain
IIS/Tomcat in this machine.
Tomcat and IIS will refers to this files as in
\\machine2\directory2\webapps mapping.

Current configuration:
I add a context in server.xml as below:
Context path=/sample docBase=\\machine2\directory2\sample 
 debug=0 privileged=true/

With Tomcat  8080:
I managed to access the page correctly with this kind of URL
http://machine1:8080/sample/

The problem:
I can access it thru IIS redirect like this http://machine1/sample/. IIS
reports 'page not found'.

Other situation:
I managed to access locally configured Tomcat context such as
http://machine1/examples/ and http://machine1:8080/examples/ without any
problem.

Your help is truly appreciated!

Thanks

Regards
Farid


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




IIS redirect woes

2001-10-20 Thread David A. Fuess

I have been trying to get the isapi_redirct to work on one system for a 
couple of weeks now. The heck of it is that I have very similar setups at 
both home and work and the one at work sets up with no problems ...

Here is the setup ...
Windows2000 Professional
IIS 5.0
Java 1.3.1_01
Tomcat 3.2.3 (as a system service)

I followed all of the instruction for installing each piece and rechecked 
them all (many times). I also went through the troubleshooting and FAQ with 
no help. The problem is that I can open 
http://localhost:8080/examples/jsp/index.html with no problems but 
http://localhost/examples/jsp/index.html results in the following errors:

W3C Log:
15:57:57 24.12.1.167 GET /jakarta/isapi_redirect.dll 500

ISAPI Log:
[jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, 
NULL parameter
[jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_map_free, 
NULL parameters

Thanks
D.
 From the Desk of ...
David A. Fuess
[EMAIL PROTECTED], http://www.Fuess.Net




anyone know a way around having to use IIS redirect for caching static files when using tomcat 3.2.3 ?

2001-07-25 Thread Stephen Dittmer

I have found that using tomcat 3.2.3 requires use of this IIS redirect in
order to get around a problem in tomcat where it 
send the incorrect HTTP response for files not modified. This causes files
already in Browser cache to always get reloaded when they don't need to.
I am wondering if anyone knows a way around this problem without having to
use IIS redirect.  

Stephen




IIS Redirect Issue

2001-07-18 Thread Josh Kuebel

I have configured Tomcat with IIS, using the Isapi_redirect.dll. The isapi
filter is up and running, and I have the jakarta virtual directory with
execute authority.

Yet, when I attempt to access the page, I can only get to it using the port
number of the tomcat engine (ex. mydomain.com:8080/path). If I leave out the
port, I get directed to a popup login screen with a header Enter username
and password for unknown at 'domain name' Is this a known issue. I am
running on Windows NT 4.0 SP6, with IIS 4.0. Tomcat v.3.2.1.

Any help would be appreciated

Thank you

Joshua M. Kuebel
[EMAIL PROTECTED]




RE: IIS Redirect Issue

2001-07-18 Thread Cory Powers

Sounds like a filesystem premission thing, Do you need to add the
IUSR_MACHINENAME Account file access permissions in the tomcat dirs?

-Original Message-
From: Josh Kuebel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: IIS Redirect Issue


I have configured Tomcat with IIS, using the Isapi_redirect.dll. The isapi
filter is up and running, and I have the jakarta virtual directory with
execute authority.

Yet, when I attempt to access the page, I can only get to it using the port
number of the tomcat engine (ex. mydomain.com:8080/path). If I leave out the
port, I get directed to a popup login screen with a header Enter username
and password for unknown at 'domain name' Is this a known issue. I am
running on Windows NT 4.0 SP6, with IIS 4.0. Tomcat v.3.2.1.

Any help would be appreciated

Thank you

Joshua M. Kuebel
[EMAIL PROTECTED]



RE: IIS Redirect Issue

2001-07-18 Thread Andrew Birchall

Can you view the examples servlets through IIS?
You may have to mount your webapp context to the ajp12 worker in
conf\uriworkermap.properties the same way that examples does, i.e /examples/*=ajp12
Regards
Andy B

-Original Message-
From: Josh Kuebel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: IIS Redirect Issue


I have configured Tomcat with IIS, using the Isapi_redirect.dll. The isapi
filter is up and running, and I have the jakarta virtual directory with
execute authority.

Yet, when I attempt to access the page, I can only get to it using the port
number of the tomcat engine (ex. mydomain.com:8080/path). If I leave out the
port, I get directed to a popup login screen with a header Enter username
and password for unknown at 'domain name' Is this a known issue. I am
running on Windows NT 4.0 SP6, with IIS 4.0. Tomcat v.3.2.1.

Any help would be appreciated

Thank you

Joshua M. Kuebel
[EMAIL PROTECTED]




RE: IIS Redirect - no more POST parameters

2001-05-13 Thread Stephen Oakes


 Servlets that we have been running on Tomcat have been 
 picking up parameters
 from doPost whilst it was referenced by specific port. Having now
 re-configured IIS to redirect to Tomcat it seems that the 
 parameters are not
 being passed through?

Have you tried rebooting the server running IIS?

It worked for me, for some strange reason.

--
Stephen Oakes



RE: IIS Redirect - no more POST parameters

2001-05-13 Thread Jack Hui


I got the same problem too but I'm using Apache and Tomcat 4 beta-1 with
mod_web, so for the form stuff, we changed to use PHP instead of JSP

Jack

-Original Message-
From: Stephen Oakes [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 7:35 AM
To: '[EMAIL PROTECTED]'
Subject: RE: IIS Redirect - no more POST parameters



 Servlets that we have been running on Tomcat have been 
 picking up parameters
 from doPost whilst it was referenced by specific port. Having now
 re-configured IIS to redirect to Tomcat it seems that the 
 parameters are not
 being passed through?

Have you tried rebooting the server running IIS?

It worked for me, for some strange reason.

--
Stephen Oakes



RE: IIS Redirect - no more POST parameters

2001-05-13 Thread Michael Zolotarev

A few days ago i've reported the same problem: parameters of the form with
method=post are lost when redirected from IIS to tomcat.

However, everything seems to work if you have redirection configured at the
top level, with a global filter defined for your web site, and proper
entries in uriworkermap.
But once you configure redirection at the IIS application level (i.e. *.jsp
- isapi_redirect.dll), and remove the entry from uriworkermap (so that the
global filter doesn't capture the request), the parameters of the form are
gone. Well, only for POST. GET still works.

Unfortunately, sometimes you have to use application-level redirection -
this is the only way I could have my request.GetRemoteUser return proper
value. With global redirection, it never works - isapi grabs the request
before IIS applies its security methods to it.

Michael

 -Original Message-
 From: Jack Hui [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 14 May 2001 11:45
 To: '[EMAIL PROTECTED]'
 Subject: RE: IIS Redirect - no more POST parameters
 
 
 
 I got the same problem too but I'm using Apache and Tomcat 4 
 beta-1 with
 mod_web, so for the form stuff, we changed to use PHP instead of JSP
 
 Jack
 
 -Original Message-
 From: Stephen Oakes [mailto:[EMAIL PROTECTED]]
 Sent: Monday, May 14, 2001 7:35 AM
 To: '[EMAIL PROTECTED]'
 Subject: RE: IIS Redirect - no more POST parameters
 
 
 
  Servlets that we have been running on Tomcat have been 
  picking up parameters
  from doPost whilst it was referenced by specific port. Having now
  re-configured IIS to redirect to Tomcat it seems that the 
  parameters are not
  being passed through?
 
 Have you tried rebooting the server running IIS?
 
 It worked for me, for some strange reason.
 
 --
 Stephen Oakes
 
 
 This footnote confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses.
 


-
The information contained in this message is confidential and is intended 
for the addressee(s) only.  If you have received this message in error or 
there are any problems please notify the originator immediately.  The 
unauthorized use, disclosure, copying or alteration of this message is 
strictly forbidden. Baltimore Technologies plc will not be liable for direct, 
special, indirect or consequential damages arising from alteration of the 
contents of this message by a third party or as a result of any virus being 
passed on.

In addition, certain Marketing collateral may be added from time to time to 
promote Baltimore Technologies products, services, Global e-Security or 
appearance at trade shows and conferences.
 
This footnote confirms that this email message has been swept by 
Baltimore MIMEsweeper for Content Security threats, including
computer viruses.



IIS Redirect - no more POST parameters

2001-05-10 Thread Glyn Walters

Hi

Servlets that we have been running on Tomcat have been picking up parameters
from doPost whilst it was referenced by specific port. Having now
re-configured IIS to redirect to Tomcat it seems that the parameters are not
being passed through?

I noticed some threads on this in the archive but could not find out if the
issue had been resolved. Can anybody help with this?

Thanks
Glyn




IIS redirect

2001-04-11 Thread Faisal Mehtab Hussain

Hello,

I have installed tomcat-3.2.1 (release) in my NT machine, I have defined all
the possible setting that the document defined for Tomcat IIS how to?,
Tomcat running fine with its given servlets and jsp examples as
http://localhost:8080/examples/jsp/index.html, but when I try to access it
through IIS it doesn't work. The following error occurs in IIS log file.

127.0.0.1, -, 4/11/01, 11:58:31, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0, 500,
126, GET, /jakarta/isapi_redirect.dll, -,
127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 0, 342, 0, 500,
126, GET, /jakarta/isapi_redirect.dll, -,
127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0, 500,
126, GET, /jakarta/isapi_redirect.dll, -,

Please, help me to solve this problem.

Regards,
Faisal Mehtab Hussain
Internet Programmer
OgerTel Internet Services
Tel: (966-1) 465-0300 Ext.(138)
Fax: (966-1) 464-5200
Email: [EMAIL PROTECTED]




RE: IIS redirect

2001-04-11 Thread k won

thank you very much.  This solved my problem as well!



From: GASNIER Lise [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: IIS redirect
Date: Wed, 11 Apr 2001 11:15:59 +0200

Hello,
Did you insert the full path to isapi_redirect in the lists of dlls in the
registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters?
If you did so, that's the origin of your problem: you don't have to insert
the full path but the path up until the directory containing
isapi_redirect.dll
Hope it will help
Bye
Lise

  -Message d'origine-
  De: Faisal Mehtab Hussain [SMTP:[EMAIL PROTECTED]]
  Date:   mercredi 11 avril 2001 11:08
  À:  [EMAIL PROTECTED]
  Objet:  IIS redirect
 
  Hello,
 
  I have installed tomcat-3.2.1 (release) in my NT machine, I have defined
  all
  the possible setting that the document defined for Tomcat IIS how to?,
  Tomcat running fine with its given servlets and jsp examples as
  http://localhost:8080/examples/jsp/index.html, but when I try to access 
it
  through IIS it doesn't work. The following error occurs in IIS log file.
 
  127.0.0.1, -, 4/11/01, 11:58:31, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0,
  500,
  126, GET, /jakarta/isapi_redirect.dll, -,
  127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 0, 342, 0,
  500,
  126, GET, /jakarta/isapi_redirect.dll, -,
  127.0.0.1, -, 4/11/01, 11:58:33, W3SVC1, DEV-01, 127.0.0.1, 10, 342, 0,
  500,
  126, GET, /jakarta/isapi_redirect.dll, -,
 
  Please, help me to solve this problem.
 
  Regards,
  Faisal Mehtab Hussain
  Internet Programmer
  OgerTel Internet Services
  Tel: (966-1) 465-0300 Ext.(138)
  Fax: (966-1) 464-5200
  Email: [EMAIL PROTECTED]

_
Get your FREE download of MSN Explorer at http://explorer.msn.com