无法将GlassFish作为服务运行 [英] Can not run GlassFish as a service

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

问题描述

我试图运行 GlassFish作为Windows服务。


本地计算机上的domain1 GlassFish服务器已启动,然后
停止。一些服务自动停止

另外控制台说:


NET HELPMSG 3534


有什么不对?

解决方法

这是Windows服务问题,请按照以下步骤操作,我希望这可以帮助您: 1)点击运行开始按钮中的命令



2)输入 Services.msc ,然后点击确定,您将获得所有服务3)选择您的服务,然后右键点击该服务,然后选择属性

>
$ b 4)转到登录属性à选择本地系统帐户,然后点击确定



当然,您必须在环境变量和JAVA_HOME变量中设置Java Path

毕竟这一步重启计算机,如果这步将无助,打开 domain1Service.xml 与记事本并复制到这里


I'm trying to run GlassFish as service on Windows.

The domain1 GlassFish Server on Local Computer started and then stopped. Some services stop automatically

Also console says:

NET HELPMSG 3534

What is wrong?

解决方案

This is windows service problem, follow these steps, I hope this will help you:

1)Click Run Command from start button

2)Enter Services.msc then click OK,you will get all the services in your computer.

3)Select your service and right click on the service and select Properties

4)Goto Logon Properties à select Local System Account then click OK

And of course you must set Java Path in Environment Variables and JAVA_HOME variable

After all this steps restart computer, if this steps will not help, open domain1Service.xml with notepad and copy here

这篇关于无法将GlassFish作为服务运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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