quality@glassfish.java.net

GFv3 and mod_jk

From: Wouter van Reeven <wouter_at_van.reeven.nl>
Date: Wed, 12 Aug 2009 16:19:31 +0200

Hi,


Today I found this web log article

http://weblogs.java.net/blog/amyroh/archive/2009/06/running_glassfi.html

about running Apache2 and GlassFish v3 and using mod_jk to manage the
communication between Apache and GF. I followed the steps in the article
and found that no port 8009 is used when I execute the commands

asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server jk-connector
asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true

even when I make sure that the connector in the second command (jk-connector)
is the same as in the first command (it is wrong in the article).

However, I reinstalled GFv3 (build 57) and then omitted the second
command. Now port 8009 is used as I can show with a netstat command. Is
this the intended behaviour?

Next steps are to test if I can run any application using port 80
through Apache instead of using port 8080 and running it on GF directly.


Wouter

-- 
People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"
[Monty Python and the Holy Grail]
Skype: wvreeven
Facebook: wvreeven
Twitter: wvreeven