You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thomas Nybro Bolding <th...@danskebank.dk> on 2005/04/26 16:59:48 UTC

Vedr.: Re: Vedr.: ISAPI_REDIRECT

Hi Tony,
my own experience with IIS 6.0 is rather limited as our production 
environment is Win2K, but I have seen several posts where people have put 
IIS 6.0 in IIS5.0 isolation mode?

Another possibility is that your configuration files are broken (have you 
configured the jk connector etc.) Try posting these as well.

/Thomas





"Tony Nakamura" <to...@uickarate.com>
26-04-2005 16:45
Besvar venligst til "Tomcat Users List"

 
        Til:    "Tomcat Users List" <to...@jakarta.apache.org>
        cc: 
        Vedr.:  Re: Vedr.: ISAPI_REDIRECT



Hello Thomas,

Thank for the reply.  I failed to mention, but I've setup the Web Service
Entention to the isapi_redirect.dll and gave an "allow" permission.  I 
used
isapi_redirect-1.2.10.exe, so it should have setup all of the settings
correctly.  One other weird thing is that isapi_redirect.log does not have
any output.

Thank you,


Tony



----- Original Message ----- 
From: "Thomas Nybro Bolding" <th...@danskebank.dk>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, April 26, 2005 8:55 AM
Subject: Vedr.: ISAPI_REDIRECT


> From
>
> http://www.reynir.net/java/greinar/nr/52
>
>
> If you are using IIS V6, which ships with Windows Server 2003, you must
> allow the "Web Service Extension" to operate. Earlier versions of IIS 
did
> not require this step. Using the IIS Internet Services Manager, click on
> the Web Services Extensions item in the left hand pane. In the right 
hand
> pane add a new Web Service Extension called, give it a name, and browse
> and set the required file for this extension to the isapi_redirect.dll 
and
> set the status to allowed. Then restart IIS.
>
> Best regards Thomas
>
>
>
>
>
>
> "Tony Nakamura" <to...@uickarate.com>
> 26-04-2005 14:47
> Besvar venligst til "Tomcat Users List"
>
>
>         Til:    <to...@jakarta.apache.org>
>         cc:
>         Vedr.:  ISAPI_REDIRECT
>
>
>
> Hi,
>
> It seems like ISAPI filter for IIS is a common hurdle for many people to
> get it working, and I'm no exception.
> My environment is as following:
>
> Tomcat 5.0.28
> IIS 6.0
> Win 2003 Server
> ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
>
> I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the
> ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't forward
> the request correctly to Tomcat, with IIS logging "Error 404 - File not
> Found" error.  Tomcat is working fine on port 8080.
>
> Could anyone give me a direction on what could possibly be wrong?
>
>
> Thank you,
>
>
> Tony
>
>
>
>
> <FONT SIZE=1 FACE="Arial">_______________
> Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores overbevisning 
er
fri for virus og andre fejl, som kan paavirke computeren eller 
it-systemet,
hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi
paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by reynir <re...@hugsmidjan.is>.
hi Tony,

That is weird, I would have thought IIS should throw some other error
message (not the File not found), something like 401 (not authorized).
But at least you solved your problem so congratulations. Do you have any
references to this from microsoft ?

bye
-reynir


Tony Nakamura wrote:

