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
2
votes
2 answers

Cloned Virtual Machine, Java services will not start

In our software environment we have a number of VMs running Windows Server 2008 R2. On these servers we have Java 1.6 and use YAJSW for a couple of services. As part of our upgrade procedure we want to create clones on the virtual environments and…
Leon
  • 12,013
  • 5
  • 36
  • 59
1
vote
0 answers

Wrapper stopped successful message and wrapper service stopping status is not in sync

I'm using YAJSW version stable 12.15 to wrap a Java web application. I have both start and stop configuration files. Everything works fine but what I see when I launched stopmyservice.bat file to stop the service it shows "Service xyz stopped"…
1
vote
1 answer

Using YAJSW to run a jar as a windows service

I've been looking at different articles, examples for hours and have successfully completely confused myself. I am trying to use YAJSW as a service wrapper and install my Executable JAR file as a windows service. I used to use Tanukisoft's…
Beeker
  • 383
  • 4
  • 20
1
vote
2 answers

How to set default file permissions for Java

Question: I'm looking for a way to configure Java to create new files with a particular permission set by default. Problem: I have a Spring Boot app which uses the following: Log4J2 for logging H2 for flat file databases Ehcache for cached…
chaserb
  • 1,340
  • 1
  • 14
  • 25
1
vote
0 answers

Service startup issue in YAJSW

I am migrating script from jsw to yajsw.service installation works perfect.when i start service it shutdowns wrapper.I am using below command to start service. java -jar wrapper.jar -t cachenode-01/wrapper.conf Log file:- WARNING|wrapper|17-03-14…
jinal
  • 71
  • 1
  • 7
1
vote
2 answers

WSO2 as service on Windows

Need to install WSO2 API Manager as service on Windows (Have tried on Windows 7 and Windows Server 2012. The problem is the same). Documantation: https://docs.wso2.com/display/AM210/Installing+as+a+Windows+Service I am using yajsw. And when trying…
Maksym
  • 2,650
  • 3
  • 32
  • 50
1
vote
0 answers

WSO2 4.9.0 line break issues parsing JSON when running as a service (YAJSW)

Using WSO2 ESB (4.9) to feed our dot net app with JSON formatted API calls, I'm getting errors whenever line breaks are present in the source data, but only when running the ESB as a service (via YAJSW). The line breaks come from a database as…
dkrakena
  • 11
  • 1
1
vote
0 answers

Unableto load library 'c': The specified module could not be found

I am trying to run a java application as a windows service using yajsw-stable-11.11 wrapper. I am using below combination[1], but getting exception[2] while same wrapper.conf is working in another identical windows instance where I am using the same…
1
vote
0 answers

How to configure YAJSW for dependency on remote service

I am using YAJSW to create multiple services, where each one is a member of a cluster. When the services are on the same machine I am using the YAJSW configuration point wrapper.ntservice.dependency. to ensure the master always starts first and…
1
vote
1 answer

Carbon Bootstrap class not found when using YAJSW to start WSO2CEP as Windows service

We have been using YAJSW version beta-12.05 to install WSO2CEP as Windows service. It has worked once until we restarted the server and it has become failed to start up and reported error log as below. WARNING|wrapper|Service "WSO2 Carbon"|16-05-13…
Bruce
  • 647
  • 2
  • 12
  • 30
1
vote
0 answers

Copying transitive dependency in gradle

I am completely newbie to Gradle so please forgive me if my question is not correct. I am using the Distribution plugin to create a ZIP file of my project. I want to implement YAJSW Wrapper service in my project. In Maven, we can use Assembly Plugin…
Aksh
  • 57
  • 12
1
vote
1 answer

YAJSW is creating two java.exe processes

I'm currently using YAJSW to wrap a java application that I've developed. For some reason I see it is creating two java.exe processes (I see it in the windoes task manager : 1 : "C:\Program Files\Java\jdk1.7.0_72\bin\java.exe" "-classpath"…
user5157427
  • 241
  • 2
  • 7
  • 17
1
vote
0 answers

Running Powershell script from Java project wrapped as a service

I am wrapping two java programs as services using yajsw (yet another java service wrapper) in order to have them run indefinitely on separate servers. I got one of them to work exactly as I expected (the service is installed on a server, behaves…
Tim
  • 91
  • 3
  • 8
1
vote
3 answers

Any alternative of YAJSW to run jar as window service

I have followed exactly same steps as mentioned in their documentation. But, getting error when trying to start service. "Error 1053: Service did not respond to the start or control request in a timely fashion" Anyone help me to resolve this issue…
Ravi
  • 30,829
  • 42
  • 119
  • 173
1
vote
3 answers

Running Java program with custom directory structure as Windows service

I am using YAJSW to install (and uninstall) my program as Windows service (win 32 and win 64) with the following directory structure. How do I go about it ? apps - user works with this dir log - user works with this dir core - core of my program,…
cynepnaxa
  • 1,024
  • 1
  • 14
  • 30