Skip to content

Virtual host in jboss

October 21, 2008

You need to host name in server.xml in jboss (jbossweb-tomcat55.war)

<Host name=”loopback”
autoDeploy=”false” deployOnStartup=”false” deployXML=”false”>
<Valve className=”org.apache.catalina.valves.AccessLogValve”
prefix=”loopback-120-” suffix=”.log”
pattern=”common” directory=”${jboss.server.home.dir}/log”/>

And in jboss-web.xml you need to add the virtual host.


The file jboss-web.xml is at the level of web.xml and is in the application war.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: