views:

549

answers:

1

I have successfully integrated Jboss with Apache. I can pull up http://localhost/web-console .... now when I drop a war file into my Jboss deploy directory I can pull it up here localhost:8080/helloworld/hi.jsp BUT NOT here localhost/helloworld/hi.jsp

Isn't the point of integrating Jboss with apache so I do not have to do :8080? and I can pull up my WAR file though Apache?

Any help is greatly appreciated!!

+1  A: 

You should specify how you have integrated JBoss with apache, there are several methods.

If you are using mod_jk, you need to add some configuration for apache to realize it needs to forward requests to helloworld to JBoss. You can do this by adding the following to your mod_jk.conf (or whatever the mod_jk configuration file is named in your apache configuration)

JkMount /helloworld/* jboss

JkMount /helloworld jboss

This does not apply if you are using one of the proxy methods of integrating apache with JBoss.

Lloyd Meinholz
Thank you. Worked perfectly.
Jared
The reason for the two JkMount entries is to forward the URI helloworld with and without the trailing slash to JBoss.
Lloyd Meinholz