jQuery in Action, 3rd edition
The moose likes JBoss/WildFly and the fly likes How to integrate Apache Web server with Jboss 4.0.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to integrate Apache Web server with Jboss 4.0.3" Watch "How to integrate Apache Web server with Jboss 4.0.3" New topic

How to integrate Apache Web server with Jboss 4.0.3

Rao Varanasi

Joined: Aug 13, 2010
Posts: 2
Hi All,

I'm trying to integrate jboss-4.0.3SP1 app server with the Apache 2.0.52 webserver.

Here are the two variables that I had configured in the system environment.
JBOSS_HOME = C:\SWSetup\jboss-4.0.3SP1
APACHE2_HOME= C:\SWSetup\Apache Group\Apache2

I have a windows XP professional with SP3 Operating system.

As part of this exercise I've done the following steps and I'm not sure what's the next step.

1. Install Apache web server
2. Set the APACHE2_HOME value as given above
3. Download the mod_jk.so file that's compatible with the 2.0.52 version
4. Copy the file into the %APACHE2_HOME%\modules folder
5. Modified three properties present in the %APACHE2_HOME%\conf\worker.properties file. Check below for details
#Not sure whether I can set the Jboss home to tomcat home

#I'm setting the JDK1.5 home instead of java home. Can this be a problem?

#The content name of the application is added (http://localhost:8080/myAppName)
6. After doing these changes, I've run some commands from bin folder and made sure that the apache server is running as a service and tried opening the default page http://localhost
7. So far there I've done the following things
8. But beyond this, what is needed extra to make sure my requests are all routed from web server to app server?

Can any one guide me how to set it up?

Thanks in advance.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

"Praying Mantis"

Please check your private messages for a message from JavaRanch.

[My Blog] [JavaRanch Journal]
J Walker

Joined: Oct 30, 2009
Posts: 10
Old thread I know....but I'm in the process of installing Railo/JBoss6/Apache and am having the same issue. Any up to date guides on this? Is everyone still using mod_jk or mod_proxy? Is there a better way to get all these working together?
I agree. Here's the link: http://aspose.com/file-tools
subject: How to integrate Apache Web server with Jboss 4.0.3
It's not a secret anymore!