quality@glassfish.java.net

Re: configure proxy on gfv3 ?

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Sat, 14 Mar 2009 18:17:29 -0700

Thanks Kedar for suggesting the jvm-options commands.
I just tried

%asadmin create-jvm-options "-Dhttp.proxyHost=myproxy.mydomain"
%asadmin create-jvm-options "-Dhttp.proxyPort=8080"

It works fine. I confirmed that with both list-jvm-options command and
checking the domain.xml file
Survivant, Please use the CLI for the time being.

thanks
Anissa

Kedar Mhaswade wrote:
>
>
> Anissa Lam wrote:
>> Hi Survivant,
>>
>> To set the JVM options, you can select Application Server tree
>> node, then on the right hand side, select JVM Options under JVM
>> Settings.
>> However, as reported in bug# 7280 the JVM Options page doesn't show
>> up since promoted build 37. We are looking into that.
>> Sorry to say that for the time being, you may have to modify
>> glassfish/domains/domain1/config/domain.xml yourself in adding this
>> JVM options.
>> I tried to see if you can use the CLI command to set that, but i
>> wasn't able to have asadmin to list/get/set any of the jvm options.
>
> Use asadmin create/delete/list-jvm-options command. Let me know if that
> does not for you. It should.
>
> -Kedar
>
>>
>> The issue only exists in v3, should be fine if you are using v3
>> prelude.
>>
>> thanks
>> Anissa
>>
>> Survivant 00 wrote:
>>> I didn't find the tab where to configure the proxy. not for the
>>> update tool.. but for GF itself.
>>> I saw that we can configure proxy at the installation with the
>>> installer.. but after the installation is completed or with a zip
>>> file.. how can I do that ?
>>>
>>>
>>> 2009/3/14 Jason Lee <jasondlee_at_sun.com <mailto:jasondlee_at_sun.com>>
>>>
>>> On Mar 14, 2009, at 2:26 PM, Survivant 00 wrote:
>>>
>>>> is this is the solution ?
>>>>
>>>> http://blogs.sun.com/jimfaut/entry/portal_setting_the_jvm_proxy
>>>>
>>>> I want hoping something in the admin gui to allow that.
>>>
>>> It looks like that's explaining how to do that in the GUI. Am I
>>> missing something?
>>>
>>> <http://www.java.com> * Jason Lee *
>>> Senior Java Developer
>>> GlassFish Administration Console
>>>
>>> *Sun Microsystems, Inc.*
>>> Phone x31197/+1 405-343-1964
>>> Email jasondlee_at_sun.com <mailto:jasondlee_at_sun.com>
>>> Blog http://blogs.sun.com/jasondlee
>>> Blog http://blogs.steeplesoft.com
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>