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 8809381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:51:41+00:00 2026-06-14T02:51:41+00:00

I’m trying to connect to my JBoss 7.1 server from an Apache 2 instance

  • 0

I’m trying to connect to my JBoss 7.1 server from an Apache 2 instance which is running on the same machine. So far I’ve managed to successfully establish a connection between the two instances using the AJP-protocol and port 8009. My problem is that it doesn’t seem like it’s possible to have the JBoss-server listening to two AJP-ports simultaneously. I’ve set up the JBoss to listen at port 8009 and 8010, where the AJP on port 8010 is set as “secure” and is only accessed via my Apache HTTPS VirtualHost.

The weird thing is that I’ve only been able to use ProxyPass with ajp and not http(s), every time I try I get a HTTP 503 Error in return.

Have I misunderstood something, or is this not possible?

My settings at the JBoss server (standalone.xml):

<socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
    [snip]
    <socket-binding name="ajp" port="8009" />
    <socket-binding name="ajps" port="8010" />
    <socket-binding name="http" port="8080"/>
    <socket-binding name="https" port="8443"/>
    [snip]
</socket-binding-group>

<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
    <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
    <connector name="AJP" protocol="AJP/1.3" scheme="http" socket-binding="ajp"/>
    <connector name="AJP-Secure" protocol="AJP/1.3" scheme="https" socket-binding="ajps" secure="true"/>
    <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true"/>
    <virtual-server name="default-host" enable-welcome-root="true">
        <alias name="localhost"/>
    </virtual-server>
</subsystem>

My Apache settings:

<VirtualHost *:80>
    [snip]
    ProxyRequests off
    <Location /jboss/> # Works
        ProxyPass ajp://127.0.0.1:8009/
        ProxyPassReverse ajp://127.0.0.1:8009/ 
    </Location>
</VirtualHost>

<VirtualHost *:443>
    [snip]
    ProxyRequests off
    <Location /jboss/> # Return HTTP 503
        ProxyPass ajp://127.0.0.1:8010/
        ProxyPassReverse ajp://127.0.0.1:8010/
    </Location>
</VirtualHost>
  • 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-14T02:51:43+00:00Added an answer on June 14, 2026 at 2:51 am

    Ah, found the answer! 😀 It wasn’t a faulty apache or JBoss configuration, it was SE Linux which were makeing all the trouble.
    I had to let the httpd make network requests, as described here (http://wiki.apache.org/httpd/13PermissionDenied)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to select an H1 element which is the second-child in its group
I have a text area in my form which accepts all possible characters from
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am currently running into a problem where an element is coming back from
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text

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.