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.
Error occurs when trying to create domain2 for GlassFish V3 prelude Steps To Reproduce: 1. Install 6.7 Trunk build (use default), use jdk 1.6.0_12 2. Create a Web Project 3. Right-click at Servers node, select Add Server > GlassFish V3 Prelude > Next > Next > enter Domain: domain2 Click Finish BUG: Error Message occurs as: "Cannot run program "E:\Program Files\glassfish-v3-prelude-b28c\glassfish\bin\asadmin.bat" Please see the attached picture for detail error message If I select to start the domain2-server, I got Exception as described int the following error message java.io.FileNotFoundException: E:\Program Files\glassfish-v3-prelude-b28c\glassfish\domains\domain2\config\domain.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at org.netbeans.modules.glassfish.spi.TreeParser.readXml(TreeParser.java:87) Caused: java.lang.IllegalStateException at org.netbeans.modules.glassfish.spi.TreeParser.readXml(TreeParser.java:95) at org.netbeans.modules.glassfish.common.StartTask.readJvmArgs(StartTask.java:440) at org.netbeans.modules.glassfish.common.StartTask.createProcessDescriptor(StartTask.java:295) at org.netbeans.modules.glassfish.common.StartTask.createProcess(StartTask.java:388) at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:153) at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:78) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Created attachment 77582 [details] Error image
Created attachment 77584 [details] messages.log
I think i see what went wrong... Please clarify a couple things for me... 1. after you dismiss the error message, the node for the domain (that was not created) appears in the Servers tree. 2. the second error message appears when you try to start this 'uncreated' domain instance...
1. After I close the error message, the created domain2 appeared in the Servers List node 2. The exception error message appears when I try to start domain2 Yesterday I was able to reproduce the problem for 2 times; however, today I couldn't not reproduce it!
I could not reproduce the issue... but I did see a hole in the logic of CreateDomain that would explain the behavior. http://hg.netbeans.org/main/rev/0c594be4e9ae Please reopen if you can reproduce this in a trunk build in a couple days.
Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/0c594be4e9ae User: Vince Kraemer <vkraemer@netbeans.org> Log: #159472 : some create failures still allow a node to show up in the servers tree