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: | cannot register current V2 domains | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Vince Kraemer <vkraemer> |
Component: | Sun Appserver 9 | Assignee: | Vince Kraemer <vkraemer> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | alexismp, jchalupa, pgebauer, pjiricka |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vince Kraemer
2006-11-28 19:55:30 UTC
this is a tracking bug.... GF V2 build 26 [28-Nov-2006] work-around... 1. install glassfish (java -jar then ant -f setup.xml) 2. use your favorite editor to open <gfinstall>/lib/install/templates/default-domain.xml.template replace <?xml version="1.0" encoding="UTF-8" ?> with <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN" "http://www.sun.com/appserver/dtds/sun-domain_1_3.dtd"> at the top for the file. *** Issue 90604 has been marked as a duplicate of this issue. *** http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=2278 addresses this issue, too. additional fix for the stack trace that folks encountered... http://serverplugins.netbeans.org/source/browse/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java?r1=1.8&r2=1.9 I have used 12/5/06 6.0 NB daily build and tested with AS 9.1 PE/EE, GF V2 PE/EE on build 26, and I can register all the servers fine without apply any workaround. I am marking this bug as verified on 6.0 NB trunk. *** Issue 90798 has been marked as a duplicate of this issue. *** The fix itself seems to be OK, although I miss the 'NOI18N' comments. Here are a few comments to the relevant code, which do not directly relate to this patch. The FileInputStream should be wrapped into a BufferedInputStream. If the domain.xml file is not parsable a RuntimeException will be thrown, this should be caught. ErrorManager/Logger should be used instead of Exception.printStackTrace() statements. integrate to release551 Checking in appsrvbridge/src/org/netbeans/modules/j2ee/sun/bridge/AppServerBridge.java; /cvs/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/bridge/AppServerBridge.java,v <-- AppServerBridge.java new revision: 1.2.14.2.2.5.14.1; previous revision: 1.2.14.2.2.5 done Checking in appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java,v <-- AddDomainPlatformPanel.java new revision: 1.1.2.3.2.5.18.1; previous revision: 1.1.2.3.2.5 I thought we were going to publish the fix as a patch for NB 5.5, weren't we? Could we still do it? Petr G.? The issue has been fixed in the release55_fixes branch. Checking in appsrvbridge/src/org/netbeans/modules/j2ee/sun/bridge/AppServerBridge.java; /cvs/serverplugins/sun/appsrvbridge/src/org/netbeans/modules/j2ee/sun/bridge/AppServerBridge.java,v <-- AppServerBridge.java new revision: 1.2.14.2.2.5.8.1; previous revision: 1.2.14.2.2.5 done Checking in appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainPlatformPanel.java,v <-- AddDomainPlatformPanel.java new revision: 1.1.2.3.2.5.14.1; previous revision: 1.1.2.3.2.5 done |