This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Building Blockchain Apps and have Michael Yuan on-line!
See this thread for details.
Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

controlling the jboss instance which serves the incoming request on Apache

Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
No more fooling around. Read this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!