1 2 Previous Next 20 Replies Latest reply on Mar 2, 2016 10:29 AM by jrgahan Go to original post
      • 15. Re: how to integrate apache web server and jboss 7
        greco

        Hi,

         

        I've since moved from mod_jk to mod_proxy with Apache 2.4. I believe the mod_proxy is also available with Apache 2.2.

         

        To answer your question, yes you can have a uriworkermap.properties file but I would recommend it only when you have a significant amount of mount points that you need to manage otherwise using the JkMount in your httpd.conf file will also work and has worked for me numerous times in the past. Maybe posting your relevant configs will help. Sometimes its a simple typo that a different pair of eye will only see.

         

        But if you can I would recommend moving to mod_proxy.

        • 16. Re: how to integrate apache web server and jboss 7
          ouapdouap

          Thanks for the advice greco. I started again from scratch and configured the proxy module, works like a charm.

          Thanks

          • 17. Re: how to integrate apache web server and jboss 7
            narendermyname

            have u added DocumentRootFolder

            • 18. Re: how to integrate apache web server and jboss 7
              aupres

              you don't need to add DocumentRootFolder if you want just to integrate web server and jboss 7.

              • 19. Re: how to integrate apache web server and jboss 7
                weinanli
                • 20. Re: how to integrate apache web server and jboss 7
                  jrgahan

                  I am migrating jboss5 to jboss-as-7.1.1.Final

                   

                   

                   

                  This was our old settings in boss-5.1.0.GA

                   

                   

                   

                   

                  /jboss-5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml

                   

                  <Connector protocol="HTTP/1.1" port="80" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" />

                   

                  <Connector port="8009" address="${jboss.bind.address}" emptySessionPath="true" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" connectionTimeout="600000" maxThreads="200" />

                   

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

                   

                  /jboss-5.1.0.GA/server/all/deploy/jbossweb.sar/server.xml

                   

                  <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" />

                   

                  <Connector port="8009" address="${jboss.bind.address}" emptySessionPath="true" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" connectionTimeout="600000" maxThreads="200"/>

                   

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

                   

                   

                   

                   

                  When I am settings same configuration in jboss-as-7.1.1.Final i am facing some issue --Message: JBAS014788: Unexpected attribute 'connectionTimeout' encountered

                   

                   

                    <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">

                   

                              <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" connectionTimeout="600000" maxThreads="200" />

                   

                              <virtual-server name="default-host" enable-welcome-root="true">

                   

                                  <alias name="localhost"/>

                   

                                  <alias name="example.com"/>

                   

                              </virtual-server>

                   

                          </subsystem>

                  1 2 Previous Next