Tuesday, January 17, 2012

Permission error while starting Rational Application Developer (RAD) on Windows 7

Below error is shown in the logs while starting Rational Application Developer 7.5x on a Windows 7 machine. If you are starting RAD through a shortcut, right click and select "Run As Administrator" - this will resolve the issue.

ADMU0116I: Tool information is being logged in file D:\Apps\IBM\WCD7\WCDE_E~1\wasprofile\logs\server1\startServer.log java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:260) Caused by: com.ibm.websphere.management.exception.AdminException: ADMU7707E: Failed while trying to determine the Windows Service name for server: server1; probable error executing WASService.exe: com.ibm.websphere.management.exception.AdminException: ADMU7709E: Unexpected exception while processing server: server1; exception = java.io.IOException: Cannot run program "D:\Apps\IBM\RAD7\SDP\runtimes\base_v7\bin\WASService.exe": CreateProcess error=740, The requested operation requires elevation. at com.ibm.ws.management.tools.WindowsService.getWindowsServiceNameForServer(WindowsService.java:221) at com.ibm.ws.management.tools.WindowsService.(WindowsService.java:154) at com.ibm.ws.management.tools.WindowsService.getWindowsServiceInstance(WindowsService.java:139) at com.ibm.ws.management.tools.WsServerController.getWindowsServiceIfAvailable(WsServerController.java:161) at com.ibm.ws.management.tools.WsServerLauncher.getWindowsServiceIfAvailable(WsServerLauncher.java:157) at com.ibm.ws.management.tools.WsServerController.executeUtilityOnWindows(WsServerController.java:129) at com.ibm.ws.management.tools.WsServerLauncher.main(WsServerLauncher.java:138) ... 5 more