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

Summary: Multiple autoregistered instances not supported
Product: serverplugins Reporter: Petr Hejl <phejl>
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: stezeb, TomasKraus
Priority: P3 Keywords: RELNOTE
Version: 8.0.1   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: the patch

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