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.
Hi, I'm developing a project that involves an ejb, a war and a rest module. I have installed NetBeans on my development computer together with a GlassFish App Server. I'm trying now to deploy the project to a remote server ( production server ) from NetBeans. I Tried to configure a second server in NetBeans using right click context menu 'Add Server' at the Servises tab. After choosing the server type and a name for it, I press NEXT. At the Installation location box, it already has a path to my local GlassFish server directory. I shouldn't matter because I'm trying to configure a remote one. So I press NEXT. At the next wizard I choose, Register 'Remote Domain' so en edit box that was desabled is enabled to write ther the Host Name ( can I put an IP Address there ? ) The Admin Port is already set to 4848. Then I press FINISH. So it is done !! But it doesn't work. I can't Start or Stop the server becouse this option are disabled in the context menu. I decided to check the Properties by selecting 'Propertied' from the context menu. I see there that the path to the Domain Folder is not set. Neither the Domain Name. But the edit boxes where I should set this values are read-only !!! I can not configure this parameters so NetBenas will never find my GF on the remote computer. Is ther something that I'm missing here to make this work ? Thanks. Albert.
please verify which version of GF you are using on the local and remote system. Also... have you verified that you can open and use the admin console of the remote server from your local system?
(In reply to comment #1) > please verify which version of GF you are using on the local and remote system. > > Also... have you verified that you can open and use the admin console of the > remote server from your local system? I 've checked the server and it was running. I was able to open de remote console from a browser and of course, I was able to deploy the project on the server also. But I could not manage the server from 'here' using NetBeans. Only through the console. I'm using NetBeans 6.9.1 and GlassFish 3.0.1 on local and remote system. Albert.
My experience is the same as Albert. I registered local GlassFish 3.0.1 from NetBeans IDE 6.9.1, no problem. When I register remote GlassFish 3.0.1, Start/Restart/Stop are grayed out. I can browse remote GlassFish 3.0.1, and stop/start it using asadmin on remote system.
You might check if the problem is that you registered a remote domain on the remote server. I think you need to register the *local* domain on the remote server, though this might seem counterintuitive.
extended ui to support restart of remote servers. Start and stop are not supported... only restart.