Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8453909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:53:07+00:00 2026-06-10T11:53:07+00:00

I hava a pure Java application which publishes a webservice without needing any Application

  • 0

I hava a pure Java application which publishes a webservice without needing any Application server. How can I configure the Apache Http Loadbalancer to forward requests to servers on which this application is installed.

I can handle it when I deploy an webservice over an Application Server such as Glassfish. But I do not know how to do it with pure Java application.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:53:09+00:00Added an answer on June 10, 2026 at 11:53 am

    You should just be able to use http:// instead of ajp:// in your balancer config, like:

    <Proxy balancer://myApp>
      BalancerMember http://47.168.96.31:2020 route=r1
      BalancerMember http://192.168.0.2:2020 route=r2
    </Proxy>
    

    or directly forward with proxy like:

    ProxyPass / balancer://myApp
    ProxyPassReverse / balancer://myApp
    

    Let’s say apache is on 47.168.96.31, then you’d access the service as http://47.168.96.31/StockQuote/StockQuoteService

    If you’d rather have the service respond at http://47.168.96.31/, you could do:

    ProxyPass / balancer://myApp/StockQuote/StockQuoteService
    ProxyPassReverse / balancer://myApp/StockQuote/StockQuoteService
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hava a java app, with 2 objects: User.java and Review.java. Each User can
I hava java swing project which is developed in JBuilder IDE. Now I need
I hava a webview showing some contents which is getting from server. Now on
I hava a Rails application, I need to integrate Facebook. User can login with
I hava a problem which is described below. Do you have any good solution
I hava an activity which might have to load data when it's starting up.
i hava a c++ method(for java,jni) like follow,when i repeat call this from java
I hava a data window object, in which I am fetching some attributes from
I hava a website with a navigation bar which consists of several tabs. Now
I hava an absolute url in my stylesheet. http://localhost/images/myimage.jpg . I also have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.