Skip to main content

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

7 replies [Last post]
Anonymous

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/ instead of
http://host:8080/__asadmin/.

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-use...
- Revision 1.4

[2]
https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Rochelle Raccah

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:/__asadmin/
instead of http://host:/__asadmin/. 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/ instead of
> http://host:8080/__asadmin/.
>
> 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-use...
> - Revision 1.4
>
> [2]
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Kedar Mhaswade

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:/__asadmin/
> instead of http://host:/__asadmin/. 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/ instead of
>> http://host:8080/__asadmin/.
>>
>> 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-use...
>> - Revision 1.4
>>
>> [2]
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: dev-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Rochelle Raccah

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:/__asadmin/ instead of
>> http://host:/__asadmin/. 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/
>>> instead of
>>> http://host:8080/__asadmin/.
>>>
>>> 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-use...
>>> - Revision 1.4
>>>
>>> [2]
>>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: dev-help@glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

km
Offline
Joined: 2005-10-28
Points: 0

Thanks, Rochelle. But is it a requirement for you guys so that a new Eclipse plugin supports older server builds? If yes, we should keep that in mind.

Regards,
Kedar

Rochelle Raccah

Yes, Kedar, that's a pretty important requirement because we only show 2
v3 choices: the latest release (was TP2, now is M1 SCF) and the
nightly/snapshots. If a user has a build that doesn't work with either
of these choices, they are stuck. So, do please keep this requirement
in mind.

Thanks,
Rochelle

glassfish@javadesktop.org wrote:
> Thanks, Rochelle. But is it a requirement for you guys so that a new Eclipse plugin supports older server builds? If yes, we should keep that in mind.
>
> Regards,
> Kedar
> [Message sent by forum member 'km' (km)]
>
> http://forums.java.net/jive/thread.jspa?messageID=295395
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Arun Gupta

Thanks Kedar!

Will this have any impact on:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=5278

?

-Arun

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/ instead of
> http://host:8080/__asadmin/.
>
> 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-use...
> - Revision 1.4
>
> [2]
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

--
Application Platform, Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

Kedar Mhaswade

Arun,

I think the concern reported in this bug is indirectly addressed
by default.

If the user chooses to use one port for both admin and user applications,
(the non-default case), the admin console will be available at:
host:8080/admin, which again can be changed.

Hope this satisfies the developers.

Thanks,
Kedar

Arun Gupta wrote:
> Thanks Kedar!
>
> Will this have any impact on:
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5278
>
> ?
>
> -Arun
>
> 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/ instead of
>> http://host:8080/__asadmin/.
>>
>> 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-use...
>> - Revision 1.4
>>
>> [2]
>> https://glassfish.dev.java.net/issues/show_bug.cgi?id=5560
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
>> For additional commands, e-mail: users-help@glassfish.dev.java.net
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net