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.

Bug 189736 - Problems configuring remote GlassFish server
Summary: Problems configuring remote GlassFish server
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-21 17:57 UTC by apeto
Modified: 2011-11-16 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description apeto 2010-08-21 17:57:59 UTC
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.
Comment 1 Vince Kraemer 2010-08-22 15:59:13 UTC
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?
Comment 2 apeto 2010-08-23 00:36:21 UTC
(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.
Comment 3 pdjohnso 2010-10-28 22:01:13 UTC
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.
Comment 4 pdjohnso 2010-10-28 22:01:13 UTC
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.
Comment 5 chaase3 2010-12-20 17:57:19 UTC
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.
Comment 6 Vince Kraemer 2010-12-21 20:11:52 UTC
extended ui to support restart of remote servers.

Start and stop are not supported... only restart.