16 October 2011

GlassFish 3.1 - Enabling mod_jk

  1. Ensure GlassFish server is up and running. (or use asadmin start-domain domain1 command)
  2. Execute asadmin create-http-listener --listenerport 8009 --listeneraddress 0.0.0.0 --defaultvs server jk-connector
  3. Execute asadmin set configs.config.server-config.network-config.network-listeners.network-listener.jk-connector.jk-enabled=true
  4. Final step is to restart GlassFish server. Thats it enjoy.