java service wrapper jar 服务_使用Java Service Wrapper将jar包安装成Windows服务-程序员宅基地

技术标签: java service wrapper jar 服务  

encoding=UTF-8# Configuration files must begin with a line specifying the encoding

# of the the file.

#********************************************************************# Wrapper License Properties (Ignored by Community Edition)

#********************************************************************# Professional and Standard Editions of the Wrapper require a valid

# License Key to start. Licenses can be purchased or a trial license

# requested on the following pages:

# http://wrapper.tanukisoftware.com/purchase

# http://wrapper.tanukisoftware.com/trial

# Include file problems can be debugged by removing the first'#'#fromthe following line:

##include.debug

# The Wrapper will lookfor either of the following optional files fora

# valid License Key. License Key properties can optionally be included

# directlyin thisconfiguration file.

#include ../conf/wrapper-license.conf

#include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf

# The following property will output information about which License Key(s)

# are being found, and can aidinresolving any licensing problems.

#wrapper.license.debug=TRUE

#********************************************************************# Wrapper Localization

#********************************************************************# Specify the locale which the Wrapper should use. Bydefaultthe system

# localeisused.

#wrapper.lang=en_US # en_US or ja_JP

# Specify the location of the Wrapper's language resources. If these are

# missing, the Wrapper will defaultto the en_US locale.

wrapper.lang.folder=../lang

#********************************************************************# Wrapper Java Properties

#********************************************************************# Java Application

# Locate the java binary on the system PATH:

wrapper.java.command=C:\Program Files\Java\jdk1.8.0_25/bin/java

# Specify a specific java binary:

#set.JAVA_HOME=/java/path

#wrapper.java.command=%JAVA_HOME%/bin/java

# Tell the Wrapper to log the full generated Java command line.

#wrapper.java.command.loglevel=INFO

# Java Mainclass. This class must implement the WrapperListener interface# or guarantee that the WrapperManagerclass isinitialized. Helper

# classes are provided todo this foryou. See the Integration section

# of the documentationfordetails.

wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar) Addclass path elements as# needed startingfrom 1#wrapper.java.classpath.1=../lib/wrapper.jar

#wrapper.java.classpath.2=../processapp.jar

#wrapper.java.classpath.3=../lib/*#更改了working.dir之后.路径将要随之变化

wrapper.working.dir=../

wrapper.java.classpath.1=lib/wrapper.jar

wrapper.java.classpath.2=processapp.jar

