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 232739 - Registered Glassfish Server with remote domain ends up with wrong address
Summary: Registered Glassfish Server with remote domain ends up with wrong address
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: Macintosh (x86) Mac OS X
: P1 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 20:16 UTC by ionuion
Modified: 2019-03-16 06:23 UTC (History)
1 user (show)

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 ionuion 2013-07-15 20:16:26 UTC
Steps to reproduce.

Register new Glassfish v4 server with remote domain
1. go to Tools -> Servers. Click Add server.
2. In the Installation Location field fill in a valid Glassfish 4.0 path. Click Next.
3. In the Domain Location page select Register Remote Domain. Fill in the host name (e.g. name of machine in LAN, say darkstar) the admin port the target (domain name,) admin user name and admin password
4. Click Finish. Click Close on the next page.

5. Go to Tools > Servers again. Click on the node for the Glassfish server created above.

Expected result:
The Location field is set to what has been filled at step 3.

Actual result:
The Location field contains: 'localhostFAIL:28080'
Comment 1 TomasKraus 2013-07-16 14:24:39 UTC
Will try to fix ASAP (tomorrow).
Comment 2 TomasKraus 2013-07-17 12:02:25 UTC
I just registered remote server and see no problem with it.

Server properties: 
 * Location: 10.163.121.89:8080
 * Target: domain
 * User Name: admin
 * Password: *******

There seems to be some issue with communication with remote server but not with properties from registration form.
Comment 3 TomasKraus 2013-07-17 13:58:33 UTC
Now registered one more server and it works fine again. Server is responding and it's status is being checked using asadmin commands (version + locations) without any problem.

For remote servers it's necessary to enable secure admin:
./asadmin change-admin-password --domain_name domain1
./asadmin enable-secure-admin
./asadmin stop-domain domain1
./asadmin start-domain domain1

So it should be listening on https and admin user must have password.
Comment 4 Stepan Zebra 2013-07-17 15:13:13 UTC
I was able to reproduce in latest Dev. With empty Target, the server was added correctly. With some Target set, the Location was corrupted as reported.
Comment 5 TomasKraus 2013-07-18 11:17:28 UTC
Stepan, did you also use mac to reproduce it? I did it for 3rd time on Linux with target filled but still have no problem on Linux. I'm working with current trunk sources so our build shall be the same.
Comment 6 Stepan Zebra 2013-07-18 13:57:25 UTC
I reproduced on Mac and W7 with Build 201307162300, which didn't contain the latest changes yet. I can't reproduce anymore on today's build, so I believe the issue is gone now after the integration of e5db4ffb4087.
Comment 7 TomasKraus 2013-07-18 16:05:15 UTC
OK, thank you for update. I would like to ask bug filer to verify this with latest development build.
Comment 8 TomasKraus 2013-07-22 12:36:55 UTC
Still got no answer, closing as works for me. Feel free to reopen it if you see this problem in Dev builds after 22th July.
Comment 9 ionuion 2013-08-08 21:52:42 UTC
Tested with 

Product Version: NetBeans IDE Dev (Build 201308072300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b15
System: Mac OS X version 10.7.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/ionuion/Library/Application Support/NetBeans/dev
Cache directory: /Users/ionuion/Library/Caches/NetBeans/dev

Not reproducible anymore
Comment 10 Thanos1234 2019-03-16 06:23:14 UTC
Must be thanks for the amazing post online look here http://windowstuts.net/connections and access the all connection to bluetooth audios devices and wireless display in window.