users@glassfish.java.net

Re: Glassfish and mod_jk

From: <forums_at_java.net>
Date: Tue, 22 Mar 2011 09:26:09 -0500 (CDT)

 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.


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