wrapper.java.classpath.3=lib/*

# Java Library Path (location of Wrapper.DLL or libwrapper.so)

wrapper.java.library.path.1=lib

# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode.

wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters

wrapper.java.additional.1=

# Initial Java Heap Size (in MB)

#wrapper.java.initmemory=3

# Maximum Java Heap Size (in MB)

#wrapper.java.maxmemory=64

# Application parameters. Add parameters as needed starting from 1

wrapper.app.parameter.1=com.el.cardata.processapp.HCAPPStart

#********************************************************************

# Wrapper Logging Properties

#********************************************************************

# Enables Debug output from the Wrapper.

# wrapper.debug=TRUE

# Format of output for the console. (See docs for formats)

wrapper.console.format=PM

# Log Level for console output. (See docs for log levels)

wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.

wrapper.logfile=logs/wrapper.log

#wrapper.pidfile=bin/wrapper.pid

#wrapper.java.pidfile=bin/java.pid

# Format of output for the log file. (See docs for formats)

wrapper.logfile.format=LPTM

# Log Level for log file output. (See docs for log levels)

wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before

# the log is rolled. Size is specified in bytes. The default value

# of 0, disables log rolling. May abbreviate with the 'k' (kb) or

# 'm' (mb) suffix. For example: 10m = 10 megabytes.

wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old

# files are deleted. The default value of 0 implies no limit.

wrapper.logfile.maxfiles=0

# Log Level for sys/event log output. (See docs for log levels)

wrapper.syslog.loglevel=NONE

#********************************************************************

# Wrapper General Properties

#********************************************************************

# Allow for the use of non-contiguous numbered properties

wrapper.ignore_sequence_gaps=TRUE

# Do not start if the pid file already exists.

wrapper.pidfile.strict=TRUE

# Title to use when running as a console

wrapper.console.title=CJ_MessagePro

#********************************************************************

# Wrapper JVM Checks

#********************************************************************

# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)

wrapper.check.deadlock=TRUE

wrapper.check.deadlock.interval=60

wrapper.check.deadlock.action=RESTART

wrapper.check.deadlock.output=FULL

# Out Of Memory detection.

# (Simple match)

wrapper.filter.trigger.1000=java.lang.OutOfMemoryError

# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)

#wrapper.filter.trigger.1000=Exception in thread "*" java.lang.OutOfMemoryError

#wrapper.filter.allow_wildcards.1000=TRUE

wrapper.filter.action.1000=RESTART

wrapper.filter.message.1000=The JVM has run out of memory.

#********************************************************************

# Wrapper Email Notifications. (Requires Professional Edition)

#********************************************************************

# Common Event Email settings.

#wrapper.event.default.email.debug=TRUE

#wrapper.event.default.email.smtp.host=

#wrapper.event.default.email.smtp.port=25

#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification

#wrapper.event.default.email.sender=

#wrapper.event.default.email.recipient=

# Configure the log attached to event emails.

#wrapper.event.default.email.attach_log=TRUE

#wrapper.event.default.email.maillog.lines=50

#wrapper.event.default.email.maillog.format=LPTM

#wrapper.event.default.email.maillog.loglevel=INFO

# Enable specific event emails.

#wrapper.event.wrapper_start.email=TRUE

#wrapper.event.jvm_prelaunch.email=TRUE

#wrapper.event.jvm_start.email=TRUE

#wrapper.event.jvm_started.email=TRUE

#wrapper.event.jvm_deadlock.email=TRUE

#wrapper.event.jvm_stop.email=TRUE

#wrapper.event.jvm_stopped.email=TRUE

#wrapper.event.jvm_restart.email=TRUE

#wrapper.event.jvm_failed_invocation.email=TRUE

#wrapper.event.jvm_max_failed_invocations.email=TRUE

#wrapper.event.jvm_kill.email=TRUE

#wrapper.event.jvm_killed.email=TRUE

#wrapper.event.jvm_unexpected_exit.email=TRUE

#wrapper.event.wrapper_stop.email=TRUE

# Specify custom mail content

wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n

#********************************************************************

# Wrapper Windows NT/2000/XP Service Properties

#********************************************************************

# WARNING - Do not modify any of these properties when an application

# using this configuration file has been installed as a service.

# Please uninstall the service before modifying this section. The

# service can then be reinstalled.

# Name of the service

wrapper.name=CJ_MessagePro

# Display name of the service

wrapper.displayname=CJ_MessagePro

# Description of the service

wrapper.description=CJ_MessagePro

# Service dependencies. Add dependencies as needed starting from 1

wrapper.ntservice.dependency.1=

# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START

wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.

wrapper.ntservice.interactive=false

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/weixin_33816734/article/details/114842723

智能推荐

目前记录♡最详细的一篇记录学习笔记 ---Python爬虫(18) selenium自动化安装和使用_selenium.webdriver import chrome0ptions-程序员宅基地

文章浏览阅读525次。selenium自动化介绍Selenium是一个Web的自动化测试工具,最初是为网站自动化测试而开发的,Selenium 可以直接运行在浏览器上,它支持所有主流的浏览器(包括PhantomJS这些无界面的浏览器),可以接收指令,让浏览器自动加载页面,获取需要的数据,甚至页面截屏.主讲chromeChromedriver的介绍 # 主讲这个WebDriver是一个用来进行复杂重复的web自动化测试的工具,可以理解它是谷歌的浏览器的驱动或者插件,自动化selenium提供调用该..._selenium.webdriver import chrome0ptions

替换JSONObject的key值_jsonobject替换某个key的值-程序员宅基地

文章浏览阅读4.1k次。将JSONObject的key转换成目标值//调用,formData是被替换的json,map是要替换的key值(原理:重组json)//jsonObj = changeJsonObj(jsonObject, hashedMap); public static JSONObject changeJsonObj(JSONObject jsonObj, Map<String, String> keyMap) { JSONObject json = new JSONObj_jsonobject替换某个key的值

基于微信小程序的在线商城设计(后台PHP)_微信小程序商城后端用那个cms-程序员宅基地

文章浏览阅读3.7k次,点赞2次,收藏47次。用户可以在线下扫一扫或者公众号关联小程序码获取小程序应用,或者可以在微信的发现页面搜索小程序,由于小程序的整个文件占用内存空间很小,用户下载安装小程序的过程消耗几乎感知不到,所以从用户获取小程序到点击进入开始使用小程序应用的速度非常快。MINA 框架是微信团队为小程序开发提供的框架名字,MINA 框架通过封装微信客户端提供的文件系统、网络通信、任务管理、数据安全等基础功能,由此对上层提供一整套 JavaScript API,让开发者能够非常方便地使用微信客户端提供的各种基础功能与能力,快速构建一个应用。_微信小程序商城后端用那个cms

Mendix基于SonarQube的代码扫描_mend io 扫描前端项目-程序员宅基地

文章浏览阅读415次。在整个产品的Devops环节中,代码扫描是比较关键的一个环节,常见的工具有findbugs 、pmd、SonarQube等。SonarQube是一个代码质量管理的开源平台,用于检测代码中的错误、漏洞并确保代码规范。它可以与现有的工作流集成,以实现跨项目和拉取请求分支的代码检查,并支持Java、Python、PHP、JavaScript、CSS等25种以上的语言。SonarQube能够集成在IDE、Jenkins、Git等服务中,方便随时查看代码质量分析报告。SonarQube的核心价值有以下几点_mend io 扫描前端项目

显卡+cuda+cudnn+tensorflow安装教程_intel graphics 630能够装conda-程序员宅基地

文章浏览阅读1.5k次。文章目录1. 先修知识1.1 显卡1.2 显卡驱动1.3 Cuda1.4 Cudnn1.5 GPU1.6 **Nouveau**1.7 **GCC是GNU编译器套件**2. 检查本地配置3.NVIDIA显卡驱动安装3.1 官网下载run文件3.2 用指令查看版本3.3 删除旧的显卡驱动3.4 禁止自带的nouveau nvidia驱动3.5 修改bios设置3.6 安装驱动3.7 安装结束后重启电脑,再查看是否安装成功3.8 重新打开桌面3.9 或使用PPA仓库自动化安装**4. 安装CUDA****_intel graphics 630能够装conda

Spring源码之@Import注解解析_@import spring 问题-程序员宅基地

文章浏览阅读376次。Spring中@Import注解以及源码对@Import的解析_@import spring 问题

随便推点

〖Python 数据库开发实战 - MongoDB篇①〗- MongoDB数据库简介_〖python 数据库开发实战 - mongodb篇 〗- mongodb数据的导入导出-程序员宅基地

文章浏览阅读3.6w次,点赞24次,收藏15次。接下来的一段时间我们将要学习一下 MongoDB 数据库的内容,首先要了解 MongoDB 数据库的背景知识,比如与其他 NoSQL数据库 的区别。接下来就是安装 MongoDB 数据库 与 Robot3T 客户端 ,这样就可以操作 MongoDB 了。需要注意的是 MongoDB 数据库并没有提供类似 Redis 那样的指令,也没有 MySQL 那样的 SQL 语法,操作 MongoDB 的是 JavaScript 的代码,利用 JavaScript 语句操作 MongoDB 数据库。还有一点就是,_〖python 数据库开发实战 - mongodb篇 〗- mongodb数据的导入导出

[Vuejs+php] MySQL数据转JSON传值到前端-程序员宅基地

文章浏览阅读224次。说在前面JSON(JavaScript Object Notation) 是一种轻量级的数据交换格式。优点如下[转]:1.占带宽小(格式是压缩的)2.js通过eval()进行Json读取(便于客户端读取)3. JSON支持多种语言(c、c++、PHP等),便于服务端解析关键代码json_encode( $arr )  <文档传送门>ajax   ..._vue sql语句转json

GPS开发、定位修改_virtualposition-程序员宅基地

文章浏览阅读7.4k次。GPS开发、定位修改修改于AOSPandroid7.1.1_r1NMF26Fopenjdk8.0Mint-linuxnexus5x原作者:https://blog.csdn.net/aggresss/article/details/54323034指出文中错误(自己编译时候遇到的)并修正固件共享出来是不可能的,谁知道我的固件里有没有后门,还是用源码自己编译的比较放心新鲜的源码..._virtualposition

Ionic 创建自定义模块(module)_ionicmodule-程序员宅基地

文章浏览阅读903次。在Angular中组件和组件之间可以实现通信,而在 Ionic中每个page是一个模块,而模块里面的组件和其他 page 模块中的组件是无法直接通信的,此时就可以使用自定义模块间接的实现模块之间的通信,类似ng中的模块配置过程,把需要把 page(模块module)暴露出来给其他外部page(模块module)使用,实现步骤如【ionic自定义模块】所示。..._ionicmodule

Java从入门到入坟_Day01_java 从入门到入坟-程序员宅基地

文章浏览阅读263次。个人Java学习请求 —— 协议—— ip—— 端口号—— 资源路径端口号:运行时端口号才回被占用,未运行时端口号可以被其他使用是约束浏览器和服务的请求与响应,是特定数据交互格式,是一个超文本传输协议。作用:写一个美观的呈现程序且能交互的页面,html:书写静态的页面css:美化页面js:让页面能进行交互作用:给前端提供数据的,Java编程:让计算机帮人做事情程序:计算机能识别的是二进制,开发者不能使用二进制开发,使用字母,汉字,标点符号组成的高级语言进行编写虚拟机:Jvm将编写好的代码转换为计算机能看懂的_java 从入门到入坟

React生命周期详解-程序员宅基地

文章浏览阅读1.1w次,点赞3次,收藏31次。整理了一套《前端大厂面试宝典》,包含了HTML、CSS、JavaScript、HTTP、TCP协议、浏览器、VUE、React、数据结构和算法,一共201道面试题,并对每个问题作出了回答和解析_react生命周期