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 246435 - Multiple autoregistered instances not supported
Summary: Multiple autoregistered instances not supported
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0.1
Hardware: PC All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: RELNOTE
Depends on:
Blocks:
 
Reported: 2014-08-13 13:09 UTC by Petr Hejl
Modified: 2015-03-11 04:06 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the patch (4.15 KB, patch)
2014-08-13 13:13 UTC, Petr Hejl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2014-08-13 13:09:14 UTC
As reported by Stepan, multiple autoregistered instances should be supported.
Comment 1 Petr Hejl 2014-08-13 13:13:29 UTC
Created attachment 148684 [details]
the patch

This could solve the issue.
Comment 2 Stepan Zebra 2014-08-13 13:42:40 UTC
(following on issue 239836)

Visible manifestation of inability to correctly handle multiple autoregistered GF instances are messed up server properties of other than first registered server.
Typical scenario to encounter the problem is to have one GF server installed from previous NB bundle (NB 8.0 + GF 4.0) and install a newer bundle (NB 8.0.1 + GF 4.1). In this situation, installer prepares config for automatic registration of both servers. Both servers are registered successfully. This first one in the config will behave properly. The second one will be affected with following problems:
  Checkboxes in Common Properties of the server will have different default values.
  On NB restart, following Common Properties are being reset to default:
    "Enable Comet Support" and "Enable HTTP Monitor" to false
    "Enable JDBC Driver Deployment" to true
Adding multiple server instances manually won't result in these problems. This issue affects only automatic post-install registration.
Comment 3 Petr Hejl 2015-03-10 15:35:06 UTC
The patch applied as web-main 3a70bec0323c. Tomasi, please review.
Comment 4 Quality Engineering 2015-03-11 04:06:46 UTC
Integrated into 'main-silver', will be available in build *201503110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3a70bec0323c
User: Petr Hejl <phejl@netbeans.org>
Log: #246435 - Multiple autoregistered instances not supported