I am trying to move some apps running on just Apache + Tomcat to Apache + JBoss/Tomcat. I have downloaded and installed JBoss-4.0.3SP1 on a solaris 2.9 (x86) machine. Going to myhost.mydomain.com:8080 in a browser works, it brings up the JBoss welcome page with links to the tomcat status etc.
I have defined in my DNS a new A record for anotherhost.mydomain.com pointing to the same machine (same way as I do it right now for the virtual hosting under just Tomcat).
I have exploded the war for the web app I am trying to deploy in it's own user directory, permissions are set so everyone can read it etc.
I have edited /usr/local/jboss-4.0.3SP1/server/default/deploy/jbossweb-tomcat55.sar/server.xml as outlined in the wiki to add a host section (which seems to be just the same as what I have done in my existing tomcat installation).
<Host name="anotherhost.mydomain.com" appBase="path to web root of app" autoDeploy="true" deployOnStartup="true" deployXML="false"> <Alias>anotherhostAlias> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="anotherhost" suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" /> <DefaultContext cookies="true" crossContext="true" override="true" reloadable="true" /> </Host>
It's amazing what happens when you RTFM thoroughly :P
There's all kinds of steps I have missed out on, so please ignore the above post for now :)