3 Replies Latest reply on Oct 4, 2007 10:43 AM by ritu2p

    IIS and mod_jk 1.2.25 problem

    cyclops49

      win2003 standard sp1
      JRockit 1.4.2
      JBoss 3.2.8 sp1 (I changed port 8080 to 8002)

      workers.properties

      worker.list=worker1
      worker.worker1.type=ajp13
      worker.worker1.host=localhost
      worker.worker1.port=8009
      


      uriworkermap.properties
      /TopAppsWeb/*=worker1
      



      http://localhost:8002/TopAppsWeb/ => OK
      http://localhost/TopAppsWeb/ => 404 error

      why 404 error?
      Did I miss something?


      Here is mod_jk log file:
      ...
      [Thu Sep 13 18:51:15.078 2007] [3840:3880] [info] jk_isapi_plugin.c (1793): isapi_redirect/1.2.25 initialized
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1199): Filter started
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1266): Virtual Host redirection of /localhost/TopAppsWeb/
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/localhost/TopAppsWeb/' from 1 maps
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/TopAppsWeb/*=worker1' source 'uriworkermap'
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1273): Default redirection of /TopAppsWeb/
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_uri_worker_map.c (597): Attempting to map URI '/TopAppsWeb/' from 1 maps
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_uri_worker_map.c (609): Attempting to map context URI '/TopAppsWeb/*=worker1' source 'uriworkermap'
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_uri_worker_map.c (624): Found a wildchar match '/TopAppsWeb/*=worker1'
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1286): check if [/TopAppsWeb/] is points to the web-inf directory
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1303): [/TopAppsWeb/] is a servlet url - should redirect to worker1
      [Thu Sep 13 18:51:15.093 2007] [3840:3880] [debug] jk_isapi_plugin.c (1345): fowarding escaped URI [/TopAppsWeb/]
      


        • 1. Re: IIS and mod_jk 1.2.25 problem
          cyclops49

          I solved it!
          Because IIS is v6 (in w2k3), so it needs to add the dll as a Web Service Extension

          • 2. Re: IIS and mod_jk 1.2.25 problem
            ritu2p

            Hi cyclops49,

            Can you please send me the steps that you followed to set up IIS-JBoss redirection using mod_jk OR point me to a "How TO" document/site? I am using JBoss 3.2.7 on Windows 2003 Server running IIS v6.0. I can switch to a later version of JBoss if that becomes an issue.

            Thanks.

            • 3. Re: IIS and mod_jk 1.2.25 problem
              ritu2p

              Looks like my initial post did not make it through ... I did not receive it myself. I am re-sending it ... please excuse me if you get it twice.

              Hi cyclops49,

              Can you please send me the steps that you followed to set up IIS-JBoss redirection using mod_jk OR point me to a "How TO" document/site? I am using JBoss 3.2.7 on Windows 2003 Server running IIS v6.0. I can switch to a later version of JBoss if that becomes an issue. I have tried a few different ways but none with satisfactory results.

              Thanks.