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
1
vote
1 answer

Inputstream is null, while loading a file from a file path in windows service

Im trying to read a file from a path. This is my sample code; String path = "repository"+ File.separator +"resources"+ File.separator +"api_templates"; String fileName = path + TEMPLATE_FILE_PREFIX + type + ".xml"; InputStream in =…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

Is there any way to run wso2am-analytics with yajsw-stable-12.14?

I am using wso2am-3.2.0 and then yajsw-stable-12.14 to use it as a windows service. But this error appears when I want to install wso2am-analytics with MSSQL DB. Please help me to solve this problem. Thank you in advance.
nahid afzali
  • 73
  • 1
  • 8
0
votes
0 answers

Installing OWASP ZAP as Service on Windows 10

I am Trying to install OWASP ZAP (2.9.0) to run as a service on one of our servers for the testing environment. I've been trying unsuccessfully to use YAJSW. I creates a service but promptly stops running and gives up after a few restarts. The…
0
votes
1 answer

remote-debug yajsw-wrapped application with JDK>=9

I'm trying to remote-debug a yajsw-wrapped application with JDK>=9. Timeout issues aside, tt works fine with below…
user2038596
  • 535
  • 1
  • 3
  • 14
0
votes
1 answer

Unable to run WSO2 EI & MI as window services?

I have tried to install wso2 EI 6.5.0 & 6.6.0 and also MI 1.0 & 1.1.0 product as Windows service. While checking runConsole.bat itself throwing bulk exception. If anyone faced same scenario means help me to get out from those exceptions. 6.6.0…
0
votes
1 answer

How to run a services as some user(other than root) using YAJSW?

I have a services running as root user, How to run this services as some user(other than root) using YAJSW on mac.
ritesh kumar
  • 81
  • 1
  • 7
0
votes
1 answer

I ain't able to create Windows Service in WSO2

I am really new in WSO2, and i having some little errors when trying to create a Windows Service in my console. Follow below: C:\Oxaguia spk\Trabalhos\Coach IT\Piramidal\Servers\yajsw-stable-12.09\bat>call setenv.bat "java" -Xmx30m…
FelipeF
  • 115
  • 10
0
votes
1 answer

svnkit without environment variables?

I use svnkit to download files from an SVN. When I run my program as a Windows service using YAJSW, the program is run as a System user, where APPDATA is set to some path in C:\Windows. svnkit is then unable to write to that directory. As I did not…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
1 answer

Yet Another Java Service Wrapper (YAJSW): Network drive not found

I use YAJSW on a Windows Server 2012. It has some network drives that are used by my Java program. Starting the java program from console shows no problems but starting it through YAJSW clearly shows that the drive "R:" does not exist. Is there any…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
1 answer

Play Framework with YAJSW : error during stall, the stub recieved bad data

I have a small play app which I'd like to offload to another computer and keep it running whenever the computer is on, whether or not anyone is logged in etc. I had believed the best to do this is as a windows service. How do I run a Play…
Simon
  • 323
  • 2
  • 15
0
votes
1 answer

Proxy doesn't work when running WSO2 as a Windows Service

I have a proxy which implements a VFS Transport. If I run carbon_home/wso2services.bat the proxy works. If I start wso2 as a windows service it doesn't but I am still able to access the Management Console. VFS seems not working. The file is not…
Victor Viola
  • 575
  • 1
  • 4
  • 14
0
votes
3 answers

How to set path of a config.ini file in a Runnable Jar?

i'm doing a program in java, that will be exported in a runnable JAR and executed in windows as service using YAJSW, i have to read a config.ini file that have important params for the execution, but i'm setting a fixed path: Path configFile =…
Igor Souza
  • 53
  • 2
  • 8
0
votes
0 answers

Timer prevents the application from being closed

I have a java function which is being called every x seconds in my program. i have wrapped my application with YAJSW. My question is: will the wrapper be able to stop the application even if the timer inside the programm is still running?! what is…
Leen Rihawi
  • 65
  • 2
  • 13
0
votes
1 answer

YAJSW - Startup script to clear .lck files

We use YAJSW (11.08) to wrap our java application as a service, but when switching to java 8, I noticed that if the application did not terminate gracefully, the .lck files generated by the logger, is not cleared. We are in the process of switching…
Ian2thedv
  • 2,691
  • 2
  • 26
  • 47
0
votes
1 answer

How do I run a cleanup script after a YAJSW wrapped Windows Service terminates?

I have an Java jar that I've wrapped up with YAJSW for running on Windows. The service installs, starts and ends beautifully. Unfortunately, the jar leaves behind some files that muck up clean restarts. Before YAJSW, these files were cleaned up by…
Green
  • 576
  • 7
  • 24