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 89528 - FileNotFoundException connectiong to SunAppServer
Summary: FileNotFoundException connectiong to SunAppServer
Status: RESOLVED DUPLICATE of bug 93069
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-17 05:10 UTC by spungey
Modified: 2007-02-01 05:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file (66.37 KB, application/octet-stream)
2006-11-17 05:11 UTC, spungey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spungey 2006-11-17 05:10:45 UTC
NB 5.5 is installed on linux.  Fedora core 6, 2.4 GHz cpu, 1.5 GB or ram.  So 
is Sun App Server 9.0.  These were not installed together.

When I attempted to attach the server to netbeans, it said no installation was 
available.

I launched NB as root ("sudo netbeans") and it found the server and domain 
fine.

I launched NB as a regular user, and got the following FileNotFoundException.  
The tool told me to file a report.
Comment 1 spungey 2006-11-17 05:11:53 UTC
Created attachment 36108 [details]
messages.log file
Comment 2 spungey 2006-11-18 06:12:18 UTC
I cleared this up by uninstalling the previous NB and installing a new 
version.

It looks to me like NB is supposed to install with the primary (only?) user as 
the owner of the installation.  I had tried to install it in /usr/local, as 
root so that "everyone" (which happens to be only me anyway) could use the 
same IDE installation.

Additional symptoms showed up in the logfile and in modal dialogs.  Generally 
of the form "file such-and-such is read-only."  A quick check showed they were 
not read only, but were owned by root and when running as richard (my normal 
behavior) they were no longer writable.

Installing fresh, with the user as the owner, in the user's disk space, 
worked.  Created a custom domain and connected to galssfish just fine that way 
too.

Is there a place in documentation where it talks about how to do a 
single-executable install for multiple users on *-IX systems, or is it simply 
not recommended?
Comment 3 Vince Kraemer 2007-02-01 05:26:48 UTC
I am marking this as a dup of 93069...

The changes for 93069 make the default choice on the "pick your platform
installation directory" page of the wizard better in this situation... 'Create
Personal Domain' becomes the suggested option in that case

*** This issue has been marked as a duplicate of 93069 ***