« Previous Next »

Thread: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

Last post 10-15-2009 9:11 AM by tdavis. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 02-14-2009, 10:15 PM

    IIS 7 and TOMCAT 6 CONFIGURATION WOES.

    After about 2 days devoted to having a website run using iis 7 and tomcat I have become exhausted.  I cannot seem to get these two to work together.  I have tried almost everything, and I still cannot get these two to work.  So far this is what I have tried:

     1. put the redirector in a folder - C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\bin

    2. Created uriworkermap.properties and workers.properties files and put them under C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\conf directory

    3. Updated the registry keys through regedit for all these files

    4. Created a virtual directory under the default website and assigned the isapi redirector.dll file under it.

    5. Configured the CGI/Isapi restrictions to allow the isapi redirector

    6. Configured the  Isapi filters to the redirect.dll

    7.  Under Handler Mappings I add the isapi redirector.dll path to be able to execute a *.dll file

    Right now the error that I am getting when I try to access my website is:

    403 - Forbidden: Access is denied.

    You do not have permission to view this directory or page using the credentials that you supplied.

     Also, I have set all the permissions on all the files that need to be accessed to read, write, and execute.  There is one thing that is bothering me.  Which do I need to put for "Physical Path Credentials" under "Advanced  Settings" for the virtual directory.  Right now I have "Application User (pass through authentication)" but there is the other option "Specific User."  Also, the logs for the redirector.dll has never been writen to, so I have no error messages for that. I dont know if that is from the redirector not kicking off or something else.  The only error log that I have is the http request logs and this is what is in for a tried request from another computer.

    #Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
    2009-02-15 03:17:00 192.168.1.103 GET / - 80 - 98.122.123.252 Mozilla/5.0+(Windows;+U;+Windows+NT+6.0;+en-US;+rv:1.9.0.6)+Gecko/2009011913+Firefox/3.0.6 403 14 0 4696


    Any help on this would be greatly appreciated.

    Thanks in advance,

     

    Chris

     

  • 02-14-2009, 11:28 PM In reply to

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

     What happens if you go to actual files rather than the root?

  • 02-15-2009, 12:09 AM In reply to

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

     What do you mean go to the files? The web application is working within tomcat, but I dont think its even getting that far.  I believe the problem lies from when the request comes in.  When you say files do you mean <hostip>/inetpub/wwwroot/jakarta typed within the browser? Or do you mean www.mymocee.net/MyMocee the directory within tomcat?

     

  • 02-15-2009, 11:02 AM In reply to

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

    I was trying to establish if there are general problems with IIS e.g. not allowing directory browsing (which is the error you are getting) but the actaul files work ok.

  • 02-15-2009, 4:22 PM In reply to

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

    yes I am able to go inside the directories within the inetpub directory, however, when I try to access the page from another computer I get that error message.  I dont know what could be causing this, but I believe the problem lies when the request is made and IIS 7 is trying to access the redirect.dll file within the virtual directory.  I dont see why it needs authentication on such a request, but apparently it does. Also, I just figured out that its a 403.14 to be more specific.  This error indicates directory listing denied.  I believe that if I can get IIS to call the isapi_redirect than the redirection will in turn work finally. Any suggestions in fixing this issue?
     

  • 02-15-2009, 7:36 PM In reply to

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

     Does it matter if the tomcat installation path is not directly off of the C:\ drive?  For example, my tomcat directory is located in program files.

  • 10-15-2009, 9:11 AM In reply to

    • tdavis
    • Not Ranked
    • Joined on 10-15-2009, 9:10 AM
    • Posts 1

    Re: IIS 7 and TOMCAT 6 CONFIGURATION WOES.

     IWAM_ and IUSR_ users may need as much as full control of the directory with the DLL or the dll itself.

Page 1 of 1 (7 items)
Microsoft Communities