users@glassfish.java.net

Re: [v3] HEADS UP: admin port is now 4848 by default ...

From: Rochelle Raccah <Rochelle.Raccah_at_Sun.COM>
Date: Mon, 25 Aug 2008 16:42:30 -0700

Hi Kedar,

I tested with the change with older Prelude builds and it works, so I
just pushed out a new version of the plugin (1.0.7) that should work
with build 21 and older builds as well.

Thanks,
Rochelle

Kedar Mhaswade wrote:
> Rochelle,
>
> The admin-port support before b21 was there, but was not tested.
> In most cases, it used to work. Thus, before my changes, admin
> requests were (mostly) honored if made on both admin-port (4848)
> and instance-port (8080). I guess both NetBeans/Eclipse plugin
> code just made the requests on instance-port (8080).
>
> With my changes, they will be honored
> only on admin-port (4848) when a separate admin-listener is available
> (the default case). Otherwise, they will be honored on instance-port
> (8080).
>
> In general, I think the "Add Server" kind of functionality in plugins
> should prompt for "admin port", or derive it from domain.xml of a domain.
>
> Thanks for making changes to Eclipse plugin.
>
> Regards,
> Kedar
>
>
> Rochelle Raccah wrote:
>> Hi Kedar,
>>
>> I've investigated a bit and think we have a similar problem in the
>> eclipse plugin, so I will have to make some changes there as well.
>> I've found some code that does
>> http://host:<serverport>/__asadmin/<cmd> instead of
>> http://host:<adminport>/__asadmin/<cmd>. Just to clarify, if I change
>> it to use the adminport, it will work with v3 builds both before and
>> after this change, correct?
>>
>> Thanks,
>> Rocelle
>>
>> Kedar Mhaswade wrote:
>>> Per [1] below, we had to make admin port for all GlassFish
>>> v3 Prelude distributions to be 4848. Issue [2] describes the
>>> issue to be used to track this problem. The biggest motivation
>>> is to be compatible with V2.
>>>
>>> For asadmin users, the defaults are already taken care of. If you
>>> are just invoking asadmin commands with --port, you should be OK.
>>> If you are specifying --port, it should now take the value of
>>> admin port (4848) rather than user port (8080, by default).
>>>
>>> For NetBeans plugin, Peter is going to make
>>> changes so that all admin requests are handled at admin port.
>>>
>>> For admin GUI, the default URL is now http://host:4848 and currently
>>> we are experiencing some issues that are being worked on.
>>>
>>> For the web-requests, (you know you could manage v3 by just connecting
>>> to browser) you need to enter http://host:4848/__asadmin/<cmd>
>>> instead of
>>> http://host:8080/__asadmin/<cmd>.
>>>
>>> These changes will be available in *b21*. (not b20, which is almost
>>> out).
>>>
>>> For any questions, please contact me.
>>>
>>> Regards,
>>> Kedar
>>>
>>> [1]
>>> https://glassfish.dev.java.net/nonav/v3/admin/planning/prelude/admin-user-port-separation.html
>>> - Revision 1.4
>>>
>>> [2]
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>