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 251262 - Automatic post-install registration doesn't work
Summary: Automatic post-install registration doesn't work
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-18 15:06 UTC by Stepan Zebra
Modified: 2015-03-30 15:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (53.13 KB, text/plain)
2015-03-18 15:06 UTC, Stepan Zebra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2015-03-18 15:06:21 UTC
Product Version = NetBeans IDE Dev (Build 1)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_72
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.72-b04

NetBeans IDE Build 201503180001

After IDE installation, none of the bundled server is registered within Services. No config files are generated into %NBDIR%\nb\config. Not sure if related to issue 246435 - IDE build was failing for a couple of days.
Comment 1 Stepan Zebra 2015-03-18 15:06:24 UTC
Created attachment 152695 [details]
IDE log
Comment 2 Petr Hejl 2015-03-19 08:06:24 UTC
Does it apply to Tomcat as well? If so it is unrelated to #246435
Comment 3 Petr Hejl 2015-03-19 09:11:08 UTC
Installer needs to update classpath of scripts it is calling to register servers due recent split and other module changes:

Tomcat cp:
platform/core/core.jar:platform/core/core-base.jar:platform/lib/boot.jar:platform/lib/org-openide-modules.jar:platform/core/org-openide-filesystems.jar:platform/lib/org-openide-util.jar:platform/lib/org-openide-util-lookup.jar:platform/lib/org-openide-util-ui.jar:enterprise/modules/org-netbeans-modules-j2eeapis.jar:enterprise/modules/org-netbeans-modules-j2eeserver.jar:enterprise/modules/org-netbeans-modules-tomcat5.jar

GF cp:
./platform/core/core.jar:./platform/core/core-base.jar:./platform/lib/boot.jar:./platform/lib/org-openide-modules.jar:./platform/core/org-openide-filesystems.jar:./platform/lib/org-openide-util.jar:./platform/lib/org-openide-util-lookup.jar:./platform/lib/org-openide-util-ui.jar:./enterprise/modules/org-netbeans-modules-j2eeapis.jar:./enterprise/modules/org-netbeans-modules-j2eeserver.jar:./enterprise/modules/org-netbeans-modules-glassfish-common.jar:./enterprise/modules/org-netbeans-modules-glassfish-tooling.jar

WebLogic cp:
platform/core/core.jar:platform/core/core-base.jar:platform/lib/boot.jar:platform/lib/org-openide-modules.jar:platform/core/org-openide-filesystems.jar:platform/lib/org-openide-util.jar:platform/lib/org-openide-util-lookup.jar:platform/lib/org-openide-util-ui.jar:enterprise/modules/org-netbeans-modules-j2eeapis.jar:enterprise/modules/org-netbeans-modules-j2eeserver.jar:enterprise/modules/org-netbeans-modules-j2ee-weblogic9.jar:enterprise/modules/org-netbeans-modules-weblogic-common.jar

I updated the javadoc of autoregistration classes - web-main 9a15c451ba20.
Comment 4 Quality Engineering 2015-03-20 03:25:50 UTC
Integrated into 'main-silver', will be available in build *201503200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9a15c451ba20
User: Petr Hejl <phejl@netbeans.org>
Log: #251262 - Automatic post-install registration doesn't work
Comment 5 Libor Fischmeistr 2015-03-23 14:17:47 UTC
Classpaths updated in installers - http://hg.netbeans.org/core-main/rev/2a38913a8da8
Comment 6 Quality Engineering 2015-03-25 03:22:14 UTC
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2a38913a8da8
User: Libor Fischmeistr <lfischmeistr@netbeans.org>
Log: #251262: Automatic post-install registration doesn't work - cps in installers
Comment 7 Stepan Zebra 2015-03-30 15:43:54 UTC
works properly now