Unfortunately, this is not possible right now, due to the way mod_jk is enabled on GlassFish, which is by specifying this system property
-Dcom.sun.enterprise.web.connector.enableJK=<port>
where <port> is the (single!) port number that the mod_jk connector will listen on.
To support what you are trying to do, we would need several things:
- Ability to enable mod_jk on more than a single port per GlassFish instance
- Ability to configure the mod_jk connector with a particular virtual server
(or virtual servers).
In your case, you would want to associate the admin-related mod_jk connector with the virtual server named "__asadmin", which is where the admin related apps are deployed.
Can you please submit an enhancement request in the GlassFish issuetracker?
Thanks,
Jan
[Message sent by forum member 'jluehe' (jluehe)]
http://forums.java.net/jive/thread.jspa?messageID=293625