dev@glassfish.java.net

NetBeans and port change in upcoming build 21

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Tue, 26 Aug 2008 17:05:08 -0700

Hi!

The upcoming promoted build 21 of GlassFish V3 requires usage of the
admin port (4848) for server administration. Previously, some things
didn't work correctly on 4848 and NetBeans in particular uses port 8080
for sending admin commands to the server because of this history.

So, to run an existing NetBeans 6.5 build with this new server build,
add -J-Dglassfish.useadminport=true to the netbeans_default_options
variable in $nbinst/etc/netbeans.conf file or to the command line used
to start NetBeans.

I will be making this behavior the default very soon, but not until I've
done some testing. Until then, please keep this switch in mind when
trying to use the latest server bits.

Thanks!

-Peter