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 171365 - FileNotFoundException occurs to start download domain2
Summary: FileNotFoundException occurs to start download domain2
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: PC Windows XP x64
: P2 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
: 170239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-02 23:03 UTC by davisn
Modified: 2009-09-11 22:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (61.11 KB, text/plain)
2009-09-02 23:04 UTC, davisn
Details
Screen shot for domain2 registration (32.72 KB, image/png)
2009-09-02 23:05 UTC, davisn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davisn 2009-09-02 23:03:58 UTC
java.io.FileNotFoundException occurs when start server which was downloaded with having new embedded domain2

Steps To Reproduce:
1. Install NB Trunk build 08/21/2009
2. Start the IDE -> Right-click on Servers node -> select Add Server -> select GlassFish V3 -> click Next -> enter
domain2 as Register Local domain -> click Finish button
3. Right-click on the recently created server (v3-domain2), select Start menu
BUG:
   Server failed to start with exception occurs as
java.io.FileNotFoundException: E:\Program Files
(x86)\glassfish-v3-b60-download\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:605)
	at org.netbeans.modules.glassfish.common.StartTask.createProcessDescriptor(StartTask.java:388)
	at org.netbeans.modules.glassfish.common.StartTask.createProcess(StartTask.java:569)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:207)
	at org.netbeans.modules.glassfish.common.StartTask.call(StartTask.java:87)
	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:602)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Comment 1 davisn 2009-09-02 23:04:23 UTC
Created attachment 87011 [details]
messages.log
Comment 2 davisn 2009-09-02 23:05:05 UTC
Created attachment 87012 [details]
Screen shot for domain2 registration
Comment 3 Vince Kraemer 2009-09-08 21:04:37 UTC
it looks like we just need to turn this on...
Comment 4 Vince Kraemer 2009-09-08 21:05:05 UTC
previous comment is bogus
Comment 5 Vince Kraemer 2009-09-09 15:23:22 UTC
problem in custom canWrite function...
Comment 6 Vince Kraemer 2009-09-09 22:22:13 UTC
*** Issue 170239 has been marked as a duplicate of this issue. ***
Comment 7 Quality Engineering 2009-09-11 21:37:57 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5b0837917d9e
User: vince kraemer <vkraemer@netbeans.org>
Log: #171365: canWrite created a file in writable directory when it should not.
Comment 8 Vince Kraemer 2009-09-11 22:25:30 UTC
in main-golden
Comment 9 Vince Kraemer 2009-09-11 22:25:50 UTC
fogot to mark fixed