I m using apache2.2, jboss 4.0.5.GA and mod_jk . then i have already configure mod_jk properly. My URL is open without port. I want to open the URL without directory. I have deploy Reports.ear in deploy folder and register the domain name but how can i map Reports.ear with domain name and also How can i map another project with another URL on same JBOSS.
And another question is my php website is working on Apache on same server.but when i m configure mod_jk then php site is not open.how can i map apache site in mod_jk .and how can i open jboss related site simultaneously apache site.
server.xml
<Engine name="jboss.web" defaultHost="shriram" jvmroute="worker1"> <Logger className="org.jboss.web.tomcat.Log4jLogger" verbosityLevel="WARNING" category="org.jboss.web.localhost.Engine"/> <Host name="shriram" autoDeploy="false" deployOnStartup="false" deployXML="false"> <Alias>www.shriram.com</Alias> <Alias>shriram.com</Alias> <Valve className="org.apache.catalina.valves.AccessLogValve" prefix=" tc.emerson.com _log." suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log"/
<jboss-web> <!-- Uncomment the security-domain to enable security. You will need to edit the htmladaptor login configuration to setup the login modules used to authentication users. --> <security-domain>java:/jaas/jmx-console</security-domain> <context-root>/</context-root> <virtual-host>www.shriram.com</virtual-host> </jboss-web> Console Reports
Please post the console logs. Also what URL do you use to access the application?