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: | java.io.IOException: CreateProcess error=740, The requested operation requires elevation | ||
---|---|---|---|
Product: | serverplugins | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | GlassFish | Assignee: | Vince Kraemer <vkraemer> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | almircampos, dysonjm, lenin2k |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 196598 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2012-12-15 05:38:48 UTC
Created attachment 129397 [details]
stacktrace
This exception is related to Windows security. Looks like we need to run this process as an administrator. Here is a nice blog about UAC in Vista/Windows 7 and how to implement it in Java: http://mark.koli.ch/2009/12/uac-prompt-from-java-createprocess-error740-the-requested-operation-requires-elevation.html Unfortunately there is no way to resolve this in Java. It should be done in Windows native code - updatetool.exe in our case. There are suggestions to run an application using 'cmd.exe /c'. There is Java related bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6410605 Targeting to next release. This will take longer to resolve. *** Bug 205618 has been marked as a duplicate of this bug. *** I'm closing this issue because there is no way to fix this on NB/plugin side. |