The following error messages are reported when attempting to instrument the Weblogic service on Windows 2008 R2 using the JavaEEDeploymentManager agent:
Cannot run program "regedit.exe" (in directory "C:\Quest_Software\Foglight_Agent_Manager\agents\JavaEE\exports"): CreateProcess error=740, The requested operation requires elevation
Failed to update WebLogic Service "<SERVICE_NAME>"
Failed to export from Windows Registry, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SERVICE_NAME\Parameters
The user the FglAM is started as is able to execute the regedit command and view the contents of the registry.
Execute the following steps:
1). Login to the Windows 2008 R2 host as a user that has permissions to execute regedit.
2). Stop the FglAM.
3). Start the cmd prompt by right-clicking on it, and then selecting "Run As Administrator". The cmd.exe binary can be found in the C:\Windows\SysWOW64 and the C:\Windows\System32 directories.
4). Navigate to the %FglAMHOME%\bin directory within the cmd window.
5). Issue the following command to start the Foglight Agent Manager:
6). Activate the JavaEEDeploymentManager agent.
7). Verify that the following message is reported in the JavaEEDeploymentManager agent log.
Successfully completed update of WebLogic Service: <Service Name>