1 2 3 Previous Next 30 Replies Latest reply on Feb 14, 2011 1:57 PM by vtech005

    Jboss 5.1 and IIS

    vtech005

      Hello guys

      I am trying to configure IIS 6 AND jboss 5.1

      want to access my .ear file in the default/deploy folder in my jboss 5.1
      via http://192.168.1.2/application_name

      but i can access http://192.168.1.2:8080/application_name
      i want to resolve the port

      anyone with idea can please share with me here or chat vtech.ng@mail.com
      or vick_and1@yahoo.com

      i to read from u guys soon

        • 1. Jboss 5.1 and IIS
          mp911de
          • 2. Jboss 5.1 and IIS
            vtech005

            Hi Mark

             

            Yes i am using mod_jk 1.2.30 and a isapi_redirector 1.2.30

            following these guideand this guide

             

            http://community.jboss.org/wiki/UsingModjk12WithJBossAndIIS

             

            and i am having some errors on my isapi _redirect log which i dont seems to understand below

            .........................................................................................................

            [Mon Feb 07 13:36:39.359 2011] [4512:1436] [debug] jk_isapi_plugin.c (1835): Filter started

            [Mon Feb 07 13:36:39.421 2011] [4512:1436] [debug] jk_uri_worker_map.c (1036): Attempting to map URI '/10.101.6.156/servlets-examples' from 11 maps

            [Mon Feb 07 13:36:39.437 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/servlets-examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.468 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/TaxManager/*.jsp=node1' source 'uriworkermap'

            [Mon Feb 07 13:36:39.500 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jsp-examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.515 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console/*=loadbalancer' source 'uriworkermap'

            [Mon Feb 07 13:36:39.546 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.578 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/manager/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.609 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/status/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.671 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/admin/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.703 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console=loadbalancer' source 'uriworkermap'

            [Mon Feb 07 13:36:39.750 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jkmanager=jkstatus' source 'uriworkermap'

            [Mon Feb 07 13:36:39.765 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/servlets-examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.781 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/TaxManager/*.jsp=node1' source 'uriworkermap'

            [Mon Feb 07 13:36:39.812 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jsp-examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.875 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console/*=loadbalancer' source 'uriworkermap'

            [Mon Feb 07 13:36:39.906 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/examples/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.953 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/manager/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:39.968 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/status/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:40.015 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/admin/*=wlb' source 'uriworkermap'

            [Mon Feb 07 13:36:40.031 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console=loadbalancer' source 'uriworkermap'

            [Mon Feb 07 13:36:40.046 2011] [4512:1436] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jkmanager=jkstatus' source 'uriworkermap'

            [Mon Feb 07 13:36:40.078 2011] [4512:1436] [debug] jk_isapi_plugin.c (2055): [/servlets-examples] is not a servlet url

             

            Workers.properties

            ...................................

            # Define list of workers that will be used
            # for mapping requests           
            worker.list=node1

            # Define Node1
            worker.node1.port=8009
            worker.node1.host=10.101.6.156
            worker.node1.type=ajp13
            #ping_mode as of mod_jk 1.2.30
            worker.node1.ping_mode=A
            worker.node1.socket_timeout=10


            #
            # Define status worker for managing load balance
            #

            worker.status.type=status

            .............................................

             

            uriworkermap.properties

            .......................................................


            # uriworkermap.properties - IIS
            #
            # This file provides sample mappings for example wlb
            # worker defined in workermap.properties.minimal
            # The general syntax for this file is:
            # [URL]=[Worker name]

            /admin/*=wlb
            /manager/*=wlb
            /jsp-examples/*=wlb
            /servlets-examples/*=wlb
            /examples/*=wlb
            /status/*=wlb

            # Simple worker configuration file
            #

            # Mount the Servlet context to the ajp13 worker
            /jmx-console=loadbalancer
            /jmx-console/*=loadbalancer
            /TaxManager/*.jsp=node1

            # Optionally filter out all .jpeg files inside that context
            # For no mapping the url has to start with exclamation

            !/servlets-examples/*.jpeg=wlb

            #
            # Mount jkstatus to /jkmanager
            # For production servers you will need to
            # secure the access to the /jkmanager url
            #
            /jkmanager=jkstatus

             

            Pleaseeeeeee Do u have chatting id on yahoo or gmail or hotmail so we can have a better conversation

            thanks in advance.....

            • 3. Jboss 5.1 and IIS
              mp911de

              try:

              .............................................

               

              uriworkermap.properties

              .......................................................


              # uriworkermap.properties - IIS
              #
              # This file provides sample mappings for example wlb
              # worker defined in workermap.properties.minimal
              # The general syntax for this file is:
              # [URL]=[Worker name]

              /admin/*=node1

              /manager/*=node1

              /jsp-examples/*=node1

              /servlets-examples/*=node1

              /examples/*=node1

              /status/*=node1

              • 4. Jboss 5.1 and IIS
                vtech005

                Ok Mark,

                 

                Please hold on for me while i try it.

                 

                Thanks for response

                • 5. Jboss 5.1 and IIS
                  vtech005

                  Hi Mark..

                   

                  My .ear file is deployed in the path default/deploy folder in my jboss 5.1

                  do i need to drop the ear file in intelpub/wwwroot directory? COS of this error [/TaxManager] is not a servlet url on the log

                  TaxManager is the name of the ear file.

                   

                  BELOW IS MY NEW SETTINGS

                  C:\Jboss_IIS\mod_jk\native\iis\installer\conf\worker.properties.minimal

                   

                  # Define list of workers that will be used

                  # for mapping requests           
                  worker.list=node1

                   

                  # Define Node1
                  worker.node1.port=8009
                  worker.node1.host=node.1.10.101.6.156
                  worker.node1.type=ajp13

                   

                  #ping_mode as of mod_jk 1.2.30

                  worker.node1.ping_mode=A
                  worker.node1.socket_timeout=10
                    

                  # Status worker for managing load balancer
                  worker.status.type=status


                  C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties
                  # [URL]=[Worker name]

                   

                  /admin/*=node1

                  /manager/*=node1

                  /jsp-examples/*=node1

                  /servlets-examples/*=node1

                  /examples/*=node1
                  /status/*=node1

                  /TaxManager/*=node1

                   


                  # Simple worker configuration file
                  #


                  # Mount the Servlet context to the ajp13 worker
                  /jmx-console=loadbalancer
                  /jmx-console/*=loadbalancer
                  /TaxManager/*=loadbalancer

                   

                  C:\Jboss_IIS\mod_jk\native\iis\installer\log\isapi_redirect.log

                   

                   

                   

                  LOG BELOW:

                  [Mon Feb 07 14:58:20.171 2011] [792:5644] [debug] jk_util.c (459): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S.000 %Y] '

                  [Mon Feb 07 14:58:20.187 2011] [792:5644] [info] jk_isapi_plugin.c (2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.30

                  [Mon Feb 07 14:58:20.203 2011] [792:5644] [debug] jk_isapi_plugin.c (2421): Detected IIS version 5.1

                  [Mon Feb 07 14:58:20.218 2011] [792:5644] [debug] jk_isapi_plugin.c (2426): Using registry.

                  [Mon Feb 07 14:58:20.234 2011] [792:5644] [debug] jk_isapi_plugin.c (2429): Using log file C:\Jboss_IIS\mod_jk\native\iis\installer\log\isapi_redirect.log.

                  [Mon Feb 07 14:58:20.265 2011] [792:5644] [debug] jk_isapi_plugin.c (2430): Using log level 1.

                  [Mon Feb 07 14:58:20.281 2011] [792:5644] [debug] jk_isapi_plugin.c (2431): Using extension uri /jakarta/isapi_redirect.dll.

                  [Mon Feb 07 14:58:20.312 2011] [792:5644] [debug] jk_isapi_plugin.c (2432): Using worker file C:\Jboss_IIS\mod_jk\native\iis\installer\conf\workers.properties.

                  [Mon Feb 07 14:58:20.328 2011] [792:5644] [debug] jk_isapi_plugin.c (2433): Using worker mount file C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties.

                  [Mon Feb 07 14:58:20.359 2011] [792:5644] [debug] jk_isapi_plugin.c (2435): Using rewrite rule file .

                  [Mon Feb 07 14:58:20.375 2011] [792:5644] [debug] jk_isapi_plugin.c (2437): Using uri select 3.

                  [Mon Feb 07 14:58:20.406 2011] [792:5644] [debug] jk_isapi_plugin.c (2438): Using no chunked encoding.

                  [Mon Feb 07 14:58:20.421 2011] [792:5644] [debug] jk_isapi_plugin.c (2440): Using notification event SF_NOTIFY_AUTH_COMPLETE (0x04000000)

                  [Mon Feb 07 14:58:20.437 2011] [792:5644] [debug] jk_isapi_plugin.c (2450): Using uri header TOMCATURI6A6B0000:.

                  [Mon Feb 07 14:58:20.468 2011] [792:5644] [debug] jk_isapi_plugin.c (2451): Using query header TOMCATQUERY6A6B0000:.

                  [Mon Feb 07 14:58:20.484 2011] [792:5644] [debug] jk_isapi_plugin.c (2452): Using worker header TOMCATWORKER6A6B0000:.

                  [Mon Feb 07 14:58:20.515 2011] [792:5644] [debug] jk_isapi_plugin.c (2453): Using worker index TOMCATWORKERIDX6A6B0000:.

                  [Mon Feb 07 14:58:20.531 2011] [792:5644] [debug] jk_isapi_plugin.c (2454): Using translate header TOMCATTRANSLATE6A6B0000:.

                  [Mon Feb 07 14:58:20.546 2011] [792:5644] [debug] jk_isapi_plugin.c (2455): Using a default of 250 connections per pool.

                  [Mon Feb 07 14:58:20.578 2011] [792:5644] [debug] jk_map.c (491): Adding property '/admin/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.609 2011] [792:5644] [debug] jk_map.c (491): Adding property '/manager/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.625 2011] [792:5644] [debug] jk_map.c (491): Adding property '/jsp-examples/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.656 2011] [792:5644] [debug] jk_map.c (491): Adding property '/servlets-examples/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.671 2011] [792:5644] [debug] jk_map.c (491): Adding property '/examples/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.703 2011] [792:5644] [debug] jk_map.c (491): Adding property '/status/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.718 2011] [792:5644] [debug] jk_map.c (491): Adding property '/TaxManager/*' with value 'node1' to map.

                  [Mon Feb 07 14:58:20.750 2011] [792:5644] [debug] jk_map.c (491): Adding property '/jmx-console' with value 'loadbalancer' to map.

                  [Mon Feb 07 14:58:20.765 2011] [792:5644] [debug] jk_map.c (491): Adding property '/jmx-console/*' with value 'loadbalancer' to map.

                  [Mon Feb 07 14:58:20.781 2011] [792:5644] [debug] jk_map.c (491): Adding property '!/servlets-examples/*.jpeg' with value 'wlb' to map.

                  [Mon Feb 07 14:58:20.812 2011] [792:5644] [debug] jk_map.c (491): Adding property '/jkmanager' with value 'jkstatus' to map.

                  [Mon Feb 07 14:58:20.828 2011] [792:5644] [debug] jk_uri_worker_map.c (1102): Loading urimaps from C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties with reload check interval 60 seconds

                  [Mon Feb 07 14:58:20.859 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/admin/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:20.875 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/manager/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:20.906 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/jsp-examples/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:20.937 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/servlets-examples/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:20.953 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/examples/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:20.968 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/status/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.015 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/TaxManager/*=node1' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.046 2011] [792:5644] [debug] jk_uri_worker_map.c (729): exact rule '/jmx-console=loadbalancer' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.062 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/jmx-console/*=loadbalancer' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.109 2011] [792:5644] [debug] jk_uri_worker_map.c (720): wildchar rule '/servlets-examples/*.jpeg=wlb' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.140 2011] [792:5644] [debug] jk_uri_worker_map.c (729): exact rule '/jkmanager=jkstatus' source 'uriworkermap' was added

                  [Mon Feb 07 14:58:21.171 2011] [792:5644] [debug] jk_uri_worker_map.c (171): uri map dump after file load: index=0 file='C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties' reject_unsafe=0 reload=60 modified=1297087056 checked=1297087101

                  [Mon Feb 07 14:58:21.187 2011] [792:5644] [debug] jk_uri_worker_map.c (176): generation 0: size=0 nosize=0 capacity=0

                  [Mon Feb 07 14:58:21.203 2011] [792:5644] [debug] jk_uri_worker_map.c (176): generation 1: size=11 nosize=1 capacity=12

                  [Mon Feb 07 14:58:21.250 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #0: uri=/servlets-examples/*.jpeg worker=wlb context=/servlets-examples/*.jpeg source=uriworkermap type=Unmount Wildchar len=25

                  [Mon Feb 07 14:58:21.281 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #1: uri=/servlets-examples/* worker=node1 context=/servlets-examples/* source=uriworkermap type=Wildchar len=20

                  [Mon Feb 07 14:58:21.296 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #2: uri=/jsp-examples/* worker=node1 context=/jsp-examples/* source=uriworkermap type=Wildchar len=15

                  [Mon Feb 07 14:58:21.328 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #3: uri=/jmx-console/* worker=loadbalancer context=/jmx-console/* source=uriworkermap type=Wildchar len=14

                  [Mon Feb 07 14:58:21.343 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #4: uri=/TaxManager/* worker=node1 context=/TaxManager/* source=uriworkermap type=Wildchar len=13

                  [Mon Feb 07 14:58:21.359 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #5: uri=/examples/* worker=node1 context=/examples/* source=uriworkermap type=Wildchar len=11

                  [Mon Feb 07 14:58:21.390 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #6: uri=/manager/* worker=node1 context=/manager/* source=uriworkermap type=Wildchar len=10

                  [Mon Feb 07 14:58:21.406 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #7: uri=/status/* worker=node1 context=/status/* source=uriworkermap type=Wildchar len=9

                  [Mon Feb 07 14:58:21.437 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #8: uri=/admin/* worker=node1 context=/admin/* source=uriworkermap type=Wildchar len=8

                  [Mon Feb 07 14:58:21.453 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #9: uri=/jmx-console worker=loadbalancer context=/jmx-console source=uriworkermap type=Exact len=12

                  [Mon Feb 07 14:58:21.468 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #10: uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap type=Exact len=10

                  [Mon Feb 07 14:58:21.515 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.list' with value 'node1' to map.

                  [Mon Feb 07 14:58:21.546 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.node1.port' with value '8009' to map.

                  [Mon Feb 07 14:58:21.578 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.node1.host' with value '10.101.6.156' to map.

                  [Mon Feb 07 14:58:21.593 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.node1.type' with value 'ajp13' to map.

                  [Mon Feb 07 14:58:21.625 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.node1.ping_mode' with value 'A' to map.

                  [Mon Feb 07 14:58:21.640 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.node1.socket_timeout' with value '10' to map.

                  [Mon Feb 07 14:58:21.671 2011] [792:5644] [debug] jk_map.c (491): Adding property 'worker.status.type' with value 'status' to map.

                  [Mon Feb 07 14:58:21.687 2011] [792:5644] [debug] jk_map.c (774): Checking for references with prefix worker. with wildcard (recursion 1)

                  [Mon Feb 07 14:58:21.703 2011] [792:5644] [debug] jk_shm.c (132): shared memory will contain 1 ajp workers of size 320 and 0 lb workers of size 320 with 0 members of size 384+320

                  [Mon Feb 07 14:58:21.734 2011] [792:5644] [debug] jk_shm.c (254): Initialized shared memory JKISAPISHMEM_10_101_6_156_1 size=448 free=320 addr=0xbb0000

                  [Mon Feb 07 14:58:21.750 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.list' -> 'node1'

                  [Mon Feb 07 14:58:21.781 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.node1.port' -> '8009'

                  [Mon Feb 07 14:58:21.796 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.node1.host' -> '10.101.6.156'

                  [Mon Feb 07 14:58:21.828 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.node1.type' -> 'ajp13'

                  [Mon Feb 07 14:58:21.843 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.node1.ping_mode' -> 'A'

                  [Mon Feb 07 14:58:21.859 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.node1.socket_timeout' -> '10'

                  [Mon Feb 07 14:58:21.890 2011] [792:5644] [debug] jk_map.c (589): Dump of map: 'worker.status.type' -> 'status'

                  [Mon Feb 07 14:58:21.906 2011] [792:5644] [debug] jk_worker.c (242): creating worker node1

                  [Mon Feb 07 14:58:21.937 2011] [792:5644] [debug] jk_worker.c (146): about to create instance node1 of ajp13

                  [Mon Feb 07 14:58:21.953 2011] [792:5644] [debug] jk_worker.c (159): about to validate and init node1

                  [Mon Feb 07 14:58:21.968 2011] [792:5644] [debug] jk_ajp_common.c (2605): worker node1 contact is '10.101.6.156:8009'

                  [Mon Feb 07 14:58:22.015 2011] [792:5644] [debug] jk_ajp_common.c (2800): setting endpoint options:

                  [Mon Feb 07 14:58:22.031 2011] [792:5644] [debug] jk_ajp_common.c (2803): keepalive:              0

                  [Mon Feb 07 14:58:22.046 2011] [792:5644] [debug] jk_ajp_common.c (2807): socket timeout:         10

                  [Mon Feb 07 14:58:22.078 2011] [792:5644] [debug] jk_ajp_common.c (2811): socket connect timeout: 10000

                  [Mon Feb 07 14:58:22.093 2011] [792:5644] [debug] jk_ajp_common.c (2815): buffer size:            0

                  [Mon Feb 07 14:58:22.125 2011] [792:5644] [debug] jk_ajp_common.c (2819): pool timeout:           0

                  [Mon Feb 07 14:58:22.140 2011] [792:5644] [debug] jk_ajp_common.c (2823): ping timeout:           10000

                  [Mon Feb 07 14:58:22.171 2011] [792:5644] [debug] jk_ajp_common.c (2827): connect timeout:        10000

                  [Mon Feb 07 14:58:22.187 2011] [792:5644] [debug] jk_ajp_common.c (2831): reply timeout:          0

                  [Mon Feb 07 14:58:22.203 2011] [792:5644] [debug] jk_ajp_common.c (2835): prepost timeout:        10000

                  [Mon Feb 07 14:58:22.234 2011] [792:5644] [debug] jk_ajp_common.c (2839): recovery options:       0

                  [Mon Feb 07 14:58:22.250 2011] [792:5644] [debug] jk_ajp_common.c (2843): retries:                2

                  [Mon Feb 07 14:58:22.281 2011] [792:5644] [debug] jk_ajp_common.c (2847): max packet size:        8192

                  [Mon Feb 07 14:58:22.312 2011] [792:5644] [debug] jk_ajp_common.c (2851): retry interval:         100

                  [Mon Feb 07 14:58:22.328 2011] [792:5644] [debug] jk_ajp_common.c (2662): setting connection pool size to 250 with min 125 and acquire timeout 200

                  [Mon Feb 07 14:58:22.359 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.390 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.406 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 1: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.437 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.453 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.468 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 2: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.500 2011] [792:5644] [debug] jk_worker.c (116): did not find a worker loadbalancer

                  [Mon Feb 07 14:58:22.515 2011] [792:5644] [error] jk_uri_worker_map.c (506): Could not find worker with name 'loadbalancer' in uri map post processing.

                  [Mon Feb 07 14:58:22.546 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.562 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.593 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 4: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.609 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.625 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.656 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 5: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.671 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.703 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.718 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 6: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.750 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.781 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.796 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 7: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.828 2011] [792:5644] [debug] jk_worker.c (116): found a worker node1

                  [Mon Feb 07 14:58:22.843 2011] [792:5644] [debug] jk_worker.c (293): Found worker type 'ajp13'

                  [Mon Feb 07 14:58:22.859 2011] [792:5644] [debug] jk_uri_worker_map.c (512): Checking extension for worker 8: node1 of type ajp13 (2)

                  [Mon Feb 07 14:58:22.890 2011] [792:5644] [debug] jk_worker.c (116): did not find a worker loadbalancer

                  [Mon Feb 07 14:58:22.906 2011] [792:5644] [error] jk_uri_worker_map.c (506): Could not find worker with name 'loadbalancer' in uri map post processing.

                  [Mon Feb 07 14:58:22.937 2011] [792:5644] [debug] jk_worker.c (116): did not find a worker jkstatus

                  [Mon Feb 07 14:58:22.953 2011] [792:5644] [error] jk_uri_worker_map.c (506): Could not find worker with name 'jkstatus' in uri map post processing.

                  [Mon Feb 07 14:58:22.968 2011] [792:5644] [debug] jk_uri_worker_map.c (171): uri map dump after extension stripping: index=0 file='C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties' reject_unsafe=0 reload=60 modified=1297087056 checked=1297087101

                  [Mon Feb 07 14:58:23.000 2011] [792:5644] [debug] jk_uri_worker_map.c (176): generation 0: size=0 nosize=0 capacity=0

                  [Mon Feb 07 14:58:23.015 2011] [792:5644] [debug] jk_uri_worker_map.c (176): generation 1: size=11 nosize=1 capacity=12

                  [Mon Feb 07 14:58:23.046 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #0: uri=/servlets-examples/*.jpeg worker=wlb context=/servlets-examples/*.jpeg source=uriworkermap type=Unmount Wildchar len=25

                  [Mon Feb 07 14:58:23.062 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #1: uri=/servlets-examples/* worker=node1 context=/servlets-examples/* source=uriworkermap type=Wildchar len=20

                  [Mon Feb 07 14:58:23.093 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #2: uri=/jsp-examples/* worker=node1 context=/jsp-examples/* source=uriworkermap type=Wildchar len=15

                  [Mon Feb 07 14:58:23.109 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #3: uri=/jmx-console/* worker=loadbalancer context=/jmx-console/* source=uriworkermap type=Wildchar len=14

                  [Mon Feb 07 14:58:23.125 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #4: uri=/TaxManager/* worker=node1 context=/TaxManager/* source=uriworkermap type=Wildchar len=13

                  [Mon Feb 07 14:58:23.156 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #5: uri=/examples/* worker=node1 context=/examples/* source=uriworkermap type=Wildchar len=11

                  [Mon Feb 07 14:58:23.171 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #6: uri=/manager/* worker=node1 context=/manager/* source=uriworkermap type=Wildchar len=10

                  [Mon Feb 07 14:58:23.203 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #7: uri=/status/* worker=node1 context=/status/* source=uriworkermap type=Wildchar len=9

                  [Mon Feb 07 14:58:23.218 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #8: uri=/admin/* worker=node1 context=/admin/* source=uriworkermap type=Wildchar len=8

                  [Mon Feb 07 14:58:23.250 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #9: uri=/jmx-console worker=loadbalancer context=/jmx-console source=uriworkermap type=Exact len=12

                  [Mon Feb 07 14:58:23.312 2011] [792:5644] [debug] jk_uri_worker_map.c (186): NEXT (1) map #10: uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap type=Exact len=10

                  [Mon Feb 07 14:58:23.375 2011] [792:5644] [debug] jk_uri_worker_map.c (482): Switching uri worker map from index 0 to index 1

                  [Mon Feb 07 14:58:23.406 2011] [792:5644] [info] jk_isapi_plugin.c (2573): Jakarta/ISAPI/isapi_redirector/1.2.30 initialized

                  [Mon Feb 07 14:58:23.421 2011] [792:5644] [debug] jk_isapi_plugin.c (1835): Filter started

                  [Mon Feb 07 14:58:23.437 2011] [792:5644] [debug] jk_uri_worker_map.c (1036): Attempting to map URI '/10.101.6.156/TaxManager' from 11 maps

                  [Mon Feb 07 14:58:23.468 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/servlets-examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.484 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jsp-examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.515 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console/*=loadbalancer' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.531 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/TaxManager/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.546 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.578 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/manager/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.593 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/status/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.625 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/admin/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.640 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console=loadbalancer' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.671 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jkmanager=jkstatus' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.687 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/servlets-examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.703 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jsp-examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.734 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console/*=loadbalancer' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.750 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/TaxManager/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.781 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/examples/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.796 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/manager/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.828 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/status/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.843 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/admin/*=node1' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.875 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jmx-console=loadbalancer' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.937 2011] [792:5644] [debug] jk_uri_worker_map.c (850): Attempting to map context URI '/jkmanager=jkstatus' source 'uriworkermap'

                  [Mon Feb 07 14:58:23.968 2011] [792:5644] [debug] jk_isapi_plugin.c (2055): [/TaxManager] is not a servlet url

                  • 6. Jboss 5.1 and IIS
                    mp911de

                    Hi Victor,

                     

                    your EAR belongs into your JBoss NOT to IIS wwwroot.

                     

                    There are some things, the Log says:

                     

                    [Mon Feb 07 14:58:20.312 2011] [792:5644] [debug] jk_isapi_plugin.c (2432): Using worker file C:\Jboss_IIS\mod_jk\native\iis\installer\conf\workers.properties.

                    [Mon Feb 07 14:58:20.328 2011] [792:5644] [debug] jk_isapi_plugin.c (2433): Using worker mount file C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties.

                     

                    Your workers-Properties needs to be C:\Jboss_IIS\mod_jk\native\iis\installer\conf\workers.properties, your uriworkermap-Properties C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties

                     

                     

                    You can strip the Examples from uriworkermap, so it would look like:

                     

                    C:\Jboss_IIS\mod_jk\native\iis\installer\conf\uriworkermap.properties
                    # [URL]=[Worker name]

                    /TaxManager/*=node1

                     

                    If you now do your Request to http://yourhost/TaxManager/ it should work out (in the Mapping there is a / at the end of the Path, so try to do your Request WITH ending Slash) The only Errors in your log are about not defined workers. mod_jk is a Proxy-Module, you can define different workers which could point to different Servers.

                    What does your Browser say, when you do the Request to http://yourhost/TaxManager/?

                    • 7. Jboss 5.1 and IIS
                      vtech005

                      Hi Mark

                       

                      How do i define workers.mod_jk for my worker properties?

                       

                      The application is coming up but it is slow

                      some point i got a message "bad Gateway"

                      please i will get back to you soon  want to restart my pc

                       

                      Thanks

                      • 8. Jboss 5.1 and IIS
                        vtech005

                        Hello Mark

                         

                        The Application is displaying now... first of all i want to apprciate your time, concern and huge contribution..you made my day

                         

                        But am having a few issue...below

                         

                        The Application is slow when loading and i have deployed the application on 1 system where both (Jboss and IIS are runinng)

                        The structure i want to have is--- App Server  + Web Server.

                         

                        Please how do i define my workers.properties in IIS (Web Server) to point the my App Server(Jboss Server)?

                         

                        Currently I cannot browse the url :http://10.101.6.156/Application_name/ from another pc on the same network

                        but i can browse it on the same machine where it is deployed

                         

                        Please what might be wrong?

                         

                        log

                         

                        [Mon Feb 07 18:06:39.750 2011] [920:1780] [debug] jk_ajp_common.c (1639): (node1) request body to send 0 - request body to resend 0

                        [Mon Feb 07 18:06:39.765 2011] [920:1780] [debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=107 max=8192

                        [Mon Feb 07 18:06:39.796 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0000    04 01 94 00 09 4E 6F 74 20 46 6F 75 6E 64 00 00  - .....Not.Found..

                        [Mon Feb 07 18:06:39.812 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0010    03 00 0C 58 2D 50 6F 77 65 72 65 64 2D 42 79 00  - ...X-Powered-By.

                        [Mon Feb 07 18:06:39.843 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0020    00 23 53 65 72 76 6C 65 74 20 32 2E 35 3B 20 4A  - .#Servlet.2.5;.J

                        [Mon Feb 07 18:06:39.859 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0030    42 6F 73 73 2D 35 2E 30 2F 4A 42 6F 73 73 57 65  - Boss-5.0/JBossWe

                        [Mon Feb 07 18:06:39.875 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0040    62 2D 32 2E 31 00 A0 01 00 17 74 65 78 74 2F 68  - b-2.1.....text/h

                        [Mon Feb 07 18:06:39.906 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0050    74 6D 6C 3B 63 68 61 72 73 65 74 3D 75 74 66 2D  - tml;charset=utf-

                        [Mon Feb 07 18:06:39.921 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0060    38 00 A0 03 00 04 31 30 32 33 00 00 00 00 00 00  - 8.....1023......

                        [Mon Feb 07 18:06:39.953 2011] [920:1780] [debug] jk_ajp_common.c (660): status = 404

                        [Mon Feb 07 18:06:39.968 2011] [920:1780] [debug] jk_ajp_common.c (667): Number of headers is = 3

                        [Mon Feb 07 18:06:40.000 2011] [920:1780] [debug] jk_ajp_common.c (723): Header[0] [X-Powered-By] = [Servlet 2.5; JBoss-5.0/JBossWeb-2.1]

                        [Mon Feb 07 18:06:40.015 2011] [920:1780] [debug] jk_ajp_common.c (723): Header[1] [Content-Type] = [text/html;charset=utf-8]

                        [Mon Feb 07 18:06:40.031 2011] [920:1780] [debug] jk_ajp_common.c (723): Header[2] [Content-Length] = [1023]

                        [Mon Feb 07 18:06:40.062 2011] [920:1780] [debug] jk_isapi_plugin.c (947): Starting response for URI '/TaxManager/css/style.css' (protocol HTTP/1.1)

                        [Mon Feb 07 18:06:40.093 2011] [920:1780] [debug] jk_isapi_plugin.c (1047): Not using Keep-Alive

                        [Mon Feb 07 18:06:40.109 2011] [920:1780] [debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=1027 max=8192

                        [Mon Feb 07 18:06:40.140 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0000    03 03 FF 3C 68 74 6D 6C 3E 3C 68 65 61 64 3E 3C  - ...<html><head><

                        [Mon Feb 07 18:06:40.171 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0010    74 69 74 6C 65 3E 4A 42 6F 73 73 20 57 65 62 2F  - title>JBoss.Web/

                        [Mon Feb 07 18:06:40.218 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0020    32 2E 31 2E 33 2E 47 41 20 2D 20 45 72 72 6F 72  - 2.1.3.GA.-.Error

                        [Mon Feb 07 18:06:40.250 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0030    20 72 65 70 6F 72 74 3C 2F 74 69 74 6C 65 3E 3C  - .report</title><

                        [Mon Feb 07 18:06:40.265 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0040    73 74 79 6C 65 3E 3C 21 2D 2D 48 31 20 7B 66 6F  - style><!--H1.{fo

                        [Mon Feb 07 18:06:40.296 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0050    6E 74 2D 66 61 6D 69 6C 79 3A 54 61 68 6F 6D 61  - nt-family:Tahoma

                        [Mon Feb 07 18:06:40.312 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0060    2C 41 72 69 61 6C 2C 73 61 6E 73 2D 73 65 72 69  - ,Arial,sans-seri

                        [Mon Feb 07 18:06:40.343 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0070    66 3B 63 6F 6C 6F 72 3A 77 68 69 74 65 3B 62 61  - f;color:white;ba

                        [Mon Feb 07 18:06:40.375 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0080    63 6B 67 72 6F 75 6E 64 2D 63 6F 6C 6F 72 3A 23  - ckground-color:#

                        [Mon Feb 07 18:06:40.406 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0090    35 32 35 44 37 36 3B 66 6F 6E 74 2D 73 69 7A 65  - 525D76;font-size

                        [Mon Feb 07 18:06:40.421 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00a0    3A 32 32 70 78 3B 7D 20 48 32 20 7B 66 6F 6E 74  - :22px;}.H2.{font

                        [Mon Feb 07 18:06:40.453 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00b0    2D 66 61 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C 41  - -family:Tahoma,A

                        [Mon Feb 07 18:06:40.468 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00c0    72 69 61 6C 2C 73 61 6E 73 2D 73 65 72 69 66 3B  - rial,sans-serif;

                        [Mon Feb 07 18:06:40.500 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00d0    63 6F 6C 6F 72 3A 77 68 69 74 65 3B 62 61 63 6B  - color:white;back

                        [Mon Feb 07 18:06:40.515 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00e0    67 72 6F 75 6E 64 2D 63 6F 6C 6F 72 3A 23 35 32  - ground-color:#52

                        [Mon Feb 07 18:06:40.546 2011] [920:1780] [debug] jk_ajp_common.c (1336): 00f0    35 44 37 36 3B 66 6F 6E 74 2D 73 69 7A 65 3A 31  - 5D76;font-size:1

                        [Mon Feb 07 18:06:40.562 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0100    36 70 78 3B 7D 20 48 33 20 7B 66 6F 6E 74 2D 66  - 6px;}.H3.{font-f

                        [Mon Feb 07 18:06:40.593 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0110    61 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C 41 72 69  - amily:Tahoma,Ari

                        [Mon Feb 07 18:06:40.640 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0120    61 6C 2C 73 61 6E 73 2D 73 65 72 69 66 3B 63 6F  - al,sans-serif;co

                        [Mon Feb 07 18:06:40.671 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0130    6C 6F 72 3A 77 68 69 74 65 3B 62 61 63 6B 67 72  - lor:white;backgr

                        [Mon Feb 07 18:06:40.687 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0140    6F 75 6E 64 2D 63 6F 6C 6F 72 3A 23 35 32 35 44  - ound-color:#525D

                        [Mon Feb 07 18:06:40.718 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0150    37 36 3B 66 6F 6E 74 2D 73 69 7A 65 3A 31 34 70  - 76;font-size:14p

                        [Mon Feb 07 18:06:40.734 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0160    78 3B 7D 20 42 4F 44 59 20 7B 66 6F 6E 74 2D 66  - x;}.BODY.{font-f

                        [Mon Feb 07 18:06:40.765 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0170    61 6D 69 6C 79 3A 54 61 68 6F 6D 61 2C 41 72 69  - amily:Tahoma,Ari

                        [Mon Feb 07 18:06:40.796 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0180    61 6C 2C 73 61 6E 73 2D 73 65 72 69 66 3B 63 6F  - al,sans-serif;co

                        [Mon Feb 07 18:06:40.812 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0190    6C 6F 72 3A 62 6C 61 63 6B 3B 62 61 63 6B 67 72  - lor:black;backgr

                        [Mon Feb 07 18:06:40.843 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01a0    6F 75 6E 64 2D 63 6F 6C 6F 72 3A 77 68 69 74 65  - ound-color:white

                        [Mon Feb 07 18:06:40.859 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01b0    3B 7D 20 42 20 7B 66 6F 6E 74 2D 66 61 6D 69 6C  - ;}.B.{font-famil

                        [Mon Feb 07 18:06:40.890 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01c0    79 3A 54 61 68 6F 6D 61 2C 41 72 69 61 6C 2C 73  - y:Tahoma,Arial,s

                        [Mon Feb 07 18:06:40.921 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01d0    61 6E 73 2D 73 65 72 69 66 3B 63 6F 6C 6F 72 3A  - ans-serif;color:

                        [Mon Feb 07 18:06:40.937 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01e0    77 68 69 74 65 3B 62 61 63 6B 67 72 6F 75 6E 64  - white;background

                        [Mon Feb 07 18:06:40.984 2011] [920:1780] [debug] jk_ajp_common.c (1336): 01f0    2D 63 6F 6C 6F 72 3A 23 35 32 35 44 37 36 3B 7D  - -color:#525D76;}

                        [Mon Feb 07 18:06:41.015 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0200    20 50 20 7B 66 6F 6E 74 2D 66 61 6D 69 6C 79 3A  - .P.{font-family:

                        [Mon Feb 07 18:06:41.031 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0210    54 61 68 6F 6D 61 2C 41 72 69 61 6C 2C 73 61 6E  - Tahoma,Arial,san

                        [Mon Feb 07 18:06:41.062 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0220    73 2D 73 65 72 69 66 3B 62 61 63 6B 67 72 6F 75  - s-serif;backgrou

                        [Mon Feb 07 18:06:41.078 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0230    6E 64 3A 77 68 69 74 65 3B 63 6F 6C 6F 72 3A 62  - nd:white;color:b

                        [Mon Feb 07 18:06:41.109 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0240    6C 61 63 6B 3B 66 6F 6E 74 2D 73 69 7A 65 3A 31  - lack;font-size:1

                        [Mon Feb 07 18:06:41.140 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0250    32 70 78 3B 7D 41 20 7B 63 6F 6C 6F 72 20 3A 20  - 2px;}A.{color.:.

                        [Mon Feb 07 18:06:41.156 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0260    62 6C 61 63 6B 3B 7D 41 2E 6E 61 6D 65 20 7B 63  - black;}A.name.{c

                        [Mon Feb 07 18:06:41.203 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0270    6F 6C 6F 72 20 3A 20 62 6C 61 63 6B 3B 7D 48 52  - olor.:.black;}HR

                        [Mon Feb 07 18:06:41.218 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0280    20 7B 63 6F 6C 6F 72 20 3A 20 23 35 32 35 44 37  - .{color.:.#525D7

                        [Mon Feb 07 18:06:41.265 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0290    36 3B 7D 2D 2D 3E 3C 2F 73 74 79 6C 65 3E 20 3C  - 6;}--></style>.<

                        [Mon Feb 07 18:06:41.281 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02a0    2F 68 65 61 64 3E 3C 62 6F 64 79 3E 3C 68 31 3E  - /head><body><h1>

                        [Mon Feb 07 18:06:41.296 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02b0    48 54 54 50 20 53 74 61 74 75 73 20 34 30 34 20  - HTTP.Status.404.

                        [Mon Feb 07 18:06:41.328 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02c0    2D 20 2F 54 61 78 4D 61 6E 61 67 65 72 2F 63 73  - -./TaxManager/cs

                        [Mon Feb 07 18:06:41.390 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02d0    73 2F 73 74 79 6C 65 2E 63 73 73 3C 2F 68 31 3E  - s/style.css</h1>

                        [Mon Feb 07 18:06:41.421 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02e0    3C 48 52 20 73 69 7A 65 3D 22 31 22 20 6E 6F 73  - <HR.size="1".nos

                        [Mon Feb 07 18:06:41.437 2011] [920:1780] [debug] jk_ajp_common.c (1336): 02f0    68 61 64 65 3D 22 6E 6F 73 68 61 64 65 22 3E 3C  - hade="noshade"><

                        [Mon Feb 07 18:06:41.453 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0300    70 3E 3C 62 3E 74 79 70 65 3C 2F 62 3E 20 53 74  - p><b>type</b>.St

                        [Mon Feb 07 18:06:41.484 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0310    61 74 75 73 20 72 65 70 6F 72 74 3C 2F 70 3E 3C  - atus.report</p><

                        [Mon Feb 07 18:06:41.515 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0320    70 3E 3C 62 3E 6D 65 73 73 61 67 65 3C 2F 62 3E  - p><b>message</b>

                        [Mon Feb 07 18:06:41.531 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0330    20 3C 75 3E 2F 54 61 78 4D 61 6E 61 67 65 72 2F  - .<u>/TaxManager/

                        [Mon Feb 07 18:06:41.562 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0340    63 73 73 2F 73 74 79 6C 65 2E 63 73 73 3C 2F 75  - css/style.css</u

                        [Mon Feb 07 18:06:41.578 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0350    3E 3C 2F 70 3E 3C 70 3E 3C 62 3E 64 65 73 63 72  - ></p><p><b>descr

                        [Mon Feb 07 18:06:41.609 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0360    69 70 74 69 6F 6E 3C 2F 62 3E 20 3C 75 3E 54 68  - iption</b>.<u>Th

                        [Mon Feb 07 18:06:41.671 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0370    65 20 72 65 71 75 65 73 74 65 64 20 72 65 73 6F  - e.requested.reso

                        [Mon Feb 07 18:06:41.687 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0380    75 72 63 65 20 28 2F 54 61 78 4D 61 6E 61 67 65  - urce.(/TaxManage

                        [Mon Feb 07 18:06:41.718 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0390    72 2F 63 73 73 2F 73 74 79 6C 65 2E 63 73 73 29  - r/css/style.css)

                        [Mon Feb 07 18:06:41.750 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03a0    20 69 73 20 6E 6F 74 20 61 76 61 69 6C 61 62 6C  - .is.not.availabl

                        [Mon Feb 07 18:06:41.765 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03b0    65 2E 3C 2F 75 3E 3C 2F 70 3E 3C 48 52 20 73 69  - e.</u></p><HR.si

                        [Mon Feb 07 18:06:41.796 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03c0    7A 65 3D 22 31 22 20 6E 6F 73 68 61 64 65 3D 22  - ze="1".noshade="

                        [Mon Feb 07 18:06:41.812 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03d0    6E 6F 73 68 61 64 65 22 3E 3C 68 33 3E 4A 42 6F  - noshade"><h3>JBo

                        [Mon Feb 07 18:06:41.843 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03e0    73 73 20 57 65 62 2F 32 2E 31 2E 33 2E 47 41 3C  - ss.Web/2.1.3.GA<

                        [Mon Feb 07 18:06:41.875 2011] [920:1780] [debug] jk_ajp_common.c (1336): 03f0    2F 68 33 3E 3C 2F 62 6F 64 79 3E 3C 2F 68 74 6D  - /h3></body></htm

                        [Mon Feb 07 18:06:41.890 2011] [920:1780] [debug] jk_isapi_plugin.c (1188): Writing 1023 bytes of data to client

                        [Mon Feb 07 18:06:41.937 2011] [920:1780] [debug] jk_isapi_plugin.c (1201): Wrote 1023 bytes of data successfully

                        [Mon Feb 07 18:06:41.953 2011] [920:1780] [debug] jk_ajp_common.c (1336): received from ajp13 pos=0 len=2 max=8192

                        [Mon Feb 07 18:06:42.000 2011] [920:1780] [debug] jk_ajp_common.c (1336): 0000    05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................

                        [Mon Feb 07 18:06:42.015 2011] [920:1780] [debug] jk_ajp_common.c (1940): AJP13 protocol: Reuse is OK

                        [Mon Feb 07 18:06:42.031 2011] [920:1780] [debug] jk_isapi_plugin.c (2185): service() returned OK

                        [Mon Feb 07 18:06:42.062 2011] [920:1780] [debug] jk_ajp_common.c (757): (node1) resetting endpoint with sd = 2132

                        [Mon Feb 07 18:06:42.140 2011] [920:1780] [debug] jk_ajp_common.c (3010): recycling connection pool slot=0 for worker node1

                        • 9. Jboss 5.1 and IIS
                          mp911de

                          Hi Victor,

                          your workers.properties should look like

                           

                          # Define list of workers that will be used

                           

                          # for mapping requests           
                          worker.list=node1

                           

                          # Define Node1
                          worker.node1.port=8009
                          worker.node1.host=10.101.6.156
                          worker.node1.type=ajp13

                           

                          #ping_mode as of mod_jk 1.2.30

                          worker.node1.ping_mode=A
                          worker.node1.socket_timeout=10

                           

                          That's OK for Test/Production-Server usage in a typical environment. If you run IIS and JBoss on different Machines, make sure to use the right Host-Name/IP-Adress in worker.node1.host and make sure, that JBoss' AJP Port (usually 8009) is open for the IIS machine. For this you can start JBoss with -b Parameter (run.sh -b 0.0.0.0 or run.bat -b 0.0.0.0)

                           

                          On IIS Server you need to check, whether you run a Firewall, that protects Port 80 (HTTP Port), that might be the reason why local acces is OK, but network access is denied.

                           

                          When you go by localhost:8080 direct to your JBoss, is access also slow? If yes, consider some faster machine/more memory. If only IIS is slow, turn off debug Logging of mod_jk, that should help a lot.

                           

                          Best regards,

                          Mark

                          • 10. Jboss 5.1 and IIS
                            vtech005

                            Good Morinng Mark,

                             

                            How are u doing today? i want to thank you once again for your assitance yesterday.

                             

                            About the Log_level for debug, other options are (info,emerg, warn, error or trace) which of this do you advise me to use?

                             

                            I understand that my worker.node1.host will be the ip address of the Jboss App server for different machines.

                             

                            I am still having issue accessing the application from another pc and still try to figure out how to enable IIS port 80

                             

                            I Telnet the port on   Telnet 192.168.1.2 80....it is not connecting,  i also changed to port 81 same error...

                             

                            am still try to resolve this, I will get back to you ASPA.

                             

                            Thanks a millon times....

                            • 11. Jboss 5.1 and IIS
                              vtech005

                              Good Mor Mark,

                               

                              It been a while i heard from you, i hope it all good with you...

                              i could not start jboss this mor after i run an update on java

                               

                              i got this error, please do you have an idea about it

                               

                               

                              12:30:40,625 ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create

                              org.jboss.xb.binding.JBossXBException: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]

                                      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

                                      at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)

                                      at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)

                                      at org.jboss.web.tomcat.service.deployers.TomcatService.startService(TomcatService.java:167)

                                      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

                                      at org.jboss.system.ServiceMBeanSupport.pojoStart(ServiceMBeanSupport.java:216)

                                      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                                      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                                      at java.lang.reflect.Method.invoke(Unknown Source)

                                      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                               

                              i read that it could be fixed with the latest VFS update (Beta15)

                              i brower this url    http://repository.jboss.org/maven2/org/jboss/jboss-vfs/2.0.0.Beta15/   to down the 1st one but i could not figure out how to apply it

                               

                              hope to read from u soon

                              thanks

                              • 12. Jboss 5.1 and IIS
                                vtech005

                                Hello Mark

                                 

                                Am very sorry to bother you again, i am having a serious issue here......

                                 

                                like you advised, that i should start JBoss with -b Parameter (run.sh -b 0.0.0.0 or run.bat -b 0.0.0.0) on production environment. which i did,

                                so i could browse localhost:8080

                                 

                                jboss always generate error as below when starting up

                                 

                                09:28:11,375 ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create

                                org.jboss.xb.binding.JBossXBException: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]

                                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)

                                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)

                                        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:133)

                                        at org.jboss.web.tomcat.service.deployers.TomcatService.startService(TomcatService.java:167)

                                        at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

                                        at org.jboss.system.ServiceMBeanSupport.pojoStart(ServiceMBeanSupport.java:216)

                                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                                        at java.lang.reflect.Method.invoke(Method.java:597)

                                        at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

                                        at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

                                        at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

                                 

                                 

                                 

                                DEPLOYMENTS IN ERROR:

                                  Deployment "WebServer" is in error due to the following reason(s): org.xml.sax.SAXException: Premature end of file. @ *unknown*[-1,-1]

                                  Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.web:service=WebServer' **

                                 

                                 

                                But when i remove jvmRoute="node1" from my service.xml

                                C:\jboss-5.1.0.GA\server\default\deploy\jbossweb.sar

                                 

                                <Engine name="jboss.web" defaultHost="localhost" jvmRoute="node1">
                                                   .
                                               </Engine>

                                Jboss works fine....

                                 

                                Please advice

                                • 13. Jboss 5.1 and IIS
                                  mp911de

                                  Hi Victor,

                                  skipping jvmRoute should be OK as you don't operate JBoss within a Cluster (see http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html#Common_Attributes).

                                  Best regads,

                                  Mark

                                  • 14. Jboss 5.1 and IIS
                                    vtech005

                                    Hi Mark

                                     

                                    Thanks, my understanding fromthat page is that, jvmRoute is an identifier, which is unique acrosstwo or more Jboss/Tomcat servers on the same LAN pointing to one IISWeb server

                                     

                                    So the worker properties is adviced took like this for "node1","node2"

                                     

                                    # Define list of workers

                                    worker.list=loadbalancer,status

                                     

                                    # Define Node1

                                    worker.node1.host=localhost

                                    worker.node1.port=8109

                                    worker.node1.type=ajp13

                                    worker.node1.lbfactor=1

                                    worker.node1.connection_pool_size=10

                                     

                                    # Define Node2

                                    worker.node2.host=localhost

                                    worker.node2.port=8209

                                    worker.node2.type=ajp13

                                    worker.node2.lbfactor=1

                                    worker.node2.connection_pool_size=10

                                     

                                    # Load balancing behaviour

                                    worker.loadbalancer.type=lb

                                    worker.loadbalancer.balance_workers=node1,node2

                                    worker.loadbalancer.sticky_session=1

                                     

                                    # Status worker for managing load balancer

                                    worker.status.type=status

                                     

                                    Observations:

                                     

                                    1.  On one Machine having IIS and Jboss runing with jvmRoute="node1"  it seems to work fine

                                     

                                    2.   IIS on a separate machine + Jboss on a separate machine runing with  jvmRoute="node1"   configured in the service.xml,  jboss does not start       due to error below

                                          

                                          09:28:11,375 ERROR [AbstractKernelController] Error installing to Start: name=WebServer state=Create

                                          org.jboss.xb.binding.JBossXBException: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]

                                          DEPLOYMENTS IN ERROR:

                                         Deployment "WebServer" is in error dueto the following reason(s):org.xml.sax.SAXException: Premature end offile. @ *unknown*[-1,-1]

                                         Deployment"jboss.web:service=WebServer" is in error due to thefollowingreason(s): ** NOT FOUND Depends on'jboss.web:service=WebServer'

                                     

                                     

                                    3.   IIS on a separate machine + Jboss on a separate machine runing without jvmRoute="node1"   configured in the service.xml,  jboss works fine         but i cannot browser  http://192.168.1.2/application_name/

                                     

                                    i can telnet jboss server's port 8080 and 8009 from the IIS server

                                    itried to modify worker property in 2 different ways as display below,since i dont hv "jvmRoute=node1" configured in my jboss service.

                                     

                                    1. I specified host IP ADDRESS(Jboss server ip address) still IIS COULD NOT REDIRECT TO THE JBOSS SERVER

                                    2. I removed all the " node1" specified in my worker property as display below same issue occured

                                     

                                     

                                    # Define list of workers that will be used

                                     

                                    # for mapping requests           
                                    worker.list=worker

                                     

                                    # Define woker
                                    worker.port=8009
                                    worker.host=192.168.1.80(Jboss server ip)
                                    worker.type=ajp13

                                     

                                    #ping_mode as of mod_jk 1.2.30

                                    worker.ping_mode=A
                                    worker.socket_timeout=10

                                     

                                     

                                    Please my question are,

                                    since i am not operating Jboss within a cluster, which does not require jvmRoute="node1" in my service.xml

                                     

                                    1. how will my work properties like?

                                     

                                    2. On my Jboss server, dont i need to confiure myjboss-structure.xml and service.xml so that the IIS Server or Isapi canrecognise it on the Lan

                                     

                                    3. I want to confirm if i have configured mod_jk in the right way, kindly correct me if it is wrong

                                     

                                    I used isapi_redirector.dll  version 1.2.30 andmod_jk 1.2.30(mod_jk = this a zipped folder containing some files i downloaded itfrom http://olex.openlogic.com/packages/mod_jk  and unzipped it on IISServer Local disk, i hv not used this files b//4 and i dont know how itworks)

                                     

                                    This is how is used the Mod_jk folder/files on IIS Server

                                     

                                    1. I dropped it on the local disk and createdISAPI_REDIRECT_HOME: Environment variable for it )

                                     

                                    2. I dropped isapi_redirector.dll  in this path C:\Jboss_IIS\mod_jk\native\iis\installer\bin  same asthe conf and log file.

                                     

                                    3. Created virtual directory call jboss_connector and  pointed itisapi_redirector.dll in =C:\Jboss_IIS\mod_jk\native\iis\installer\bin

                                         Add ISAPI Filter on it's property.

                                     

                                    4. Dropped my worker.properties and urimap.properties to =C:\Jboss_IIS\mod_jk\native\iis\installer\conf

                                     

                                    Created registry

                                    ------------------------

                                    Windows Registry Editor Version 5.00

                                     

                                    [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
                                    @=""
                                    "extension_uri"="/jakarta/isapi_redirect.dll"
                                    "log_file"="C:\\Jboss_IIS\\mod_jk\\native\\iis\\installer\\log\\isapi_redirect.log"
                                    "log_level"="debug"
                                    "worker_file"="C:\\Jboss_IIS\\mod_jk\\native\\iis\\installer\\conf\\workers.properties"
                                    "worker_mount_file"="C:\\Jboss_IIS\\mod_jk\\native\\iis\\installer\\conf\\uriworkermap.properties"

                                     

                                    Please advice, I hope to read from you soon

                                    Best Regards

                                    1 2 3 Previous Next