This discussion is archived
2 Replies Latest reply: Aug 18, 2011 4:54 AM by 883113 RSS

Proxy in Glassfish 3

881040 Newbie
Currently Being Moderated
Hi peaple,

It's my first time to work with Glassfish 3.0, I need to set the proxy in glassfih 3.0, someone can help me please.

Thanks,
Marcelo
  • 1. Re: Proxy in Glassfish 3
    820136 Newbie
    Currently Being Moderated
    hi,

    add following 2 Java properties to GlassFish (like any Java SE client)


    -Dhttp.proxyHost=your_proxy_server_host_name
    -Dhttp.proxyPort=your_proxy_server_host_name_like_8080


    your configuration will contain in config domain.xml file :

    <jvm-options>-Dhttp.proxyHost=your_proxy_server_host_name</jvm-options>
    <jvm-options>-Dhttp.proxyPort=your_proxy_server_host_name</jvm-options>

    hth, cheers, Didier
  • 2. Re: Proxy in Glassfish 3
    883113 Newbie
    Currently Being Moderated
    Do you want to connect Glassfish 3 Applications to Apache using mod_jk?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points