Windows下将GlassFish V4安装成系统服务
2014-09-04 16:00
113 查看
其实非常简单,直接上代码吧。
代码片段里不支持高亮吗?有意思。
C:\glassfish4\bin>asadmin create-service The Windows Service was created successfully. It is ready to be started. Here are the details: ID of the service: domain1 Display Name of the service:domain1 GlassFish Server Server Directory: C:\glassfish4\glassfish\domains\domain1 Configuration file for Windows Services Wrapper: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.xml The service can be controlled using the Windows Services Manager or you can use the Windows Services Wrapper instead: Start Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe start Stop Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe stop Restart Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe restart Uninstall Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe uninstall Install Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe install Status Command: C:\glassfish4\glassfish\domains\domain1\bin\domain1Service.exe status You can also verify that the service is installed (or not) with sc query state=all windows.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.log Command create-service executed successfully. C:\glassfish4\bin>
代码片段里不支持高亮吗?有意思。
相关文章推荐
- Windows下安装Mysql方法、加为系统服务
- 使用汉化版srvinstw.exe安装/卸载Windows系统服务
- windows下将tomcat安装为系统服务
- MongoDB安装,启动,注册为windows系统服务
- Windows下mysql5.7.9解压缩版正确安装步骤,解决win10等windows系统不能启动mysql服务
- Windows下把MongoDB安装为系统服务的方法
- 如何在Windows下手动将Tomcat安装成为系统服务
- 【Linux】 Samba 服务器安装配置实现与Windows系统的文件共享服务
- XP系统安装Office 2010出现:windows installer服务不能更新一个或多个受保护的windows文件 解决方法
- windows下安装多个tomcat服务(解决加入系统服务后不能同时开启多个tomcat)
- 安装卸载Windows系统服务服务,修改服务里文件执行路径
- 如何将weblogic安装为windows的系统服务自动启动
- 如何在将Jboss 安装为Windows 服务时设定系统参数(jboss5和jboss6下必须这么做才能将jboss安装为Windows 系统服务)
- Windows下把MongoDB安装为系统服务的方法
- 使用.NET创建Windows系统服务及安装完全教程(收藏)
- Windows服务 示例简要说明(系统事件日志、运行批处理、安装卸载、启动调试)
- 使用.NET 创建Windows系统服务及安装完全教程
- 教你如何在Windows下安装与卸载MySQL系统的服务
- 在 Windows 系统中安装 SSH 服务
- 使用nssm将STAF安装为windows系统服务