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: | can't add any appserver if local instance is not writeable | ||
---|---|---|---|
Product: | serverplugins | Reporter: | athompson <athompson> |
Component: | Sun Appserver 8 | Assignee: | _ ludo <ludo> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | ttran |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | NoSuchElementException |
Description
athompson
2005-02-22 22:12:10 UTC
Created attachment 20462 [details]
NoSuchElementException
stack trace appears to be from j2eeserver area. Pavel, do you have some cycles to look into that as a first evaluation? Jars and wscompile tools should be accessible without being root. Other issues (55376 )are related, but this one is about the stack trace. The NoSuchElementException fixed in the j2eeserver code. This fix however doesn't solve the issue that the appserver instance cannot be added. This has to be fixed or better handled in the appserver plugin. Currently the appserver plugin displays only the "Failed to create instance {0}." warning message. Reassigning to sunappserv module. Commit log: Checking in ServersCustomizer.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ServersCustomizer.java,v <-- ServersCustomizer.java new revision: 1.3; previous revision: 1.2 done I think, similar as issue 55167 yes, very similiar and will be fixed at the same time. Related big time to 55376 One fix will close 3 bugs :-) *** Issue 55167 has been marked as a duplicate of this issue. *** the message that sherold refered to in his comment on 2005-02-23 06:26 PST, comes from ServerRegistry.java in j2eeserver. Filed 55447. *** Issue 55376 has been marked as a duplicate of this issue. *** The issue was caused by a poorly placed addListener call. The "localhost" version of this issue is also caused by the same listener misplacement. The "writability" of the server install directory really doesn't come into play. The readability of the domains/*/config/domain.xml files did contribute to this issue a bit. I ran into a bug when trying to start a domain that is "root's". So some of the code changes address it, too. code changed (closed source): src/org/netbeans/modules/j2ee/sun/ide/j2ee/StartSunServer.java (rev 1.11) src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddServerVisualPanel.form (rev 1.5) src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddServerVisualPanel.java (rev 1.6) src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Bundle.properties (rev 1.12) Reassigning to ludo to signal the need to update the netbeans repository with new scrambled bits. I'm not sure that it is P1, downgrading to P2. The issue will be fixed in NB trunk very soon. Ludo should update app server plugin. integrated now. v. 200503301800 |