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.
Summary: | Glassfish server (default instance from installation) not offered in wizard | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Tomas Danek <musilt2> |
Component: | GlassFish | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jskrivanek, mjanicek, ssazonov, TomasKraus, vkraemer |
Priority: | P3 | Keywords: | RANDOM |
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2012-10-01 11:45:01 UTC
Reassigning to Glassfish for evaluation. ServerSelectionHelper.initServerModel() from maven.j2ee is using Deployment.getDefault().getServerInstanceIDs() which most probably returns incorrect values. BTW: The code is almost identical also for Ant based projects (ProjectServerPanel.initServers method) I'm unable to reproduce this with my current web-main build. But my server was registered using wizard. I was unable to reproduce this even with fresh 7.3 beta1 and bundled GlassFish. Product Version = NetBeans IDE 7.3 Beta (Build 201210011125) (#4cd218687d5f) Operating System = Linux version 2.6.38-8-generic running on amd64 Java; VM; Vendor = 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_03-b04 This seems to be happening randomly and only from time to time. Changing to P4. If you'll see it again feel free to switch it back to P2. Tomas, are you able to reproduce this every time with last dev builds? cannot reproduce with latest dev build. OK, thank you for response. Think this issue can be considered as resolved now. Happened to me twice today. Still do not have reliable steps to reproduce. We can keep this open for some period of time. I'm actually working on some server status checks so this can be checked again after I'll be done. IS is still happening in last 7.4 dev build? I did a lot of xhanges in server atatus code so there is a chance that it is resolved. Did you see this with 7.4 dev builds? did not have time to focus on daily builds yes, feel free to close, I'll eventually reopen. (In reply to comment #11) > Did you see this with 7.4 dev builds? OK, closing as incomplete now. You'll see. still reproducible; had a full IDE with ergonomics, activated web by creating new maven web project, but no glassfish in combo. Product Version: NetBeans IDE Dev (Build 201308260001) Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55 Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b42 System: Mac OS X version 10.8.4 running on x86_64; UTF-8; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev And is there some reliable test-case for debugging? I'm afraif there is not. I'm suspicious that ergonomics may not activate glassfish module. If you let me know, which module is necessary to be turned on (to populate combobox with GF server), I can investigate if ergonomics turned that module on. (In reply to TomasKraus from comment #15) > And is there some reliable test-case for debugging? There are 3 modules - glassfish.common, glassfish.eecommon and glassfish.javaee. Minimum to list servers is glassfish.common but all of them must be active to access Java EE features. *** Bug 236310 has been marked as a duplicate of this bug. *** This seems to be ok now. |