>Hi Reynir,
>
>I got it working.  I put isapi dll in the /bin directory, but IIS was
>rejecting because there were many batches and exe files in the same
>directory.  Since the jakarta virtual directory is given execute permission
>for both scripts and executables, it was throwing 404 error because it's a
>security risk to execute such files locally on the server.  So I simply
>created another folder with just the dll in it and had virtual directory
>point to the directory.
>
>Thank you for your help!
>
>
>
>Tony
>
>
>----- Original Message ----- 
>From: "reynir" <re...@hugsmidjan.is>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Wednesday, April 27, 2005 8:57 AM
>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>
>
>  
>
>>well,
>>the fact that you are getting 404 error from IIS really means that IIS
>>is receiving the request, and forwarding it to
>>/jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the
>>folder that the DLL is positioned in. If the 404 is coming from IIS (as
>>it seems) it's obviously not finding this path. you should be able to
>>see it by viewing the accesslog of IIS it should show this path
>>"/jakarta/isapi_redirect.dll" and the error code 404 if it's not found
>>but 200 or something else if it's there.
>>check again if this part of the setup is correct, sometimes the
>>difference is the name of the dll, some name it "isapi_redirector.dll"
>>but not "isapi_redirect.dll" and since the registry entry specifies the
>>full name of the dll this must be correct.
>>
>>again, hope it helps.
>>-reynir
>>
>>
>>
>>Tony Nakamura wrote:
>>
>>    
>>
>>>Hi Reynir,
>>>
>>>I checked the server.xml, and it does have 8009 setting for listner ports
>>>uncommented.
>>>I have /jakarta virtual folder in IIS.
>>>
>>>I'm really confused as to what could be wrong...
>>>
>>>Thank you,
>>>
>>>
>>>Tony
>>>
>>>
>>>----- Original Message ----- 
>>>From: "reynir" <re...@hugsmidjan.is>
>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>Sent: Wednesday, April 27, 2005 4:47 AM
>>>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>hi,
>>>>
>>>>do you have the connector on port 8009 in your tomcat ?
>>>>do you have the /jakarta virtual folder in IIS ?
>>>>
>>>>hope it helps
>>>>-reynir
>>>>
>>>>
>>>>Tony Nakamura wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hi Reynir,
>>>>>
>>>>>Yes, the tomcat is on localhost, and I'm trying to access directly from
>>>>>
>>>>>
>>>>>          
>>>>>
>>>the
>>>
>>>
>>>      
>>>
>>>>>server right now.
>>>>>I can access the site with: http://localhost:8080/test/login.jsp but
>>>>>          
>>>>>
>not
>  
>
>>>>>without specifying 8080 port.
>>>>>404 is from IIS log, and it seems to have changed from 404:03 to
>>>>>          
>>>>>
>404:02.
>  
>
>>>>>Just for kicks, I also tried to replace localhost with an ip address,
>>>>>          
>>>>>
>but
>  
>
>>>>>          
>>>>>
>>>it
>>>
>>>
>>>      
>>>
>>>>>was the same result.
>>>>>
>>>>>
>>>>>Thanks,
>>>>>
>>>>>
>>>>>Tony
>>>>>
>>>>>
>>>>>----- Original Message ----- 
>>>>>From: "reynir" <re...@hugsmidjan.is>
>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>Sent: Tuesday, April 26, 2005 11:48 AM
>>>>>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>Looks like the isapi_redirector is forwarding the request to the
>>>>>>"localhost" host of your tomcat setup. is it there ?
>>>>>>Check the access logs on the tomcat application. See if it's receiving
>>>>>>the request.
>>>>>>
>>>>>>your error message, the 404, is it from tomcat (the blue one) or is it
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>from IIS ?
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>hope it helps,
>>>>>>- reynir
>>>>>>
>>>>>>Tony Nakamura wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>I uninstalled the exe version of isapi_redirect and decided to
>>>>>>>              
>>>>>>>
>manually
>  
>
>>>>>>>configure them.
>>>>>>>As a result, I got the green arrow, and I'm able to see output in the
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>log
>>>
>>>
>>>      
>>>
>>>>>>>file given isapi_redirect runs
>>>>>>>in debug mode.  The log looks like the following.  This log from when
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>I'm
>>>
>>>
>>>      
>>>
>>>>>>>trying to run the IIS in 5.0 isolation mode.
>>>>>>>There is no output in the log file when I set the log level to
>>>>>>>              
>>>>>>>
>"error",
>  
>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>but
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>I still get 404 File Not Found error when I try to access
>>>>>>>http://localhost/test/login.jsp
>>>>>>>
>>>>>>>
>>>>>>>Thanks!
>>>>>>>
>>>>>>>
>>>>>>>Tony
>>>>>>>
>>>>>>>
>>>>>>>==============
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1040): Using registry.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1044): Using log level 1.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1045): Using extension uri /jakarta/isapi_redirect.dll.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1047): Using worker mount file
>>>>>>>C:\tomcat5.0.28\conf\uriworkermap.properties.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>init_jk::jk_isapi_plugin.c
>>>
>>>
>>>      
>>>
>>>>>>>(1049): Using uri select 0.
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
>>>>>>>/*jsp=main was added
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>build_worker_map::jk_worker.c
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>(196): creating worker main
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>wc_create_worker::jk_worker.c
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>(120): about to create instance main of ajp13
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>wc_create_worker::jk_worker.c
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>(133): about to validate and init main
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>ajp_validate::jk_ajp_common.c
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>(1721): worker main contact is localhost:8009
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1767): setting socket keepalive to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1806): setting socket timeout to -1
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1810): setting connection recycle timeout to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1814): setting cache timeout to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1818): setting connect timeout to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1822): setting reply timeout to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1826): setting prepost timeout to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1830): setting recovery opts to 0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1834): setting number of retries to 3
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>              
>>>>>>>
>ajp_init::jk_ajp_common.c
>  
>
>>>>>>>(1854): setting connection cache size to 1
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>build_worker_map::jk_worker.c
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>(208): removing old main worker
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
>>>>>>>/localhost/test/login.jsp
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
>>>>>>>'/localhost/test/login.jsp' from 1 maps
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map
>>>>>>>              
>>>>>>>
>context
>  
>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>URI
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>'/*jsp'
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>match
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>main -> *jsp
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp]
>>>>>>>              
>>>>>>>
>is
>  
>
>>>>>>>points to the web-inf directory
>>>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>>>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a
>>>>>>>              
>>>>>>>
>servlet
>  
>
>>>>>>>url - should redirect to main
>>>>>>>=====================
>>>>>>>----- Original Message ----- 
>>>>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>>>Sent: Tuesday, April 26, 2005 9:59 AM
>>>>>>>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>>>Hi Tony,
>>>>>>>>my own experience with IIS 6.0 is rather limited as our production
>>>>>>>>environment is Win2K, but I have seen several posts where people
>>>>>>>>                
>>>>>>>>
>have
>  
>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>put
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>IIS 6.0 in IIS5.0 isolation mode?
>>>>>>>>
>>>>>>>>Another possibility is that your configuration files are broken
>>>>>>>>                
>>>>>>>>
>(have
>  
>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>you
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>configured the jk connector etc.) Try posting these as well.
>>>>>>>>
>>>>>>>>/Thomas
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>>>>>26-04-2005 16:45
>>>>>>>>Besvar venligst til "Tomcat Users List"
>>>>>>>>
>>>>>>>>
>>>>>>>>     Til:    "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>>>>     cc:
>>>>>>>>     Vedr.:  Re: Vedr.: ISAPI_REDIRECT
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>Hello Thomas,
>>>>>>>>
>>>>>>>>Thank for the reply.  I failed to mention, but I've setup the Web
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>Service
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>Entention to the isapi_redirect.dll and gave an "allow" permission.
>>>>>>>>                
>>>>>>>>
>I
>  
>
>>>>>>>>used
>>>>>>>>isapi_redirect-1.2.10.exe, so it should have setup all of the
>>>>>>>>                
>>>>>>>>
>settings
>  
>
>>>>>>>>correctly.  One other weird thing is that isapi_redirect.log does
>>>>>>>>                
>>>>>>>>
>not
>  
>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>have
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>any output.
>>>>>>>>
>>>>>>>>Thank you,
>>>>>>>>
>>>>>>>>
>>>>>>>>Tony
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>----- Original Message ----- 
>>>>>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>>>>Sent: Tuesday, April 26, 2005 8:55 AM
>>>>>>>>Subject: Vedr.: ISAPI_REDIRECT
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>From
>>>>>>>>>
>>>>>>>>>http://www.reynir.net/java/greinar/nr/52
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>If you are using IIS V6, which ships with Windows Server 2003, you
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>must
>>>
>>>
>>>      
>>>
>>>>>>>>>allow the "Web Service Extension" to operate. Earlier versions of
>>>>>>>>>                  
>>>>>>>>>
>IIS
>  
>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>did
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>not require this step. Using the IIS Internet Services Manager,
>>>>>>>>>                  
>>>>>>>>>
>click
>  
>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>on
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>>the Web Services Extensions item in the left hand pane. In the
>>>>>>>>>                  
>>>>>>>>>
>right
>  
>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>hand
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>pane add a new Web Service Extension called, give it a name, and
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>browse
>>>
>>>
>>>      
>>>
>>>>>>>>>and set the required file for this extension to the
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>isapi_redirect.dll
>>>
>>>
>>>      
>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>and
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>>>set the status to allowed. Then restart IIS.
>>>>>>>>>
>>>>>>>>>Best regards Thomas
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>>>>>>26-04-2005 14:47
>>>>>>>>>Besvar venligst til "Tomcat Users List"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>     Til:    <to...@jakarta.apache.org>
>>>>>>>>>     cc:
>>>>>>>>>     Vedr.:  ISAPI_REDIRECT
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Hi,
>>>>>>>>>
>>>>>>>>>It seems like ISAPI filter for IIS is a common hurdle for many
>>>>>>>>>                  
>>>>>>>>>
>people
>  
>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>to
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>>get it working, and I'm no exception.
>>>>>>>>>My environment is as following:
>>>>>>>>>
>>>>>>>>>Tomcat 5.0.28
>>>>>>>>>IIS 6.0
>>>>>>>>>Win 2003 Server
>>>>>>>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
>>>>>>>>>
>>>>>>>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and
>>>>>>>>>                  
>>>>>>>>>
>got
>  
>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>the
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>forward
>>>
>>>
>>>      
>>>
>>>>>>>>>the request correctly to Tomcat, with IIS logging "Error 404 - File
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>not
>>>
>>>
>>>      
>>>
>>>>>>>>>Found" error.  Tomcat is working fine on port 8080.
>>>>>>>>>
>>>>>>>>>Could anyone give me a direction on what could possibly be wrong?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Thank you,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Tony
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>><FONT SIZE=1 FACE="Arial">_______________
>>>>>>>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>overbevisning
>>>
>>>
>>>      
>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                  
>>>>>>>>>
>>>>>>>>er
>>>>>>>>fri for virus og andre fejl, som kan paavirke computeren eller
>>>>>>>>it-systemet,
>>>>>>>>hvori den modtages og laeses, aabnes den paa modtagerens eget
>>>>>>>>                
>>>>>>>>
>ansvar.
>  
>
>>>>>>>>                
>>>>>>>>
>>>Vi
>>>
>>>
>>>      
>>>
>>>>>>>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                
>>>>>>>>
>>>>>>>---------------------------------------------------------------------
>>>>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>---------------------------------------------------------------------
>>>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by Tony Nakamura <to...@uickarate.com>.
Hi Reynir,

I got it working.  I put isapi dll in the /bin directory, but IIS was
rejecting because there were many batches and exe files in the same
directory.  Since the jakarta virtual directory is given execute permission
for both scripts and executables, it was throwing 404 error because it's a
security risk to execute such files locally on the server.  So I simply
created another folder with just the dll in it and had virtual directory
point to the directory.

Thank you for your help!



Tony


----- Original Message ----- 
From: "reynir" <re...@hugsmidjan.is>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, April 27, 2005 8:57 AM
Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT


> well,
> the fact that you are getting 404 error from IIS really means that IIS
> is receiving the request, and forwarding it to
> /jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the
> folder that the DLL is positioned in. If the 404 is coming from IIS (as
> it seems) it's obviously not finding this path. you should be able to
> see it by viewing the accesslog of IIS it should show this path
> "/jakarta/isapi_redirect.dll" and the error code 404 if it's not found
> but 200 or something else if it's there.
> check again if this part of the setup is correct, sometimes the
> difference is the name of the dll, some name it "isapi_redirector.dll"
> but not "isapi_redirect.dll" and since the registry entry specifies the
> full name of the dll this must be correct.
>
> again, hope it helps.
> -reynir
>
>
>
> Tony Nakamura wrote:
>
> >Hi Reynir,
> >
> >I checked the server.xml, and it does have 8009 setting for listner ports
> >uncommented.
> >I have /jakarta virtual folder in IIS.
> >
> >I'm really confused as to what could be wrong...
> >
> >Thank you,
> >
> >
> >Tony
> >
> >
> >----- Original Message ----- 
> >From: "reynir" <re...@hugsmidjan.is>
> >To: "Tomcat Users List" <to...@jakarta.apache.org>
> >Sent: Wednesday, April 27, 2005 4:47 AM
> >Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >
> >
> >
> >
> >>hi,
> >>
> >>do you have the connector on port 8009 in your tomcat ?
> >>do you have the /jakarta virtual folder in IIS ?
> >>
> >>hope it helps
> >>-reynir
> >>
> >>
> >>Tony Nakamura wrote:
> >>
> >>
> >>
> >>>Hi Reynir,
> >>>
> >>>Yes, the tomcat is on localhost, and I'm trying to access directly from
> >>>
> >>>
> >the
> >
> >
> >>>server right now.
> >>>I can access the site with: http://localhost:8080/test/login.jsp but
not
> >>>without specifying 8080 port.
> >>>404 is from IIS log, and it seems to have changed from 404:03 to
404:02.
> >>>
> >>>Just for kicks, I also tried to replace localhost with an ip address,
but
> >>>
> >>>
> >it
> >
> >
> >>>was the same result.
> >>>
> >>>
> >>>Thanks,
> >>>
> >>>
> >>>Tony
> >>>
> >>>
> >>>----- Original Message ----- 
> >>>From: "reynir" <re...@hugsmidjan.is>
> >>>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>>Sent: Tuesday, April 26, 2005 11:48 AM
> >>>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Hi,
> >>>>
> >>>>Looks like the isapi_redirector is forwarding the request to the
> >>>>"localhost" host of your tomcat setup. is it there ?
> >>>>Check the access logs on the tomcat application. See if it's receiving
> >>>>the request.
> >>>>
> >>>>your error message, the 404, is it from tomcat (the blue one) or is it
> >>>>
> >>>>
> >>>>from IIS ?
> >>>
> >>>
> >>>>hope it helps,
> >>>>- reynir
> >>>>
> >>>>Tony Nakamura wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Hi,
> >>>>>
> >>>>>I uninstalled the exe version of isapi_redirect and decided to
manually
> >>>>>configure them.
> >>>>>As a result, I got the green arrow, and I'm able to see output in the
> >>>>>
> >>>>>
> >log
> >
> >
> >>>>>file given isapi_redirect runs
> >>>>>in debug mode.  The log looks like the following.  This log from when
> >>>>>
> >>>>>
> >I'm
> >
> >
> >>>>>trying to run the IIS in 5.0 isolation mode.
> >>>>>There is no output in the log file when I set the log level to
"error",
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>but
> >>>
> >>>
> >>>
> >>>
> >>>>>I still get 404 File Not Found error when I try to access
> >>>>>http://localhost/test/login.jsp
> >>>>>
> >>>>>
> >>>>>Thanks!
> >>>>>
> >>>>>
> >>>>>Tony
> >>>>>
> >>>>>
> >>>>>==============
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1040): Using registry.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1044): Using log level 1.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1045): Using extension uri /jakarta/isapi_redirect.dll.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1047): Using worker mount file
> >>>>>C:\tomcat5.0.28\conf\uriworkermap.properties.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >init_jk::jk_isapi_plugin.c
> >
> >
> >>>>>(1049): Using uri select 0.
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
> >>>>>/*jsp=main was added
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>build_worker_map::jk_worker.c
> >>>
> >>>
> >>>
> >>>
> >>>>>(196): creating worker main
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>wc_create_worker::jk_worker.c
> >>>
> >>>
> >>>
> >>>
> >>>>>(120): about to create instance main of ajp13
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>wc_create_worker::jk_worker.c
> >>>
> >>>
> >>>
> >>>
> >>>>>(133): about to validate and init main
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>ajp_validate::jk_ajp_common.c
> >>>
> >>>
> >>>
> >>>
> >>>>>(1721): worker main contact is localhost:8009
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1767): setting socket keepalive to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1806): setting socket timeout to -1
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1810): setting connection recycle timeout to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1814): setting cache timeout to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1818): setting connect timeout to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1822): setting reply timeout to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1826): setting prepost timeout to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1830): setting recovery opts to 0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1834): setting number of retries to 3
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_init::jk_ajp_common.c
> >>>>>(1854): setting connection cache size to 1
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>build_worker_map::jk_worker.c
> >>>
> >>>
> >>>
> >>>
> >>>>>(208): removing old main worker
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
> >>>>>/localhost/test/login.jsp
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
> >>>>>'/localhost/test/login.jsp' from 1 maps
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map
context
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>URI
> >>>
> >>>
> >>>
> >>>
> >>>>>'/*jsp'
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>match
> >>>
> >>>
> >>>
> >>>
> >>>>>main -> *jsp
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp]
is
> >>>>>points to the web-inf directory
> >>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>>>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a
servlet
> >>>>>url - should redirect to main
> >>>>>=====================
> >>>>>----- Original Message ----- 
> >>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>>>>Sent: Tuesday, April 26, 2005 9:59 AM
> >>>>>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi Tony,
> >>>>>>my own experience with IIS 6.0 is rather limited as our production
> >>>>>>environment is Win2K, but I have seen several posts where people
have
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>put
> >>>
> >>>
> >>>
> >>>
> >>>>>>IIS 6.0 in IIS5.0 isolation mode?
> >>>>>>
> >>>>>>Another possibility is that your configuration files are broken
(have
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>you
> >>>
> >>>
> >>>
> >>>
> >>>>>>configured the jk connector etc.) Try posting these as well.
> >>>>>>
> >>>>>>/Thomas
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>"Tony Nakamura" <to...@uickarate.com>
> >>>>>>26-04-2005 16:45
> >>>>>>Besvar venligst til "Tomcat Users List"
> >>>>>>
> >>>>>>
> >>>>>>      Til:    "Tomcat Users List" <to...@jakarta.apache.org>
> >>>>>>      cc:
> >>>>>>      Vedr.:  Re: Vedr.: ISAPI_REDIRECT
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>Hello Thomas,
> >>>>>>
> >>>>>>Thank for the reply.  I failed to mention, but I've setup the Web
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>Service
> >>>
> >>>
> >>>
> >>>
> >>>>>>Entention to the isapi_redirect.dll and gave an "allow" permission.
I
> >>>>>>used
> >>>>>>isapi_redirect-1.2.10.exe, so it should have setup all of the
settings
> >>>>>>correctly.  One other weird thing is that isapi_redirect.log does
not
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>have
> >>>
> >>>
> >>>
> >>>
> >>>>>>any output.
> >>>>>>
> >>>>>>Thank you,
> >>>>>>
> >>>>>>
> >>>>>>Tony
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>----- Original Message ----- 
> >>>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>>>>>Sent: Tuesday, April 26, 2005 8:55 AM
> >>>>>>Subject: Vedr.: ISAPI_REDIRECT
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>From
> >>>>>>>
> >>>>>>>http://www.reynir.net/java/greinar/nr/52
> >>>>>>>
> >>>>>>>
> >>>>>>>If you are using IIS V6, which ships with Windows Server 2003, you
> >>>>>>>
> >>>>>>>
> >must
> >
> >
> >>>>>>>allow the "Web Service Extension" to operate. Earlier versions of
IIS
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>did
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>not require this step. Using the IIS Internet Services Manager,
click
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>on
> >>>
> >>>
> >>>
> >>>
> >>>>>>>the Web Services Extensions item in the left hand pane. In the
right
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>hand
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>pane add a new Web Service Extension called, give it a name, and
> >>>>>>>
> >>>>>>>
> >browse
> >
> >
> >>>>>>>and set the required file for this extension to the
> >>>>>>>
> >>>>>>>
> >isapi_redirect.dll
> >
> >
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>and
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>>set the status to allowed. Then restart IIS.
> >>>>>>>
> >>>>>>>Best regards Thomas
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>"Tony Nakamura" <to...@uickarate.com>
> >>>>>>>26-04-2005 14:47
> >>>>>>>Besvar venligst til "Tomcat Users List"
> >>>>>>>
> >>>>>>>
> >>>>>>>      Til:    <to...@jakarta.apache.org>
> >>>>>>>      cc:
> >>>>>>>      Vedr.:  ISAPI_REDIRECT
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>Hi,
> >>>>>>>
> >>>>>>>It seems like ISAPI filter for IIS is a common hurdle for many
people
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>to
> >>>
> >>>
> >>>
> >>>
> >>>>>>>get it working, and I'm no exception.
> >>>>>>>My environment is as following:
> >>>>>>>
> >>>>>>>Tomcat 5.0.28
> >>>>>>>IIS 6.0
> >>>>>>>Win 2003 Server
> >>>>>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
> >>>>>>>
> >>>>>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and
got
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>the
> >>>
> >>>
> >>>
> >>>
> >>>>>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't
> >>>>>>>
> >>>>>>>
> >forward
> >
> >
> >>>>>>>the request correctly to Tomcat, with IIS logging "Error 404 - File
> >>>>>>>
> >>>>>>>
> >not
> >
> >
> >>>>>>>Found" error.  Tomcat is working fine on port 8080.
> >>>>>>>
> >>>>>>>Could anyone give me a direction on what could possibly be wrong?
> >>>>>>>
> >>>>>>>
> >>>>>>>Thank you,
> >>>>>>>
> >>>>>>>
> >>>>>>>Tony
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>><FONT SIZE=1 FACE="Arial">_______________
> >>>>>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores
> >>>>>>>
> >>>>>>>
> >overbevisning
> >
> >
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>er
> >>>>>>fri for virus og andre fejl, som kan paavirke computeren eller
> >>>>>>it-systemet,
> >>>>>>hvori den modtages og laeses, aabnes den paa modtagerens eget
ansvar.
> >>>>>>
> >>>>>>
> >Vi
> >
> >
> >>>>>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
> >>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>---------------------------------------------------------------------
> >>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>



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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by reynir <re...@hugsmidjan.is>.
well,
the fact that you are getting 404 error from IIS really means that IIS
is receiving the request, and forwarding it to
/jakarta/isapi_redirect.dll, that is a virtual folder mapped on to the
folder that the DLL is positioned in. If the 404 is coming from IIS (as
it seems) it's obviously not finding this path. you should be able to
see it by viewing the accesslog of IIS it should show this path
"/jakarta/isapi_redirect.dll" and the error code 404 if it's not found
but 200 or something else if it's there.
check again if this part of the setup is correct, sometimes the
difference is the name of the dll, some name it "isapi_redirector.dll"
but not "isapi_redirect.dll" and since the registry entry specifies the
full name of the dll this must be correct.

again, hope it helps.
-reynir



Tony Nakamura wrote:

>Hi Reynir,
>
>I checked the server.xml, and it does have 8009 setting for listner ports
>uncommented.
>I have /jakarta virtual folder in IIS.
>
>I'm really confused as to what could be wrong...
>
>Thank you,
>
>
>Tony
>
>
>----- Original Message ----- 
>From: "reynir" <re...@hugsmidjan.is>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Wednesday, April 27, 2005 4:47 AM
>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>
>
>  
>
>>hi,
>>
>>do you have the connector on port 8009 in your tomcat ?
>>do you have the /jakarta virtual folder in IIS ?
>>
>>hope it helps
>>-reynir
>>
>>
>>Tony Nakamura wrote:
>>
>>    
>>
>>>Hi Reynir,
>>>
>>>Yes, the tomcat is on localhost, and I'm trying to access directly from
>>>      
>>>
>the
>  
>
>>>server right now.
>>>I can access the site with: http://localhost:8080/test/login.jsp but not
>>>without specifying 8080 port.
>>>404 is from IIS log, and it seems to have changed from 404:03 to 404:02.
>>>
>>>Just for kicks, I also tried to replace localhost with an ip address, but
>>>      
>>>
>it
>  
>
>>>was the same result.
>>>
>>>
>>>Thanks,
>>>
>>>
>>>Tony
>>>
>>>
>>>----- Original Message ----- 
>>>From: "reynir" <re...@hugsmidjan.is>
>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>Sent: Tuesday, April 26, 2005 11:48 AM
>>>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Hi,
>>>>
>>>>Looks like the isapi_redirector is forwarding the request to the
>>>>"localhost" host of your tomcat setup. is it there ?
>>>>Check the access logs on the tomcat application. See if it's receiving
>>>>the request.
>>>>
>>>>your error message, the 404, is it from tomcat (the blue one) or is it
>>>>        
>>>>
>>>>from IIS ?
>>>      
>>>
>>>>hope it helps,
>>>>- reynir
>>>>
>>>>Tony Nakamura wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hi,
>>>>>
>>>>>I uninstalled the exe version of isapi_redirect and decided to manually
>>>>>configure them.
>>>>>As a result, I got the green arrow, and I'm able to see output in the
>>>>>          
>>>>>
>log
>  
>
>>>>>file given isapi_redirect runs
>>>>>in debug mode.  The log looks like the following.  This log from when
>>>>>          
>>>>>
>I'm
>  
>
>>>>>trying to run the IIS in 5.0 isolation mode.
>>>>>There is no output in the log file when I set the log level to "error",
>>>>>
>>>>>
>>>>>          
>>>>>
>>>but
>>>
>>>
>>>      
>>>
>>>>>I still get 404 File Not Found error when I try to access
>>>>>http://localhost/test/login.jsp
>>>>>
>>>>>
>>>>>Thanks!
>>>>>
>>>>>
>>>>>Tony
>>>>>
>>>>>
>>>>>==============
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1040): Using registry.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1044): Using log level 1.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1045): Using extension uri /jakarta/isapi_redirect.dll.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1047): Using worker mount file
>>>>>C:\tomcat5.0.28\conf\uriworkermap.properties.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>          
>>>>>
>init_jk::jk_isapi_plugin.c
>  
>
>>>>>(1049): Using uri select 0.
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
>>>>>/*jsp=main was added
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>build_worker_map::jk_worker.c
>>>
>>>
>>>      
>>>
>>>>>(196): creating worker main
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>wc_create_worker::jk_worker.c
>>>
>>>
>>>      
>>>
>>>>>(120): about to create instance main of ajp13
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>wc_create_worker::jk_worker.c
>>>
>>>
>>>      
>>>
>>>>>(133): about to validate and init main
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>ajp_validate::jk_ajp_common.c
>>>
>>>
>>>      
>>>
>>>>>(1721): worker main contact is localhost:8009
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1767): setting socket keepalive to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1806): setting socket timeout to -1
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1810): setting connection recycle timeout to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1814): setting cache timeout to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1818): setting connect timeout to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1822): setting reply timeout to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1826): setting prepost timeout to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1830): setting recovery opts to 0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1834): setting number of retries to 3
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>>>(1854): setting connection cache size to 1
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>
>>>>>
>>>>>          
>>>>>
>>>build_worker_map::jk_worker.c
>>>
>>>
>>>      
>>>
>>>>>(208): removing old main worker
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
>>>>>/localhost/test/login.jsp
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
>>>>>'/localhost/test/login.jsp' from 1 maps
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context
>>>>>
>>>>>
>>>>>          
>>>>>
>>>URI
>>>
>>>
>>>      
>>>
>>>>>'/*jsp'
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
>>>>>
>>>>>
>>>>>          
>>>>>
>>>match
>>>
>>>
>>>      
>>>
>>>>>main -> *jsp
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
>>>>>points to the web-inf directory
>>>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>>>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
>>>>>url - should redirect to main
>>>>>=====================
>>>>>----- Original Message ----- 
>>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>Sent: Tuesday, April 26, 2005 9:59 AM
>>>>>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>>>Hi Tony,
>>>>>>my own experience with IIS 6.0 is rather limited as our production
>>>>>>environment is Win2K, but I have seen several posts where people have
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>put
>>>
>>>
>>>      
>>>
>>>>>>IIS 6.0 in IIS5.0 isolation mode?
>>>>>>
>>>>>>Another possibility is that your configuration files are broken (have
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>you
>>>
>>>
>>>      
>>>
>>>>>>configured the jk connector etc.) Try posting these as well.
>>>>>>
>>>>>>/Thomas
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>>>26-04-2005 16:45
>>>>>>Besvar venligst til "Tomcat Users List"
>>>>>>
>>>>>>
>>>>>>      Til:    "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>>      cc:
>>>>>>      Vedr.:  Re: Vedr.: ISAPI_REDIRECT
>>>>>>
>>>>>>
>>>>>>
>>>>>>Hello Thomas,
>>>>>>
>>>>>>Thank for the reply.  I failed to mention, but I've setup the Web
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>Service
>>>
>>>
>>>      
>>>
>>>>>>Entention to the isapi_redirect.dll and gave an "allow" permission.  I
>>>>>>used
>>>>>>isapi_redirect-1.2.10.exe, so it should have setup all of the settings
>>>>>>correctly.  One other weird thing is that isapi_redirect.log does not
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>have
>>>
>>>
>>>      
>>>
>>>>>>any output.
>>>>>>
>>>>>>Thank you,
>>>>>>
>>>>>>
>>>>>>Tony
>>>>>>
>>>>>>
>>>>>>
>>>>>>----- Original Message ----- 
>>>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>>>Sent: Tuesday, April 26, 2005 8:55 AM
>>>>>>Subject: Vedr.: ISAPI_REDIRECT
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>From
>>>>>>>
>>>>>>>http://www.reynir.net/java/greinar/nr/52
>>>>>>>
>>>>>>>
>>>>>>>If you are using IIS V6, which ships with Windows Server 2003, you
>>>>>>>              
>>>>>>>
>must
>  
>
>>>>>>>allow the "Web Service Extension" to operate. Earlier versions of IIS
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>did
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>not require this step. Using the IIS Internet Services Manager, click
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>on
>>>
>>>
>>>      
>>>
>>>>>>>the Web Services Extensions item in the left hand pane. In the right
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>hand
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>pane add a new Web Service Extension called, give it a name, and
>>>>>>>              
>>>>>>>
>browse
>  
>
>>>>>>>and set the required file for this extension to the
>>>>>>>              
>>>>>>>
>isapi_redirect.dll
>  
>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>and
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>>>set the status to allowed. Then restart IIS.
>>>>>>>
>>>>>>>Best regards Thomas
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>>>>26-04-2005 14:47
>>>>>>>Besvar venligst til "Tomcat Users List"
>>>>>>>
>>>>>>>
>>>>>>>      Til:    <to...@jakarta.apache.org>
>>>>>>>      cc:
>>>>>>>      Vedr.:  ISAPI_REDIRECT
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>Hi,
>>>>>>>
>>>>>>>It seems like ISAPI filter for IIS is a common hurdle for many people
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>to
>>>
>>>
>>>      
>>>
>>>>>>>get it working, and I'm no exception.
>>>>>>>My environment is as following:
>>>>>>>
>>>>>>>Tomcat 5.0.28
>>>>>>>IIS 6.0
>>>>>>>Win 2003 Server
>>>>>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
>>>>>>>
>>>>>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>the
>>>
>>>
>>>      
>>>
>>>>>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't
>>>>>>>              
>>>>>>>
>forward
>  
>
>>>>>>>the request correctly to Tomcat, with IIS logging "Error 404 - File
>>>>>>>              
>>>>>>>
>not
>  
>
>>>>>>>Found" error.  Tomcat is working fine on port 8080.
>>>>>>>
>>>>>>>Could anyone give me a direction on what could possibly be wrong?
>>>>>>>
>>>>>>>
>>>>>>>Thank you,
>>>>>>>
>>>>>>>
>>>>>>>Tony
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>><FONT SIZE=1 FACE="Arial">_______________
>>>>>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores
>>>>>>>              
>>>>>>>
>overbevisning
>  
>
>>>>>>>
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>>>er
>>>>>>fri for virus og andre fejl, som kan paavirke computeren eller
>>>>>>it-systemet,
>>>>>>hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar.
>>>>>>            
>>>>>>
>Vi
>  
>
>>>>>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>            
>>>>>>
>>>>>---------------------------------------------------------------------
>>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by Tony Nakamura <to...@uickarate.com>.
Hi Reynir,

I checked the server.xml, and it does have 8009 setting for listner ports
uncommented.
I have /jakarta virtual folder in IIS.

I'm really confused as to what could be wrong...

Thank you,


Tony


----- Original Message ----- 
From: "reynir" <re...@hugsmidjan.is>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Wednesday, April 27, 2005 4:47 AM
Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT


> hi,
>
> do you have the connector on port 8009 in your tomcat ?
> do you have the /jakarta virtual folder in IIS ?
>
> hope it helps
> -reynir
>
>
> Tony Nakamura wrote:
>
> >Hi Reynir,
> >
> >Yes, the tomcat is on localhost, and I'm trying to access directly from
the
> >server right now.
> >I can access the site with: http://localhost:8080/test/login.jsp but not
> >without specifying 8080 port.
> >404 is from IIS log, and it seems to have changed from 404:03 to 404:02.
> >
> >Just for kicks, I also tried to replace localhost with an ip address, but
it
> >was the same result.
> >
> >
> >Thanks,
> >
> >
> >Tony
> >
> >
> >----- Original Message ----- 
> >From: "reynir" <re...@hugsmidjan.is>
> >To: "Tomcat Users List" <to...@jakarta.apache.org>
> >Sent: Tuesday, April 26, 2005 11:48 AM
> >Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >
> >
> >
> >
> >>Hi,
> >>
> >>Looks like the isapi_redirector is forwarding the request to the
> >>"localhost" host of your tomcat setup. is it there ?
> >>Check the access logs on the tomcat application. See if it's receiving
> >>the request.
> >>
> >>your error message, the 404, is it from tomcat (the blue one) or is it
> >>from IIS ?
> >>
> >>hope it helps,
> >>- reynir
> >>
> >>Tony Nakamura wrote:
> >>
> >>
> >>
> >>>Hi,
> >>>
> >>>I uninstalled the exe version of isapi_redirect and decided to manually
> >>>configure them.
> >>>As a result, I got the green arrow, and I'm able to see output in the
log
> >>>file given isapi_redirect runs
> >>>in debug mode.  The log looks like the following.  This log from when
I'm
> >>>trying to run the IIS in 5.0 isolation mode.
> >>>There is no output in the log file when I set the log level to "error",
> >>>
> >>>
> >but
> >
> >
> >>>I still get 404 File Not Found error when I try to access
> >>>http://localhost/test/login.jsp
> >>>
> >>>
> >>>Thanks!
> >>>
> >>>
> >>>Tony
> >>>
> >>>
> >>>==============
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1040): Using registry.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1044): Using log level 1.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1045): Using extension uri /jakarta/isapi_redirect.dll.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1047): Using worker mount file
> >>>C:\tomcat5.0.28\conf\uriworkermap.properties.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
init_jk::jk_isapi_plugin.c
> >>>(1049): Using uri select 0.
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
> >>>/*jsp=main was added
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>
> >>>
> >build_worker_map::jk_worker.c
> >
> >
> >>>(196): creating worker main
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>
> >>>
> >wc_create_worker::jk_worker.c
> >
> >
> >>>(120): about to create instance main of ajp13
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>
> >>>
> >wc_create_worker::jk_worker.c
> >
> >
> >>>(133): about to validate and init main
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>
> >>>
> >ajp_validate::jk_ajp_common.c
> >
> >
> >>>(1721): worker main contact is localhost:8009
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1767): setting socket keepalive to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1806): setting socket timeout to -1
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1810): setting connection recycle timeout to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1814): setting cache timeout to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1818): setting connect timeout to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1822): setting reply timeout to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1826): setting prepost timeout to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1830): setting recovery opts to 0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1834): setting number of retries to 3
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >>>(1854): setting connection cache size to 1
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>
> >>>
> >build_worker_map::jk_worker.c
> >
> >
> >>>(208): removing old main worker
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
> >>>/localhost/test/login.jsp
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
> >>>'/localhost/test/login.jsp' from 1 maps
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context
> >>>
> >>>
> >URI
> >
> >
> >>>'/*jsp'
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
> >>>
> >>>
> >match
> >
> >
> >>>main -> *jsp
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
> >>>points to the web-inf directory
> >>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >>>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
> >>>url - should redirect to main
> >>>=====================
> >>>----- Original Message ----- 
> >>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >>>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>>Sent: Tuesday, April 26, 2005 9:59 AM
> >>>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>Hi Tony,
> >>>>my own experience with IIS 6.0 is rather limited as our production
> >>>>environment is Win2K, but I have seen several posts where people have
> >>>>
> >>>>
> >put
> >
> >
> >>>>IIS 6.0 in IIS5.0 isolation mode?
> >>>>
> >>>>Another possibility is that your configuration files are broken (have
> >>>>
> >>>>
> >you
> >
> >
> >>>>configured the jk connector etc.) Try posting these as well.
> >>>>
> >>>>/Thomas
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>"Tony Nakamura" <to...@uickarate.com>
> >>>>26-04-2005 16:45
> >>>>Besvar venligst til "Tomcat Users List"
> >>>>
> >>>>
> >>>>       Til:    "Tomcat Users List" <to...@jakarta.apache.org>
> >>>>       cc:
> >>>>       Vedr.:  Re: Vedr.: ISAPI_REDIRECT
> >>>>
> >>>>
> >>>>
> >>>>Hello Thomas,
> >>>>
> >>>>Thank for the reply.  I failed to mention, but I've setup the Web
> >>>>
> >>>>
> >Service
> >
> >
> >>>>Entention to the isapi_redirect.dll and gave an "allow" permission.  I
> >>>>used
> >>>>isapi_redirect-1.2.10.exe, so it should have setup all of the settings
> >>>>correctly.  One other weird thing is that isapi_redirect.log does not
> >>>>
> >>>>
> >have
> >
> >
> >>>>any output.
> >>>>
> >>>>Thank you,
> >>>>
> >>>>
> >>>>Tony
> >>>>
> >>>>
> >>>>
> >>>>----- Original Message ----- 
> >>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>>>Sent: Tuesday, April 26, 2005 8:55 AM
> >>>>Subject: Vedr.: ISAPI_REDIRECT
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>From
> >>>>>
> >>>>>http://www.reynir.net/java/greinar/nr/52
> >>>>>
> >>>>>
> >>>>>If you are using IIS V6, which ships with Windows Server 2003, you
must
> >>>>>allow the "Web Service Extension" to operate. Earlier versions of IIS
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>did
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>not require this step. Using the IIS Internet Services Manager, click
> >>>>>
> >>>>>
> >on
> >
> >
> >>>>>the Web Services Extensions item in the left hand pane. In the right
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>hand
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>pane add a new Web Service Extension called, give it a name, and
browse
> >>>>>and set the required file for this extension to the
isapi_redirect.dll
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>and
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>set the status to allowed. Then restart IIS.
> >>>>>
> >>>>>Best regards Thomas
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>"Tony Nakamura" <to...@uickarate.com>
> >>>>>26-04-2005 14:47
> >>>>>Besvar venligst til "Tomcat Users List"
> >>>>>
> >>>>>
> >>>>>       Til:    <to...@jakarta.apache.org>
> >>>>>       cc:
> >>>>>       Vedr.:  ISAPI_REDIRECT
> >>>>>
> >>>>>
> >>>>>
> >>>>>Hi,
> >>>>>
> >>>>>It seems like ISAPI filter for IIS is a common hurdle for many people
> >>>>>
> >>>>>
> >to
> >
> >
> >>>>>get it working, and I'm no exception.
> >>>>>My environment is as following:
> >>>>>
> >>>>>Tomcat 5.0.28
> >>>>>IIS 6.0
> >>>>>Win 2003 Server
> >>>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
> >>>>>
> >>>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got
> >>>>>
> >>>>>
> >the
> >
> >
> >>>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't
forward
> >>>>>the request correctly to Tomcat, with IIS logging "Error 404 - File
not
> >>>>>Found" error.  Tomcat is working fine on port 8080.
> >>>>>
> >>>>>Could anyone give me a direction on what could possibly be wrong?
> >>>>>
> >>>>>
> >>>>>Thank you,
> >>>>>
> >>>>>
> >>>>>Tony
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>><FONT SIZE=1 FACE="Arial">_______________
> >>>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores
overbevisning
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>er
> >>>>fri for virus og andre fejl, som kan paavirke computeren eller
> >>>>it-systemet,
> >>>>hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar.
Vi
> >>>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
> >>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>>
> >>>
> >>>
> >>>
> >>>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>



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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by reynir <re...@hugsmidjan.is>.
hi,

do you have the connector on port 8009 in your tomcat ?
do you have the /jakarta virtual folder in IIS ?

hope it helps
-reynir


Tony Nakamura wrote:

>Hi Reynir,
>
>Yes, the tomcat is on localhost, and I'm trying to access directly from the
>server right now.
>I can access the site with: http://localhost:8080/test/login.jsp but not
>without specifying 8080 port.
>404 is from IIS log, and it seems to have changed from 404:03 to 404:02.
>
>Just for kicks, I also tried to replace localhost with an ip address, but it
>was the same result.
>
>
>Thanks,
>
>
>Tony
>
>
>----- Original Message ----- 
>From: "reynir" <re...@hugsmidjan.is>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Tuesday, April 26, 2005 11:48 AM
>Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>
>
>  
>
>>Hi,
>>
>>Looks like the isapi_redirector is forwarding the request to the
>>"localhost" host of your tomcat setup. is it there ?
>>Check the access logs on the tomcat application. See if it's receiving
>>the request.
>>
>>your error message, the 404, is it from tomcat (the blue one) or is it
>>from IIS ?
>>
>>hope it helps,
>>- reynir
>>
>>Tony Nakamura wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I uninstalled the exe version of isapi_redirect and decided to manually
>>>configure them.
>>>As a result, I got the green arrow, and I'm able to see output in the log
>>>file given isapi_redirect runs
>>>in debug mode.  The log looks like the following.  This log from when I'm
>>>trying to run the IIS in 5.0 isolation mode.
>>>There is no output in the log file when I set the log level to "error",
>>>      
>>>
>but
>  
>
>>>I still get 404 File Not Found error when I try to access
>>>http://localhost/test/login.jsp
>>>
>>>
>>>Thanks!
>>>
>>>
>>>Tony
>>>
>>>
>>>==============
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1040): Using registry.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1044): Using log level 1.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1045): Using extension uri /jakarta/isapi_redirect.dll.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1047): Using worker mount file
>>>C:\tomcat5.0.28\conf\uriworkermap.properties.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>>>(1049): Using uri select 0.
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
>>>/*jsp=main was added
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>      
>>>
>build_worker_map::jk_worker.c
>  
>
>>>(196): creating worker main
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>      
>>>
>wc_create_worker::jk_worker.c
>  
>
>>>(120): about to create instance main of ajp13
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>      
>>>
>wc_create_worker::jk_worker.c
>  
>
>>>(133): about to validate and init main
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>      
>>>
>ajp_validate::jk_ajp_common.c
>  
>
>>>(1721): worker main contact is localhost:8009
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1767): setting socket keepalive to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1806): setting socket timeout to -1
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1810): setting connection recycle timeout to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1814): setting cache timeout to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1818): setting connect timeout to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1822): setting reply timeout to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1826): setting prepost timeout to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1830): setting recovery opts to 0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1834): setting number of retries to 3
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>>>(1854): setting connection cache size to 1
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>      
>>>
>build_worker_map::jk_worker.c
>  
>
>>>(208): removing old main worker
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
>>>/localhost/test/login.jsp
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
>>>'/localhost/test/login.jsp' from 1 maps
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context
>>>      
>>>
>URI
>  
>
>>>'/*jsp'
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
>>>      
>>>
>match
>  
>
>>>main -> *jsp
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
>>>points to the web-inf directory
>>>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>>>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
>>>url - should redirect to main
>>>=====================
>>>----- Original Message ----- 
>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>Sent: Tuesday, April 26, 2005 9:59 AM
>>>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>>>
>>>
>>>
>>>
>>>      
>>>
>>>>Hi Tony,
>>>>my own experience with IIS 6.0 is rather limited as our production
>>>>environment is Win2K, but I have seen several posts where people have
>>>>        
>>>>
>put
>  
>
>>>>IIS 6.0 in IIS5.0 isolation mode?
>>>>
>>>>Another possibility is that your configuration files are broken (have
>>>>        
>>>>
>you
>  
>
>>>>configured the jk connector etc.) Try posting these as well.
>>>>
>>>>/Thomas
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>26-04-2005 16:45
>>>>Besvar venligst til "Tomcat Users List"
>>>>
>>>>
>>>>       Til:    "Tomcat Users List" <to...@jakarta.apache.org>
>>>>       cc:
>>>>       Vedr.:  Re: Vedr.: ISAPI_REDIRECT
>>>>
>>>>
>>>>
>>>>Hello Thomas,
>>>>
>>>>Thank for the reply.  I failed to mention, but I've setup the Web
>>>>        
>>>>
>Service
>  
>
>>>>Entention to the isapi_redirect.dll and gave an "allow" permission.  I
>>>>used
>>>>isapi_redirect-1.2.10.exe, so it should have setup all of the settings
>>>>correctly.  One other weird thing is that isapi_redirect.log does not
>>>>        
>>>>
>have
>  
>
>>>>any output.
>>>>
>>>>Thank you,
>>>>
>>>>
>>>>Tony
>>>>
>>>>
>>>>
>>>>----- Original Message ----- 
>>>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>>>Sent: Tuesday, April 26, 2005 8:55 AM
>>>>Subject: Vedr.: ISAPI_REDIRECT
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>From
>>>>>
>>>>>http://www.reynir.net/java/greinar/nr/52
>>>>>
>>>>>
>>>>>If you are using IIS V6, which ships with Windows Server 2003, you must
>>>>>allow the "Web Service Extension" to operate. Earlier versions of IIS
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>did
>>>>
>>>>
>>>>        
>>>>
>>>>>not require this step. Using the IIS Internet Services Manager, click
>>>>>          
>>>>>
>on
>  
>
>>>>>the Web Services Extensions item in the left hand pane. In the right
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>hand
>>>>
>>>>
>>>>        
>>>>
>>>>>pane add a new Web Service Extension called, give it a name, and browse
>>>>>and set the required file for this extension to the isapi_redirect.dll
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>and
>>>>
>>>>
>>>>        
>>>>
>>>>>set the status to allowed. Then restart IIS.
>>>>>
>>>>>Best regards Thomas
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>"Tony Nakamura" <to...@uickarate.com>
>>>>>26-04-2005 14:47
>>>>>Besvar venligst til "Tomcat Users List"
>>>>>
>>>>>
>>>>>       Til:    <to...@jakarta.apache.org>
>>>>>       cc:
>>>>>       Vedr.:  ISAPI_REDIRECT
>>>>>
>>>>>
>>>>>
>>>>>Hi,
>>>>>
>>>>>It seems like ISAPI filter for IIS is a common hurdle for many people
>>>>>          
>>>>>
>to
>  
>
>>>>>get it working, and I'm no exception.
>>>>>My environment is as following:
>>>>>
>>>>>Tomcat 5.0.28
>>>>>IIS 6.0
>>>>>Win 2003 Server
>>>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
>>>>>
>>>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got
>>>>>          
>>>>>
>the
>  
>
>>>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't forward
>>>>>the request correctly to Tomcat, with IIS logging "Error 404 - File not
>>>>>Found" error.  Tomcat is working fine on port 8080.
>>>>>
>>>>>Could anyone give me a direction on what could possibly be wrong?
>>>>>
>>>>>
>>>>>Thank you,
>>>>>
>>>>>
>>>>>Tony
>>>>>
>>>>>
>>>>>
>>>>>
>>>>><FONT SIZE=1 FACE="Arial">_______________
>>>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores overbevisning
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>er
>>>>fri for virus og andre fejl, som kan paavirke computeren eller
>>>>it-systemet,
>>>>hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi
>>>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
>>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by Tony Nakamura <to...@uickarate.com>.
Hi Reynir,

Yes, the tomcat is on localhost, and I'm trying to access directly from the
server right now.
I can access the site with: http://localhost:8080/test/login.jsp but not
without specifying 8080 port.
404 is from IIS log, and it seems to have changed from 404:03 to 404:02.

Just for kicks, I also tried to replace localhost with an ip address, but it
was the same result.


Thanks,


Tony


----- Original Message ----- 
From: "reynir" <re...@hugsmidjan.is>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, April 26, 2005 11:48 AM
Subject: Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT


> Hi,
>
> Looks like the isapi_redirector is forwarding the request to the
> "localhost" host of your tomcat setup. is it there ?
> Check the access logs on the tomcat application. See if it's receiving
> the request.
>
> your error message, the 404, is it from tomcat (the blue one) or is it
> from IIS ?
>
> hope it helps,
> - reynir
>
> Tony Nakamura wrote:
>
> >Hi,
> >
> >I uninstalled the exe version of isapi_redirect and decided to manually
> >configure them.
> >As a result, I got the green arrow, and I'm able to see output in the log
> >file given isapi_redirect runs
> >in debug mode.  The log looks like the following.  This log from when I'm
> >trying to run the IIS in 5.0 isolation mode.
> >There is no output in the log file when I set the log level to "error",
but
> >I still get 404 File Not Found error when I try to access
> >http://localhost/test/login.jsp
> >
> >
> >Thanks!
> >
> >
> >Tony
> >
> >
> >==============
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1040): Using registry.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1044): Using log level 1.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1045): Using extension uri /jakarta/isapi_redirect.dll.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1047): Using worker mount file
> >C:\tomcat5.0.28\conf\uriworkermap.properties.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
> >(1049): Using uri select 0.
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
> >/*jsp=main was added
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
build_worker_map::jk_worker.c
> >(196): creating worker main
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
wc_create_worker::jk_worker.c
> >(120): about to create instance main of ajp13
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
wc_create_worker::jk_worker.c
> >(133): about to validate and init main
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
ajp_validate::jk_ajp_common.c
> >(1721): worker main contact is localhost:8009
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1767): setting socket keepalive to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1806): setting socket timeout to -1
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1810): setting connection recycle timeout to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1814): setting cache timeout to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1818): setting connect timeout to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1822): setting reply timeout to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1826): setting prepost timeout to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1830): setting recovery opts to 0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1834): setting number of retries to 3
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
> >(1854): setting connection cache size to 1
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
build_worker_map::jk_worker.c
> >(208): removing old main worker
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >HttpFilterProc::jk_isapi_plugin.c (687): Filter started
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
> >/localhost/test/login.jsp
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
> >'/localhost/test/login.jsp' from 1 maps
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context
URI
> >'/*jsp'
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix
match
> >main -> *jsp
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
> >points to the web-inf directory
> >[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
> >HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
> >url - should redirect to main
> >=====================
> >----- Original Message ----- 
> >From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >To: "Tomcat Users List" <to...@jakarta.apache.org>
> >Sent: Tuesday, April 26, 2005 9:59 AM
> >Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
> >
> >
> >
> >
> >>Hi Tony,
> >>my own experience with IIS 6.0 is rather limited as our production
> >>environment is Win2K, but I have seen several posts where people have
put
> >>IIS 6.0 in IIS5.0 isolation mode?
> >>
> >>Another possibility is that your configuration files are broken (have
you
> >>configured the jk connector etc.) Try posting these as well.
> >>
> >>/Thomas
> >>
> >>
> >>
> >>
> >>
> >>"Tony Nakamura" <to...@uickarate.com>
> >>26-04-2005 16:45
> >>Besvar venligst til "Tomcat Users List"
> >>
> >>
> >>        Til:    "Tomcat Users List" <to...@jakarta.apache.org>
> >>        cc:
> >>        Vedr.:  Re: Vedr.: ISAPI_REDIRECT
> >>
> >>
> >>
> >>Hello Thomas,
> >>
> >>Thank for the reply.  I failed to mention, but I've setup the Web
Service
> >>Entention to the isapi_redirect.dll and gave an "allow" permission.  I
> >>used
> >>isapi_redirect-1.2.10.exe, so it should have setup all of the settings
> >>correctly.  One other weird thing is that isapi_redirect.log does not
have
> >>any output.
> >>
> >>Thank you,
> >>
> >>
> >>Tony
> >>
> >>
> >>
> >>----- Original Message ----- 
> >>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> >>To: "Tomcat Users List" <to...@jakarta.apache.org>
> >>Sent: Tuesday, April 26, 2005 8:55 AM
> >>Subject: Vedr.: ISAPI_REDIRECT
> >>
> >>
> >>
> >>
> >>>From
> >>>
> >>>http://www.reynir.net/java/greinar/nr/52
> >>>
> >>>
> >>>If you are using IIS V6, which ships with Windows Server 2003, you must
> >>>allow the "Web Service Extension" to operate. Earlier versions of IIS
> >>>
> >>>
> >>did
> >>
> >>
> >>>not require this step. Using the IIS Internet Services Manager, click
on
> >>>the Web Services Extensions item in the left hand pane. In the right
> >>>
> >>>
> >>hand
> >>
> >>
> >>>pane add a new Web Service Extension called, give it a name, and browse
> >>>and set the required file for this extension to the isapi_redirect.dll
> >>>
> >>>
> >>and
> >>
> >>
> >>>set the status to allowed. Then restart IIS.
> >>>
> >>>Best regards Thomas
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>"Tony Nakamura" <to...@uickarate.com>
> >>>26-04-2005 14:47
> >>>Besvar venligst til "Tomcat Users List"
> >>>
> >>>
> >>>        Til:    <to...@jakarta.apache.org>
> >>>        cc:
> >>>        Vedr.:  ISAPI_REDIRECT
> >>>
> >>>
> >>>
> >>>Hi,
> >>>
> >>>It seems like ISAPI filter for IIS is a common hurdle for many people
to
> >>>get it working, and I'm no exception.
> >>>My environment is as following:
> >>>
> >>>Tomcat 5.0.28
> >>>IIS 6.0
> >>>Win 2003 Server
> >>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
> >>>
> >>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got
the
> >>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't forward
> >>>the request correctly to Tomcat, with IIS logging "Error 404 - File not
> >>>Found" error.  Tomcat is working fine on port 8080.
> >>>
> >>>Could anyone give me a direction on what could possibly be wrong?
> >>>
> >>>
> >>>Thank you,
> >>>
> >>>
> >>>Tony
> >>>
> >>>
> >>>
> >>>
> >>><FONT SIZE=1 FACE="Arial">_______________
> >>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores overbevisning
> >>>
> >>>
> >>er
> >>fri for virus og andre fejl, som kan paavirke computeren eller
> >>it-systemet,
> >>hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi
> >>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
> >>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>



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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by reynir <re...@hugsmidjan.is>.
Hi,

Looks like the isapi_redirector is forwarding the request to the
"localhost" host of your tomcat setup. is it there ?
Check the access logs on the tomcat application. See if it's receiving
the request.

your error message, the 404, is it from tomcat (the blue one) or is it
from IIS ?

hope it helps,
- reynir

Tony Nakamura wrote:

>Hi,
>
>I uninstalled the exe version of isapi_redirect and decided to manually
>configure them.
>As a result, I got the green arrow, and I'm able to see output in the log
>file given isapi_redirect runs
>in debug mode.  The log looks like the following.  This log from when I'm
>trying to run the IIS in 5.0 isolation mode.
>There is no output in the log file when I set the log level to "error", but
>I still get 404 File Not Found error when I try to access
>http://localhost/test/login.jsp
>
>
>Thanks!
>
>
>Tony
>
>
>==============
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1040): Using registry.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1044): Using log level 1.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1045): Using extension uri /jakarta/isapi_redirect.dll.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1047): Using worker mount file
>C:\tomcat5.0.28\conf\uriworkermap.properties.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
>(1049): Using uri select 0.
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
>/*jsp=main was added
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c
>(196): creating worker main
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c
>(120): about to create instance main of ajp13
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c
>(133): about to validate and init main
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c
>(1721): worker main contact is localhost:8009
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1767): setting socket keepalive to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1806): setting socket timeout to -1
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1810): setting connection recycle timeout to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1814): setting cache timeout to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1818): setting connect timeout to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1822): setting reply timeout to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1826): setting prepost timeout to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1830): setting recovery opts to 0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1834): setting number of retries to 3
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
>(1854): setting connection cache size to 1
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c
>(208): removing old main worker
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>HttpFilterProc::jk_isapi_plugin.c (687): Filter started
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
>/localhost/test/login.jsp
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
>'/localhost/test/login.jsp' from 1 maps
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI
>'/*jsp'
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix match
>main -> *jsp
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
>points to the web-inf directory
>[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
>HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
>url - should redirect to main
>=====================
>----- Original Message ----- 
>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>To: "Tomcat Users List" <to...@jakarta.apache.org>
>Sent: Tuesday, April 26, 2005 9:59 AM
>Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT
>
>
>  
>
>>Hi Tony,
>>my own experience with IIS 6.0 is rather limited as our production
>>environment is Win2K, but I have seen several posts where people have put
>>IIS 6.0 in IIS5.0 isolation mode?
>>
>>Another possibility is that your configuration files are broken (have you
>>configured the jk connector etc.) Try posting these as well.
>>
>>/Thomas
>>
>>
>>
>>
>>
>>"Tony Nakamura" <to...@uickarate.com>
>>26-04-2005 16:45
>>Besvar venligst til "Tomcat Users List"
>>
>>
>>        Til:    "Tomcat Users List" <to...@jakarta.apache.org>
>>        cc:
>>        Vedr.:  Re: Vedr.: ISAPI_REDIRECT
>>
>>
>>
>>Hello Thomas,
>>
>>Thank for the reply.  I failed to mention, but I've setup the Web Service
>>Entention to the isapi_redirect.dll and gave an "allow" permission.  I
>>used
>>isapi_redirect-1.2.10.exe, so it should have setup all of the settings
>>correctly.  One other weird thing is that isapi_redirect.log does not have
>>any output.
>>
>>Thank you,
>>
>>
>>Tony
>>
>>
>>
>>----- Original Message ----- 
>>From: "Thomas Nybro Bolding" <th...@danskebank.dk>
>>To: "Tomcat Users List" <to...@jakarta.apache.org>
>>Sent: Tuesday, April 26, 2005 8:55 AM
>>Subject: Vedr.: ISAPI_REDIRECT
>>
>>
>>    
>>
>>>From
>>>
>>>http://www.reynir.net/java/greinar/nr/52
>>>
>>>
>>>If you are using IIS V6, which ships with Windows Server 2003, you must
>>>allow the "Web Service Extension" to operate. Earlier versions of IIS
>>>      
>>>
>>did
>>    
>>
>>>not require this step. Using the IIS Internet Services Manager, click on
>>>the Web Services Extensions item in the left hand pane. In the right
>>>      
>>>
>>hand
>>    
>>
>>>pane add a new Web Service Extension called, give it a name, and browse
>>>and set the required file for this extension to the isapi_redirect.dll
>>>      
>>>
>>and
>>    
>>
>>>set the status to allowed. Then restart IIS.
>>>
>>>Best regards Thomas
>>>
>>>
>>>
>>>
>>>
>>>
>>>"Tony Nakamura" <to...@uickarate.com>
>>>26-04-2005 14:47
>>>Besvar venligst til "Tomcat Users List"
>>>
>>>
>>>        Til:    <to...@jakarta.apache.org>
>>>        cc:
>>>        Vedr.:  ISAPI_REDIRECT
>>>
>>>
>>>
>>>Hi,
>>>
>>>It seems like ISAPI filter for IIS is a common hurdle for many people to
>>>get it working, and I'm no exception.
>>>My environment is as following:
>>>
>>>Tomcat 5.0.28
>>>IIS 6.0
>>>Win 2003 Server
>>>ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
>>>
>>>I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the
>>>ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't forward
>>>the request correctly to Tomcat, with IIS logging "Error 404 - File not
>>>Found" error.  Tomcat is working fine on port 8080.
>>>
>>>Could anyone give me a direction on what could possibly be wrong?
>>>
>>>
>>>Thank you,
>>>
>>>
>>>Tony
>>>
>>>
>>>
>>>
>>><FONT SIZE=1 FACE="Arial">_______________
>>>Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores overbevisning
>>>      
>>>
>>er
>>fri for virus og andre fejl, som kan paavirke computeren eller
>>it-systemet,
>>hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi
>>paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>

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


Re: Vedr.: Re: Vedr.: ISAPI_REDIRECT

Posted by Tony Nakamura <to...@uickarate.com>.
Hi,

I uninstalled the exe version of isapi_redirect and decided to manually
configure them.
As a result, I got the green arrow, and I'm able to see output in the log
file given isapi_redirect runs
in debug mode.  The log looks like the following.  This log from when I'm
trying to run the IIS in 5.0 isolation mode.
There is no output in the log file when I set the log level to "error", but
I still get 404 File Not Found error when I try to access
http://localhost/test/login.jsp


Thanks!


Tony


==============
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1040): Using registry.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1043): Using log file c:\tomcat5.0.28\conf\isapi.log.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1044): Using log level 1.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1045): Using extension uri /jakarta/isapi_redirect.dll.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1046): Using worker file C:\tomcat5.0.28\conf\workers.properties.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1047): Using worker mount file
C:\tomcat5.0.28\conf\uriworkermap.properties.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] init_jk::jk_isapi_plugin.c
(1049): Using uri select 0.
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
uri_worker_map_open::jk_uri_worker_map.c (461): rule map size is 1
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
uri_worker_map_add::jk_uri_worker_map.c (371): general suffix rule
/*jsp=main was added
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
uri_worker_map_open::jk_uri_worker_map.c (478): there are 1 rules
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c
(196): creating worker main
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c
(120): about to create instance main of ajp13
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] wc_create_worker::jk_worker.c
(133): about to validate and init main
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_validate::jk_ajp_common.c
(1721): worker main contact is localhost:8009
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1767): setting socket keepalive to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1806): setting socket timeout to -1
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1810): setting connection recycle timeout to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1814): setting cache timeout to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1818): setting connect timeout to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1822): setting reply timeout to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1826): setting prepost timeout to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1830): setting recovery opts to 0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1834): setting number of retries to 3
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] ajp_init::jk_ajp_common.c
(1854): setting connection cache size to 1
[Tue Apr 26 10:27:20 2005] [3616:816] [debug] build_worker_map::jk_worker.c
(208): removing old main worker
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
HttpFilterProc::jk_isapi_plugin.c (636): Detected IIS >= 5.0
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
HttpFilterProc::jk_isapi_plugin.c (687): Filter started
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
HttpFilterProc::jk_isapi_plugin.c (753): Virtual Host redirection of
/localhost/test/login.jsp
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
map_uri_to_worker::jk_uri_worker_map.c (700): Attempting to map URI
'/localhost/test/login.jsp' from 1 maps
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
map_uri_to_worker::jk_uri_worker_map.c (718): Attempting to map context URI
'/*jsp'
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
map_uri_to_worker::jk_uri_worker_map.c (768): Found a general suffix match
main -> *jsp
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
HttpFilterProc::jk_isapi_plugin.c (770): check if [/test/login.jsp] is
points to the web-inf directory
[Tue Apr 26 10:27:20 2005] [3616:816] [debug]
HttpFilterProc::jk_isapi_plugin.c (788): [/test/login.jsp] is a servlet
url - should redirect to main
=====================
----- Original Message ----- 
From: "Thomas Nybro Bolding" <th...@danskebank.dk>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Tuesday, April 26, 2005 9:59 AM
Subject: Vedr.: Re: Vedr.: ISAPI_REDIRECT


> Hi Tony,
> my own experience with IIS 6.0 is rather limited as our production
> environment is Win2K, but I have seen several posts where people have put
> IIS 6.0 in IIS5.0 isolation mode?
>
> Another possibility is that your configuration files are broken (have you
> configured the jk connector etc.) Try posting these as well.
>
> /Thomas
>
>
>
>
>
> "Tony Nakamura" <to...@uickarate.com>
> 26-04-2005 16:45
> Besvar venligst til "Tomcat Users List"
>
>
>         Til:    "Tomcat Users List" <to...@jakarta.apache.org>
>         cc:
>         Vedr.:  Re: Vedr.: ISAPI_REDIRECT
>
>
>
> Hello Thomas,
>
> Thank for the reply.  I failed to mention, but I've setup the Web Service
> Entention to the isapi_redirect.dll and gave an "allow" permission.  I
> used
> isapi_redirect-1.2.10.exe, so it should have setup all of the settings
> correctly.  One other weird thing is that isapi_redirect.log does not have
> any output.
>
> Thank you,
>
>
> Tony
>
>
>
> ----- Original Message ----- 
> From: "Thomas Nybro Bolding" <th...@danskebank.dk>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Tuesday, April 26, 2005 8:55 AM
> Subject: Vedr.: ISAPI_REDIRECT
>
>
> > From
> >
> > http://www.reynir.net/java/greinar/nr/52
> >
> >
> > If you are using IIS V6, which ships with Windows Server 2003, you must
> > allow the "Web Service Extension" to operate. Earlier versions of IIS
> did
> > not require this step. Using the IIS Internet Services Manager, click on
> > the Web Services Extensions item in the left hand pane. In the right
> hand
> > pane add a new Web Service Extension called, give it a name, and browse
> > and set the required file for this extension to the isapi_redirect.dll
> and
> > set the status to allowed. Then restart IIS.
> >
> > Best regards Thomas
> >
> >
> >
> >
> >
> >
> > "Tony Nakamura" <to...@uickarate.com>
> > 26-04-2005 14:47
> > Besvar venligst til "Tomcat Users List"
> >
> >
> >         Til:    <to...@jakarta.apache.org>
> >         cc:
> >         Vedr.:  ISAPI_REDIRECT
> >
> >
> >
> > Hi,
> >
> > It seems like ISAPI filter for IIS is a common hurdle for many people to
> > get it working, and I'm no exception.
> > My environment is as following:
> >
> > Tomcat 5.0.28
> > IIS 6.0
> > Win 2003 Server
> > ISAPI_REDIRECT (used isapi_redirect-1.2.10.exe to setup)
> >
> > I've gone through documentation for IIS 6 and ISAPI_REDIRECT and got the
> > ISAPI_FILTER in IIS to have a green arrow.  However, it doesn't forward
> > the request correctly to Tomcat, with IIS logging "Error 404 - File not
> > Found" error.  Tomcat is working fine on port 8080.
> >
> > Could anyone give me a direction on what could possibly be wrong?
> >
> >
> > Thank you,
> >
> >
> > Tony
> >
> >
> >
> >
> > <FONT SIZE=1 FACE="Arial">_______________
> > Vi goer opmaerksom paa, 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 vedhaeftet bilag efter vores overbevisning
> er
> fri for virus og andre fejl, som kan paavirke computeren eller
> it-systemet,
> hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi
> paatager os ikke noget ansvar for tab og skade, som er opstaaet 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
>



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