tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Santiago Oyervides Gonzalez <jose.oyervi...@elnorte.com>
Subject RE: IIS ISAPI Redirect problems (was Re: context.xml question)
Date Wed, 18 Jun 2003 21:50:50 GMT
OK,
I'm having error 404, with MSIE, setting as proxy the server IP, port 80,
this way I can access the domains as they are been served in the machine.
I'm not doing this in production yet. I have the friendly error messages
turned off. BTW, If a access my domain setting the IE with server IP, port
8080 they all work.

In my IIS logs, I see error 404,( GET /examples/jsp - 404) like the requests
isn't passed to the isapi_redirector.dll, this is happening in the other
domains, default web site shows the hits of the isapi.

On the other hand, my isapi.log is showing this: (every time I access the
error)


jk_isapi_plugin.c (657)]: HttpFilterProc started
[jk_isapi_plugin.c (705)]: In HttpFilterProc Virtual Host redirection of
/some.mydomain.comhttp://some.mydomain.com/examples/jsp
 [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker
 [jk_uri_worker_map.c (464)]: Attempting to map URI
'/some.mydomain.comhttp://some.mydomain.com/examples/jsp'
 [jk_uri_worker_map.c (570)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
 [jk_isapi_plugin.c (711)]: In HttpFilterProc test Default redirection of
http://some.mydomain.com/examples/jsp
 [jk_uri_worker_map.c (447)]: Into jk_uri_worker_map_t::map_uri_to_worker
 [jk_uri_worker_map.c (566)]: In jk_uri_worker_map_t::map_uri_to_worker,
wrong parameters
 [jk_uri_worker_map.c (570)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
 [jk_isapi_plugin.c (775)]: HttpFilterProc
[http://some.mydomain.com/examples/jsp] is not a servlet url
 [jk_isapi_plugin.c (784)]: HttpFilterProc check if
[http://some.mydomain.com/examples/jsp] is points to the web-inf directory

I am replacing the real domain for some.mydomain.com, to avoid me problems.

My system:   W2K-IIS5, Tomcat 4.0.6. My uriworker.properties and
worker.properties are in the past mail.

Regards.
Jose Oyervides.

-----Original Message-----
From: Jason Bainbridge [mailto:jason@jblinux.org]
Sent: Wednesday, June 18, 2003 3:53 PM
To: Jose Santiago Oyervides Gonzalez
Cc: tomcat-user@jakarta.apache.org
Subject: IIS ISAPI Redirect problems (was Re: context.xml question)


G'day,

You're welcome. :) In future though I suggest you post questions to the list

and not direct to an individual you are much more likely to get help that 
way. :) (I've CC'd the list with this)

As to your problem, can you give a few more details? Is the 404 being thrown

by IIS or Tomcat? If you're using MSIE you will have to turn off friendly 
error messages to be able to see the 404 properly in your browser, that will

reveal where it is coming from.

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

On Thu, 19 Jun 2003 04:41, you wrote:
> Hi Jason,
> Thanks for answering me.
>
> I have several web-sites, and I'm trying to configure the isapi redirect
> for some of them, now it works for localhost, but I am having some problem
> with the other hosts?
>
> All the web-sites have their Jakarta Virtual Directory with the isapi
> loaded (green and up arrow), and the hosts are added in the server.xml, if
> I access them with port 8080, they work, but the redirect isn't working.
>
> This is my uriworker.properties:  (it is the default)
> /servlet/*=ajp13
> /examples/*=ajp13
>
> This is my worker.properties  (Also the default, just added the other
> hosts)
>
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp13
> worker.tomcat_home=D:\Tomcat4
> worker.java_home=C:\j2sdk1.4.0
> ps=#
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.host=mydomain.com
> worker.ajp13.host=myotherdomain.com
>-- 
Jason Bainbridge
http://jblinux.org
> My registry is fine, because the redirect is working for the localhost.
>
> I'm trying this configuration and it isn't working, (error 404) do you
know
> what could be causing this?
>
> Thanks
> Jose Oyervides.
>
>
>
> -----Original Message-----
> From: Jason Bainbridge [mailto:jason@jblinux.org]
> Sent: Wednesday, June 18, 2003 12:24 PM
> To: Tomcat Users List
> Subject: Re: context.xml question
>
> On Thu, 19 Jun 2003 01:15, Jose Santiago Oyervides Gonzalez wrote:
> > I've tried:
> >         <Host name="mydomain.com" debug="0" appBase="e:\webapps"
> > unpackWARs="true">
>
> Try a forward slash instead ie. e:/webapps or maybe a double backslash.
>
> Also is e: drive a local or network drive? If it is a Network drive you
> will
>
> need to use it's UNC name and the user that is running Tomcat will need
> access to the network ie. LocalSystem for an NT service won't work.
>
> Regards,

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message