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 205740 - fresh install of NetBeans with Glassfish yields severe error message
Summary: fresh install of NetBeans with Glassfish yields severe error message
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-30 19:58 UTC by darkos
Modified: 2012-05-17 19:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description darkos 2011-11-30 19:58:11 UTC
[ BUILD # : rc1 ]
[ JDK VERSION : 1.7.1 ]

upon starting glassfish, I see the following error message in the log:

SEVERE: Exception Could not rename
C:\nb71rc1\glassfish-3.1.1\glassfish\domains\domain1\config\domain.xml to
C:\nb71rc1\glassfish-3.1.1\glassfish\domains\domain1\config\domain.xml.bak
while persisting domain.xml, changes will not be available on server restart

I suspect this is a permissions issue in that the installation uses
administrative rights, while, when I subsequently start NetBeans, admin rights
are not being used.

if I manually update the glassfish directory security permissions to allow all
users to have full control, the error message is no longer seen.
Comment 1 Martin Janicek 2011-12-08 14:08:26 UTC
Reassigning to Glassfish component.
Comment 2 Vince Kraemer 2011-12-08 15:46:19 UTC
How are you starting GlassFish (exactly)?  Please attach the NB messages.log file, too.
Comment 3 Vince Kraemer 2011-12-08 15:48:33 UTC
Note: I do not have instant access to a Windows machine, so the additional details are more than helpful... they are necessary.
Comment 4 Vince Kraemer 2012-05-17 19:48:24 UTC
please reopen when the requested info is available/attached...