Installing Hudson 2.1 as service
After running hudson with:
C:\Documents and Settings\senna\.hudson&开发者_如何学运维gt;java -jar hudson.war
and navigating: http://mymachine:8080/install/?
Error:
Installing a service
[.hudson] $ "C:\Documents and Settings\senna\.hudson\hudson.exe" install
System.Management.ManagementException: Initialization failure
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementScope.Connect()
at WMI.WmiRoot..ctor(String machineName)
at WMI.WmiRoot..ctor()
at winsw.WrapperService.Run(String[] _args)
at winsw.WrapperService.Main(String[] args)
What can be wrong?
精彩评论