Questions tagged [yajsw]

Yet Another Java Service Wrapper (YAJSW) is an LGPL licensed Java-centric implementation of the Java Service Wrapper by tanuki (JSW). It is a wrapper framework which wraps any native executable, Java process or groovy script and runs it as Windows service or Linux daemon.

Yet Another Java Service Wrapper (YAJSW) is an LGPL licensed Java-centric implementation of the Java Service Wrapper by tanuki (JSW). It is a wrapper framework which wraps any native executable, Java process or groovy script and runs it as Windows service or Linux daemon.

51 questions
8
votes
2 answers

Simple and flexible method to run java as a windows service

I read SO q&a about launch java as windows service wrappers, but can't find/choose product, suitable for my requirements : Wrapper reads all java launch parameters from config file. In registry must be only commands to run wrapper itself - path to…
cynepnaxa
  • 1,024
  • 1
  • 14
  • 30
4
votes
2 answers

include yajsw in maven build

My project uses YAJSW wrapper. When i build project, i simple copy jars, required by YAJSW into assembly. So YAJSW's jars simple commited into my svn. I don't like this because my project hold 25 MB of space and 20 MB of that is YAJSW's libs. I want…
cynepnaxa
  • 1,024
  • 1
  • 14
  • 30
4
votes
0 answers

Maven appassembler-maven-plugin and Tanuki JSW using a version later than 3.2.3

I am using the Tanuki wrapper with the appassembler-maven-plugin and by default it seems to be using Tanuki 3.2.3 I want to use a later version of Tanuki but I can't see how to do it. There are some discussions that the appassembler-maven-plugin…
Shawn Vader
  • 12,285
  • 11
  • 52
  • 61
3
votes
3 answers

Java wrapper as daemon

I am using this YAJSW to run Java Daemon on my Centos 5.5 machines. The think it runs well but out of suddent I notice I get this sort of error and then it just goes down. Any help what must I do to avoid this sort of problem? Can I use some…
user837306
  • 857
  • 3
  • 18
  • 32
3
votes
2 answers

YAJSW Java beginner examples

Can anyone help me in either providing me some right direction towards using yajsw using java language to use java application as service or just provide me some basic code of hello world application which i can run as service. I googled it but…
Wearybands
  • 2,438
  • 8
  • 34
  • 53
2
votes
2 answers

YAJSW remote debug the application

I have started java app with YAJSW but not able to remote debug , Have tried passing paramters in wrapper.app.additional as well as parameter but still not working when I pass from setenv then YAJSW starts in debug mode but not my applicaiton…
gladiator
  • 1,249
  • 8
  • 23
2
votes
1 answer

Inconsistent behaviour with paths in YASJW batch scripts

Our company wants to easily install our Java Server application as a windows service, therefore we are using YAJSW to wrap the application. To make it a little more convenient I have created some small batch scripts that just require a click to…
Marcel
  • 1,509
  • 1
  • 17
  • 39
2
votes
2 answers

Start WSO2 Enterprise Integrator as a service in windows not work

I followed the instructions in Installing EI as Windows service, but I am unable to start the service. Below the output of runConsole.bat of YAJSW (both with yajsw-stable-11.11 and with…
Marco S.
  • 512
  • 2
  • 6
  • 22
2
votes
1 answer

Getting WSO2 IOT Server running as a Windows Service

I have installed WSO2 IOT Server on Server 2012R2. I installed YAJSW wrapper and configured it per WSO2 instructions. When I fire off runConsole.bat to configure the Windows service, I get the following error. I have JAVA_HOME & CARBON_HOME set. It…
2
votes
0 answers

Launching a Java application from within a YAJSWrapped Java Application

I've searched for an answer and didn't find it, so I hope someone could help. I'd like to wrap with YAJSW a Java Application (the "Starter") that periodically starts and stops a second Java Application (the "Bipper") using the YAJSW functions. As…
2
votes
1 answer

yajsw play framewok ssl error

I am using yajsw to deploy a play framework application on a windows machine as a windows service. I am using these steps to install service. There is no problem with this method and working perfectly. However when I try to add a jks ssl file I get…
kml_ckr
  • 2,211
  • 3
  • 22
  • 35
2
votes
1 answer

Using JRE_HOME in YAJSW windows service

I am evaluating the YAJSW for the following use cases for windows. Run Java Application as service Run the service using java specified in JRE_HOME path variable(%JRE_HOME%\bin\java.exe). The second use case is very important and it allows 2…
2
votes
0 answers

Running play Framework app as a service with YAJSW

I'm trying to run a play framework app as a service with the YAJSW service wrapper as descriped here. Every thing works fine until I start the service over "startService.bat". There is no problem if I run the "runConsole.bat". It also doesn't start…
GiCo
  • 566
  • 4
  • 19
2
votes
2 answers

Distributing a YAJSW Application with PID?

I am reading through the YAJSW tutorial here: http://yajsw.sourceforge.net/#mozTocId768274 From what I understand, I need to create a wrapper.conf configuration file for wrapping my Java application. But in order to create wrapper.conf, I need to…
JDJ
  • 4,298
  • 3
  • 25
  • 44
2
votes
3 answers

YAJSW window service did not start

I have one Java application and I want that it should run as window services. I have chosen YAJSW for this. I have run its GetConfig.bat with my Java process ID and it has generated it config file. I have placed the User name and password in the…
Malik Ehtasham
  • 343
  • 2
  • 11
  • 25
1
2 3 4