試圖做的事: 的asadmin創建服務錯誤創建將GlassFish作爲服務
並獲得:
Error while trying to install Glassfish as a Windows Service.
The return value was: 8.
STDERR:
STDOUT: WMI.WmiException: UnknownFailure
at WMI.WmiRoot.BaseHanderl.CheckError(ManagementBaseObject result)
at WMI.WmiRoot.ClassHandler.Invoke(Object proxy, MethodInfo method, Object[] ags)
at WMI.Win32ServicesProxy.Create(String, String, STring, ServiceType, ErrorControl, StartMode, Boolean, String[])
at winsw.WrapperService.Run(String[] args)
at winsw.WrapperService.Main(String[] arges
Command create-service failed
力圖打造將GlassFish作爲服務在Windows啓動時啓動的GlassFish(帶WAR文件在自動部署文件夾中以儘快啓動應用程序。)