-
1. Re: How to start only one particular virtual server in JBoss 6.x EAP
abhijithumbe Jun 29, 2017 10:26 PM (in response to adityan)Are you referring to virtual host configuration in web system ? If not, can you share virtual server configured in EAP 6 standalone configuration
-
2. Re: How to start only one particular virtual server in JBoss 6.x EAP
adityan Jun 30, 2017 3:13 AM (in response to abhijithumbe)Yes I am referring to virtual host configuration in web subsystem. Can we start only one particular virtual host by giving command line parameter while starting JBoss 6.x EAP?
Secondly, can we have one connector dedicated to one virtual server? I referred to JBoss EAP 6.4 knowledge base and I have highlighted the syntax for the same.
The server starts successfully but when I hit the URL, I get 403 error. If I remove virtual server entry from "myhttp" connector, it works.
Are there anymore configuration changes required to deploy my application only through one particular virtual host defined in JBoss 6.4 Web module.
My web subsystem configuration:
<subsystem xmlns="urn:jboss:domain:web:2.2" default-virtual-server="virtualServer1" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
<connector name="myhttp" protocol="HTTP/1.1" scheme="http" socket-binding="myhttp">
<virtual-server name="virtualServer1"/>
</connector>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
<virtual-server name="virtualServer1" enable-welcome-root="true">
<alias name="eQubeMI1.technologic.com"/>
</virtual-server>
<virtual-server name="virtualServerA" enable-welcome-root="true">
<alias name="eQubeMIA.technologic.com"/>
</virtual-server>
</subsystem>
Thanks for your quick response.
-
3. Re: How to start only one particular virtual server in JBoss 6.x EAP
abhijithumbe Jul 1, 2017 3:17 AM (in response to adityan)1 of 1 people found this helpfulNo we cant start any specific virtual server defined in web subsystem. Configuration you have done to configure connector specific to virtual server is correct, it should work fine. Similar is working fine at my end.
-
4. Re: How to start only one particular virtual server in JBoss 6.x EAP
adityan Jul 3, 2017 8:48 AM (in response to abhijithumbe)Thanks Abhijit for prompt reply. That answers my first part of the question, well since connector configuration is working fine at your end, I will test at my end using a dummy app to verify if there is any issue at my end. As of now I have used <rewrite> regex to point my application to a specific port. I will post the result using dummy app.