• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Configure Proxy in apache for JBoss

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an application that is currently running on weblogic. There is an apache HTTP server proxy for it so that requests to https://10.12.120.12/abc/def gets routed to http://10.12.120.12:8090/xyz/ggg

I need to add a jboss proxy to this file so that requests to https://10.12.120.12/aaa/bbb(different url) gets routed to the same http://10.12.120.12:8090/xyz/ggg.

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

#
# Weblogic Proxy
#
LoadModule weblogic_module libexec/mod_wl.so
#
# AddModule mod_weblogic.c
NameVirtualHost 10.13.120.12

<VirtualHost 10.13.120.12>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
ServerName jackson
<Location /abc/def>
SetHandler weblogic-handler
WebLogicHost myserver
WebLogicPort 8090
ConnectTimeoutSecs 600
# disable TRACE and TRACK in the www.example.com virtual host
#RewriteEngine On
#RewriteCond %{REQUEST_METHOD} ^TRACE
#RewriteRule .* - [F]
#RewriteCond %{REQUEST_METHOD} ^TRACK
#RewriteRule .* - [F]
</Location>
</VirtualHost>

UNQUOTE


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
 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found some details onm the following site:
http://help.shadocms.com/blog/2009/how-to-setup-apache-with-jboss-on-a-shado-site.cfm


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

Thanks
Karthik
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!