将Glassfish作为服务创建时出错 [英] Error creating glassfish as a service

查看:89
本文介绍了将Glassfish作为服务创建时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试做: asadmin创建服务

Trying to do: asadmin create-service

并得到:

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的服务(在auto-deploy文件夹中带有WAR文件,以尽快启动应用程序.)

Trying to create glassfish as a service to start glassfish at windows boot (with a WAR file in the auto-deploy folder to start the application ASAP.)

推荐答案

您的域目录中是否有多个域?如果是这样,您必须按照

do you have more than one domain in your domain directory? if so you must specify the name of the domain as noted in the asadmin create-service documentation

这篇关于将Glassfish作为服务创建时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