The Java Service Wrapper enables a Java Application to be run as a Windows Service or Unix Daemon.
Questions tagged [java-service-wrapper]
109 questions
9
votes
0 answers
Memory Issues with Java 11 after migrating from Java 8
everyone,
some weeks ago we changed our background application from Oracle Java 8 to the Adopt JDK 11 (Hotspot).
We didn't notice anything in the first weeks and months, but now an update from our data center is pending. In the test system we…

Hauke
- 1,405
- 5
- 23
- 44
8
votes
4 answers
Java appears hung
I've been using the Java Service wrapper in a custom application for quite a while and it's been working fine. Since updating our application to a new version in the last few days the JVM started hanging and then wrapper prints this in the log:
JVM…

Sarel Botha
- 12,419
- 7
- 54
- 59
7
votes
2 answers
Java service is restarted 4 or 5 times
I am running a Java service to poll data from database.
In my class, I have a thread, which looks for data in db every 5 seconds...
At particular time(say like 6 PM when out of business hours), i make my thread to sleep to some configured time…

Vignesh
- 263
- 2
- 4
- 14
7
votes
3 answers
What does it mean if JVM is suspended?
When my application run . I got a message says :
Ping: Timed out waiting for signal from JVM.
The JVM was launched with debug options so this may be because the JVM
is currently suspended by a debugger. Any future timeouts during this
JVM…

Joe.wang
- 11,537
- 25
- 103
- 180
6
votes
1 answer
How does the java-service-wrapper decide whether to use the 32 or 64 bit VM?
We're using a vendor licensed copy of the Tanuki Java Service Wrapper to start their platform. It ships with wrappers for every O/S flavour and architecture and the recommended profile is a 64 bit VM with a 3 gig heap.
We're using 64 bit Redhat, but…

Caoilte
- 2,381
- 1
- 21
- 27
6
votes
1 answer
JVisualVM is unable to connect to process using the --openpid argument
I have an application that is running as a win-service (using Apache-Procrun). I want to monitor that application with JVisualVM. I've used the commandline argument --openpid without success, ironically the old JConsole managed to connect to…

Chriss
- 5,157
- 7
- 41
- 75
5
votes
2 answers
How can I optimize the memory usage of JVM?
I would like to ask if anyone here knows a way how to optimize the memory usage of the JVM?
We are using a java service wrapper (YAJSW) that invokes the JVM and the physical memory usage is around 40MB. I want to lessen this to let's say 5-10MB. How…

fleur
- 115
- 1
- 12
5
votes
1 answer
Wrapping Spring Boot application with Tanuki Service Wrapper
How to wrap Spring Boot application as a linux daemon and to set it to read from application.properties.
To start the jar with the parameters from the application.properties I am using this command:
java…

xmlParser
- 1,903
- 4
- 19
- 48
5
votes
3 answers
Java service wrapper and additional application command line parameters
I'm currently using java service wrapper to wrap a java application that I've developed. I'm needing to ability to pass in additional command line parameters to my application through the java service wrapper.
Pretend my app is called myapp and…

Jake
- 51
- 2
5
votes
2 answers
JavaExe and Java application as windows system service interactive to desktop
Request:
This is a very common problem faced by Java devs in my locale. I am really stuck for many days on this. Searched and tried a lot, read the docs. read ALL the stackoverflow questions related to JavaExe. Please only reply if you have done…

Masood Ahmad
- 731
- 4
- 15
- 38
5
votes
1 answer
Java Service Wrapper on Raspberry PI
I'm trying the use the Tanuki Java Service Wrapper.
The hardware I'm using is a Raspberry Pi with the Raspbian wheezy distribution.
(see http://www.raspberrypi.org/downloads)
I've tried the Wrapper 32-bit armel release, but get problems with reading…

Rob Daems
- 109
- 1
- 7
4
votes
1 answer
Problems using java service wrapper with jboss 7
I'm trying to install Jboss 7.1.0-Final as a service using the Java service wrapper using this configuration (it is a draft conf so ignore the absolute paths):
# Java…

Tomer
- 17,787
- 15
- 78
- 137
4
votes
4 answers
JVM Error for Java Service Wrapper
This appears in a log file when I try to start a service I just installed as a windows service using the JSWrapper:
STATUS | wrapper | 2011/06/16 13:55:57 | Launching a JVM...
ERROR | wrapper | 2011/06/16 13:55:57 | JVM exited while loading the…

gFu
- 1,579
- 2
- 11
- 12
4
votes
1 answer
Java Server Wrapper (tanuki) - Startup failed: Timed out waiting for a signal from the JVM
I'm trying to set up an own application with the Tanuki Java Service Wrapper.
The setup and configuration worked fine but after starting my application via the wrapper (what also works) it gets shut down after a while because the wrapper "timed out…

das Keks
- 3,723
- 5
- 35
- 57
4
votes
7 answers
appassembler and long classpath
I am using maven appassembler to create my assembly. My classpath is too long and I get "The input line is too long." The suggestion here is to use booter windows platform, but I'm constrained to use Java Service Wrapper. Any way I can use java6…

Paul McKenzie
- 19,646
- 25
- 76
- 120