This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reproduction steps: Phase One: 1. Select Tools -> Servers -> Add Server 2. Select "GlassFish V2" -> Next 3. Select "Register Remote Domain" -> Next 4. Enter hostname and admin port of remote GlassFish V2 App Server on another server -> Next 5. Enter admin username and password -> Finish Error popup appears stating messsage below even though user and password are correct: Authentication for grizzly failed with message Server returned HTTP response code: 504 for http://grizzly:4848/web1/remotejmx. If the username or password is incorrect, you can change them via Tools | Server Manager This functionality works with NetBeans 6.0, beta1. NetBeans Version: Product Version: NetBeans IDE Dev (Build 200710090000) Java: 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 System: Linux version 2.6.15-28-386 running on i386; UTF-8; en_US (nb) Userdir: /Users/lh32469/.netbeans/dev App Server Version: Sun Java System Application Server 9.1 (build b58g-fcs)
reproduced with Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710181000) Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) on two linux computers server added without any error but it can't detect that server started server started at Windows computer
Was able to reproduce on RHEL 4.0 with NB 6.0 daily 200710231200 & GF v2 b58g-fcs and jdk 1.6u3-b05 with a solaris remote host and a windows/xp host, when in IDE-Tools/Options a Manual Proxy Settings is set with a proxy like: webcache.sfbay (8080) Was able to reproduce on Solaris-sparc with NB 6.0 daily 200710231200 & GF v2 ur1-b05 Could you please check you IDE settings for proxy ? loggued a while ago issue 106245 for similar case.
If we register the remote domain with the hostname fully qualified domain name, there is no issue if the proxy webcache.sfbay is set in IDE/Tools/Options. (like in my case solaris-sparc gamay-03.france.sun.com , or syrah-01.france.sun.com added as remotes in linux - RHEL 4.0 IDE) added my self in CC.
Did you provide the fully qualified name as indicated by Nouar? If not, could you try registering the remote server using the fully qualified name to see if issue persists.
In my case, the remote app server is just a local machine defined in /etc/hosts and sitting in my basement. Again, I'm currently using this setup successfully with the NetBeans, beta1 version Shown Below: Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709141330) Java: 1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03 System: Linux version 2.6.15-29-386 running on i386; UTF-8; en_US (nb) Userdir: /Users/lh32469/.netbeans/6.0beta1
all the hosts in our lab are on NIS/DNS. I'll try to reproduce with local name resolution between 2 linux RHEL 4.0 hosts, but cannot do on windows/xp for the moment. On RHEL 4.0, I'm disabling the IPV6 configuration as required by Beta2 release notes.
On RHEL 4.0 U4 could not reproduce the problem even if no more DNS/NIS is setup. But, discovered that the linux kernel you mentioned is Ubuntu 6.0 Dapper. Today managed to install Linux 2.6.15-29-386 #1 PREEMPT Mon Sep 24 17:18:25 UTC 2007 i686 GNU/Linux on my LX50 box with jdk 1.5u14, NB 6.0 RC1 & GF v2 fcs. But, in my configuration there is a DHCP server giving me automatic IP address assignments within a lease file for the ethernet interface. Within this configuration could not reproduce the issue. I'm not familiar with Ubuntu, but trying to find how to setup static IP @ assignment and local resolution.
was able to reproduce on Windows/xp box: stop gf-v2-ur1-b09 server remove server instance exit IDE uninstall daily 2007151200 install 2007181200 after download from I.E where proxy settings is put to webcache.sfbay:8080 to get the bits. (usual configuration) Start IDE, In IDE Options: Web browser = <default system browser> Proxy Settings: box Use System Proxy Settings checked Register gf-v2-ur1-b09 and start server In server.log can see: my I.E proxy settings used -Dcom.sun.updatecenter.home=C:/Program Files/glassfish-v2-ur1-b09/glassfish/updatecenter -Ddomain.name=domain1 -Dhttp.nonProxyHosts=localhost*|syrah-01*|syarh-01.france.sun.com*|<local>*|localhost|127.0.0.1|syrah-01 -Dhttp.proxyHost=webcache.sfbay -Dhttp.proxyPort=8080 -Dhttps.proxyHost=webcache.sfbay .... The local server is started with a proxy configuration and in this case adding a remote host will not work.
Created attachment 53193 [details] domain1 xml file
if I add the different host names (no domain in them) in I.E (Internet Options /Connections/LAN settings /Advanced) in Exceptions field seperated with semicolons, save. exit IDE session, start IDE session, start the registered server, add the remote host ==>> no more the issue, the change is taken into account as expected.
I downloaded 6, RC2 and this issue seems to have gone away. I followed the same steps using the same AppServer on the same Server and the same client machine and it seems to work fine now.
please close this issue if you forgot to earlier. If this issue is still open, please change the target milestone to reflect the current commitment.
Closing issue