参考:http://wrapper.tanukisoftware.org/doc/english/integrate-simple-win.html
download :jboss,wrapper
First we will copy the following files into the JBoss bin directory:
{WRAPPER_HOME}\bin\Wrapper.exe {WRAPPER_HOME}\src\bin\App.bat.in {WRAPPER_HOME}\src\bin\InstallApp-NT.bat.in {WRAPPER_HOME}\src\bin\UninstallApp-NT.bat.in
|
Rename the three batch files as follows. Be sure to remove the .in extensions so that the files all end in .bat. Depending on how your file explorer is configured, you may not be able to see the extensions.
{JBOSS_HOME}\bin\JBoss.bat
{JBOSS_HOME}\bin\InstallJBoss-NT.bat
{JBOSS_HOME}\bin\UninstallJBoss-NT.bat
Copy the following two files into the JBoss lib directory:
{WRAPPER_HOME}\lib\Wrapper.DLL
{WRAPPER_HOME}\lib\wrapper.jar
{WRAPPER_HOME}\src\conf\wrapper.conf.in
Be sure to remove the .in extension so that the file is named wrapper.conf. Depending on how your file explorer is configured, you may not be able to see the extension. You should now have:
{JBOSS_HOME}\conf\wrapper.conf{JBOSS_HOME}\logs
JBoss.bat:add file end
ECHO %JAVA% %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %ARGS%
********conf/wrapper.conf
wrapper.java.command=%JAVA_HOME%/bin/java
wrapper.java.additional.1=-Dprogram.name=run.bat
wrapper.java.classpath.1=../lib/wrapper.jar
wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
wrapper.java.classpath.3=./run.jar
wrapper.java.library.path.1=../lib
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApprapper.ntservice.name=JBoss
wrapper.ntservice.displayname=JBoss Application Server
wrapper.ntservice.description=JBoss Application Server
wrapper.app.parameter.1=org.jboss.Main
分享到:
相关推荐
另一个基于librabbitmq-c的RabbitMQ C ++客户端包装。 已经在生产环境中使用。 尚无文档,请阅读示例以供参考,但我真的向您推荐!...Setting tags for user " tibank " to [administrator] ... [nicol
AJAX .Net Wrapper usage guide 1 Background 1 How it works - Overview 2 Initial Setup 2 Setting up the HttpHandler 2 Setting up the Page 3 Creating the Server-Side Functions 4 Making our client-side ...
+ setting of the number of decoded channels is now done through a new function call (SetCodecChannels(), GetCodecChannels()). + small header files cleanup/changes. * What's new in 3.0.7 + Added ...
This module is a Python wrapper of Android uiautomator testing framework. It works on Android 4.1 simply with Android device attached via adb, no need to install anything on Android device. from ...
cloudflow-api 描述 这是Cloudflow API的node.js包装器。 它有异步和同步版本。 用法 var cloudflowAPI = require('cloudflow-api'); // Create a Cloudflow API wrapper for http://localhost:9090 ...// Setting th
Wrapper Classes and Collections 81 Macro Projects 88 Custom Rules 89 Additional Macros 100 Running and Distributing Macros 108 Running Macros 108 Distributing the VBA Project 109 Distributing ...
Wrapper Classes and Collections 81 Macro Projects 88 Custom Rules 89 Additional Macros 100 Running and Distributing Macros 108 Running Macros 108 Distributing the VBA Project 109 Distributing ...
SettingContent-ms包装器 最近,各种装入程序已使用SettingContent-ms文件来感染端点: 仅在启用Windows搜索的情况下,SettingContent-ms才能在Windows 10上运行。 SettingContent-ms包装器消除了这些... 内部Setting
Allow java.time types for setting the Last-Modified header [SPR-17571] #22103 StringHttpMessageConverter should assume charset UTF-8 for application/json [SPR-17568] #22100 NettyDataBufferFactory.join...
- IMPROVED: GoWrapper now supports multiple materials. - FIXED: Correct cleanup action for RemovePackage. 3.0.0 From this version, we change package data format to binary. Editor version 3.9.0 with '...
Python wrapper for SMBus access over i2c-dev. Not installed by default. * stub A helper script to use with the i2c-stub kernel driver. Installed by default. * tools I2C device detection and ...
Turning on this setting and managing its maximum buffer size can yield some ; interesting side-effects depending on your application and web server. ; You may be able to send headers and cookies ...
很奇怪,我的maven仓库配置了私有库,,并且在maven setting.xml中配置了mirror(阿里云的镜像),但是,经常会遇到执行mvn命令的时候,会提醒,下载不下来。 解决方式:在项目的pom.xml中添加如下一段代码: ...
cursor: 'pointer', // cursor css setting for side bar areas hash: false, // enables navigation using a hash string, ex: #/page/1 for page 1, will affect all booklets with 'hash' enabled keyboard: ...
- Updated app wrapper to correct issue with contextual menu (copy and paste menu). v 4.0.118 (Nov. 20, 2009) - Added m4v extension to video list. v 4.0.117 (Nov. 7, 2009) - Added wasp_reg.txt output...
a requirement when setting up an ADO connection via code. - Dragdrop events not functioning in .NET. - Only one TeeChart AX event is triggered, per page, for a WebForm in ASP.Net. ================...
Setting Location of Forms 292 Form Events 294 Creating Multiple Document Interface Applications 297 Creating an MDI Parent Form 297 Creating MDI Child Forms 298 Exercise 7.1 Creating an MDI Child...
6.2 Querying and Setting Properties 120 6.3 Deleting Properties 124 6.4 Testing Properties 125 6.5 Enumerating Properties 126 6.6 Property Getters and Setters 128 6.7 Property Attributes 131 6.8 ...
Setting up an Environment for Server-Side Includes H Understanding the Commands H G Understanding Shopping Carts Shopping Cart Using Hidden Fields H Shopping Cart Using HTTP Cookies H G From ...
This package contains 3 kid: 1. a book Developing Flex Applications 2. a web page viewer for doc88 ebt ... CONTENTS PART I: Presenting Flex CHAPTER 1: Introducing Flex....About Flex....