`
komei
  • 浏览: 89279 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

wrapper setting

阅读更多
参考: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.WrapperSimpleApp
rapper.ntservice.name=JBoss
wrapper.ntservice.displayname=JBoss Application Server
wrapper.ntservice.description=JBoss Application Server















Trying It Out


wrapper.app.parameter.1=org.jboss.Main
评论

相关推荐

    rabbitmq_cpp_wrapper:另一个基于librabbitmq-c的C ++ Rabbitmq包装器

    另一个基于librabbitmq-c的RabbitMQ C ++客户端包装。 已经在生产环境中使用。 尚无文档,请阅读示例以供参考,但我真的向您推荐!...Setting tags for user " tibank " to [administrator] ... [nicol

    AjaxGuide.doc

    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 ...

    xasdk-3.2.8c

    + 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 ...

    Android代码-uiautomator

    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包装器

    cloudflow-api 描述 这是Cloudflow API的node.js包装器。 它有异步和同步版本。 用法 var cloudflowAPI = require('cloudflow-api'); // Create a Cloudflow API wrapper for http://localhost:9090 ...// Setting th

    Microsoft Press-Programming Microsoft Outlook And Exchange 2003 (2 of 2)

    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 ...

    Microsoft Press-Programming Microsoft Outlook And Exchange 2003 (1 of 2)

    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 ...

    scmwrap:SettingContent-ms包装器

    SettingContent-ms包装器 最近,各种装入程序已使用SettingContent-ms文件来感染端点: 仅在启用Windows搜索的情况下,SettingContent-ms才能在Windows 10上运行。 SettingContent-ms包装器消除了这些... 内部Setting

    springframework.5.0.12.RELEASE

    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...

    FairyGUI-Unity-Plugin-3.4.0.zip

    - 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 '...

    i2c-tools-distrotech-i2c-tools

    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 ...

    php.ini-development

    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问题:Downloading from central: https://repo1.maven.org/maven2/org/apache/maven/plugins/maven-a

    很奇怪,我的maven仓库配置了私有库,,并且在maven setting.xml中配置了mirror(阿里云的镜像),但是,经常会遇到执行mvn命令的时候,会提醒,下载不下来。 解决方式:在项目的pom.xml中添加如下一段代码: ...

    jquery翻书效果

    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: ...

    Rave Player网页视频播放器

    - 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...

    TeeChart Pro Activex Control v5

    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. ================...

    VB.NET Developer's Guide(4574).pdf

    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...

    javascript权威指南(第六版)

    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 ...

    Using Perl For Web Programming.pdf

    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 ...

    Developing Flex Applications 910p dda_doc88_cracker.zip

    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....

Global site tag (gtag.js) - Google Analytics