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" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[email protected]>
>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" <[EMAIL PROTECTED]>
>>>To: "Tomcat Users List" <[email protected]>
>>>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" <[EMAIL PROTECTED]>
>>>>26-04-2005 16:45
>>>>Besvar venligst til "Tomcat Users List"
>>>>
>>>>
>>>>       Til:    "Tomcat Users List" <[email protected]>
>>>>       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" <[EMAIL PROTECTED]>
>>>>To: "Tomcat Users List" <[email protected]>
>>>>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" <[EMAIL PROTECTED]>
>>>>>26-04-2005 14:47
>>>>>Besvar venligst til "Tomcat Users List"
>>>>>
>>>>>
>>>>>       Til:    <[email protected]>
>>>>>       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: [EMAIL PROTECTED]
>>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>    
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

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

Reply via email to