File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Configure Proxy in apache for JBoss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Configure Proxy in apache for JBoss" Watch "Configure Proxy in apache for JBoss" New topic

Configure Proxy in apache for JBoss

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
I have an application that is currently running on weblogic. There is an apache HTTP server proxy for it so that requests to gets routed to

I need to add a jboss proxy to this file so that requests to url) gets routed to the same

I cannot shutdown my weblogic instance.
Since httpd.conf already has a name virtual host with , I am confused on how to create this proxy.
It looks like this:

# Weblogic Proxy
LoadModule weblogic_module libexec/
# AddModule mod_weblogic.c

RewriteEngine on
RewriteRule .* - [F]
ServerName jackson
<Location /abc/def>
SetHandler weblogic-handler
WebLogicHost myserver
WebLogicPort 8090
ConnectTimeoutSecs 600
# disable TRACE and TRACK in the virtual host
#RewriteEngine On
#RewriteRule .* - [F]
#RewriteRule .* - [F]


I have already configured my jboss server to run on port 8190.
I have not yet made any changes to \server\myserver\deploy\jboss-web.deployer\server.xml to allow for any apache proxy changes, since I am not sure how!

I guess I would need to create a new Connector port listing for this new port.

Could anyone please help with some steps. I checked some of the other posts, but they are dealing mainly with just direct proxying through jboss, but I would have to proxy through apache, and with the Secure connection too.

Thank you
Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
Found some details onm the following site:

However, am unable to set up multiple ProxyPAss so far.

I agree. Here's the link:
subject: Configure Proxy in apache for JBoss
It's not a secret anymore!