users@glassfish.java.net

Re: Glassfish and mod_jk

From: Amy Roh <amy.roh_at_oracle.com>
Date: Tue, 22 Mar 2011 11:02:31 -0700

On 3/22/11 7:26 AM, forums_at_java.net wrote:
> Hi,
>
> I think I found out what's wrong with my configuration. The problem with
> admin console is that after displaying the welcome page it posts a
> request to
> /management/domain by means of openConnection() call. The URL it
> constructs
> concatenates host name, connector port etc but assumes that protocol
> is http.
> So we end up with server call to something like
> http://xxx:4848/management/domain which bypasses mod_jk. So AJP connector
> sees eventually standard http transmission and throws bad packet
> signature. I
> believe now that, due to what I mentioned, it is near impossible to make
> admin console work with mod_jk. I may be wrong about all this, there
> may be a
> way to make it work, but eventually I simply opened up 4848 port and
> enabled
> secure administration. If you, or anyone, know how to make AJP work in
> this
> case - please let me know, I am curious to know.

The admin-listener (4848) is a special listener and shouldn't enable
mod_jk. Why do you need this?

Amy
>
>
> --
>
> [Message sent by forum member 'rzeznik']
>
> View Post: http://forums.java.net/node/783653
>
>