aspose file tools
The moose likes JBoss and the fly likes controlling the jboss instance which serves the incoming request on Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "controlling the jboss instance which serves the incoming request on Apache" Watch "controlling the jboss instance which serves the incoming request on Apache" New topic
Author

controlling the jboss instance which serves the incoming request on Apache

Jeevan Sunkersett
Ranch Hand

Joined: Jul 03, 2007
Posts: 71
Hi,

I have successfully configured Apache on port 80/ 443 to front JBoss on port 8080.

In the server xml on the jboss side, I have added the APJ connector and jvmRoute attribute to the Engine element to achieve the same.

In this setup, I can add more Jboss server (on different machines) and appropriate jvmRoute values to achieve load-balancing.

But I am NOT targetting load balancing!

I want to use this single Apache server to front a TWO Jboss server,
one a DEV instance and another the QA instance.
the application runing on both Jboss servers is the same, but connects to appropriate DEV and QA databases.

What can be done, to control the route the traffic takes?

I want some requests originating
1. from some machine (which I call DEV machines) to be routed to the DEV Jboss server instance
2. and some requests originating from "designated QA machines" to be routed to the QA Jboss server instance.

is this possible?

Again I am NOT targetting load balancing, I want to do the above so that I can reuse the Apache server, SSL certificate and the publicly registered domain for QA and DEV.


Thank you
Jeevan
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: controlling the jboss instance which serves the incoming request on Apache
 
Similar Threads
Load Balancing Problem with jsessionid
"reverse proxy load balancing" or "off-load server"
Using attribute jvmRoute
Load managment system for travel agent client performance
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11