Windows下将GlassFish V4安装成系统服务
来源:互联网 发布:编程达人 编辑:程序博客网 时间:2024/05/15 23:47
其实非常简单,直接上代码吧。
C:\glassfish4\bin>asadmin create-serviceThe Windows Service was created successfully. It is ready to be started. Hereare the details:ID of the service: domain1Display Name of the service:domain1 GlassFish ServerServer Directory: C:\glassfish4\glassfish\domains\domain1Configuration file for Windows Services Wrapper: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.xmlThe service can be controlled using the Windows Services Manager or you can use theWindows Services Wrapper instead:Start Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe startStop Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe stopRestart Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe restartUninstall Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe uninstallInstall Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe installStatus Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe statusYou can also verify that the service is installed (or not) with sc query state=allwindows.services.uninstall.good=Found the Windows Service and successfully uninstalled it.For your convenience this message has also been saved to this file: C:\glassfish4\glassfish\domains\domain1\PlatformServices.logCommand create-service executed successfully.C:\glassfish4\bin>
代码片段里不支持高亮吗?有意思。
0 1
- Windows下将GlassFish V4安装成系统服务
- Windows Server 2008 R2下将nginx安装成windows系统服务
- windows下,将免安装的tomcat加入系统服务
- Windows上 将solr安装成系统服务
- 将mysql安装至windows系统服务
- windows将nginx安装为系统服务
- Windows下全新安装Glassfish服务器
- windows xp下 glassfish安装及部署
- Windows下GlassFish v2 安装完美攻略
- 如何在将Jboss 安装为Windows 服务时设定系统参数(jboss5和jboss6下必须这么做才能将jboss安装为Windows 系统服务)
- Windows添加系统服务与glassfish bat启动文件
- Windows添加系统服务与glassfish bat启动文件
- windows 系统下 MongoDB 服务安装教程
- windows系统下安装memche服务
- windows系统下将nginx作为系统服务启动
- 将程序注册成windows系统服务
- 在windows下将Nginx添加为系统服务
- windows下将redis做成服务,随系统自启动
- bzoj1500(妥妥的splay模板题)
- 获取Textview的宽度 (在没有显示前)
- 不错的Spring学习笔记(转)
- 高考改革启动:高中不再分文理
- Android xxx is not translated in yyy, zzz 的解决方法
- Windows下将GlassFish V4安装成系统服务
- 日生日的照片帧的理由让祖父母微笑
- 斯坦福大学机器学习——高斯判别分析
- Xshell工具连接linux系统笔记
- C# DataTable转json,DataSet转json
- 在mac上解决Android sdk content loader 0%的问题
- iOS开发之获取系统相册中的图片与视频(内带url转换)
- 自动化代码分析的过去、现状和将来
- 剑指Offer之用两个栈实现队列