Can not run GlassFish as a service

2019-08-03 02:35发布

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?

1条回答
Explosion°爆炸
2楼-- · 2019-08-03 03:10

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

查看更多
登录 后发表回答