Java 6 through 8 work fine. Removed java, installed Java 9. Can't launch app now via yajsw. java -jar app.jar works fine. App functions normally too.
java -jar wrapper.jar -c wrapper.conf this also fails. Same as windows service, just loops. Removing Java9 and going back to Java 8 all works fine.
INFO|wrapper|AppName Server|17-10-11 23:48:25|started process with pid 3860
INFO|wrapper|AppName Server|17-10-11 23:48:25|restart process due to default exit code rule
INFO|wrapper|AppNamer|17-10-11 23:48:25|restart internal RUNNING
INFO|wrapper|AppName|17-10-11 23:48:25|stopping process with pid/timeout 3860 45000
INFO|wrapper|AppName|17-10-11 23:48:26|process exit code: 1
INFO|wrapper|AppName|17-10-11 23:48:31|working dir C:\Users\Administrator\Downloads\archive\AppName
INFO|wrapper|AppName|17-10-11 23:48:31|started process with pid 4704
INFO|wrapper|AppName|17-10-11 23:48:31|restart process due to default exit code rule
INFO|wrapper|AppName|17-10-11 23:48:31|restart internal RUNNING
INFO|wrapper|AppName|17-10-11 23:48:31|stopping process with pid/timeout 4704 45000
I realize Java9 is only a few weeks old as far as public release, but this is a show stopper for yajsw.
I can't find any more debug info...
hello,
thanks for pointing this out.
pls provide the details: OS, JDK, YAJSW versions.
note that yajsw has not yet been tested with java 9. this will be done for the next release.
-- Ron
Any updates on this? We use YAJSW for our open source project and we have already received a few complaints about Java 9 issues. Any indication on when next YAJSW release (with Java 9 support) will be out?
hello,
I do not have the time to throughly test a new release. You can download a prelimnary dist from here:
https://www.dropbox.com/s/9pw5ir75zgxv06b/yajsw-stable-12.12.zip?dl=1
It seems to work with (build 9+181) on windows 10 64bit, both for the wrapper and the wrapped application.
Please let me know if this works for you and on what platforms you have tested.
PS: you may need to change the path to java in setenv.bat
-- Ron
Sorry for delay. I just got my hands on a Windows machine, but link above doesn't work.
sorry,
in the mean time i have created a new one:
https://www.dropbox.com/s/ezdjb352t7ch4g1/yajsw-stable-12.12.zip?dl=1
-- Ron
It doesn't work for me. I have JDK 9.0.1 installed. Wrapper tries to open "Program Files/Java/jdk-9/bin/java.exe", but the path should be "Program Files/Java/jdk-9.0.1/bin/java.exe". Tested on Windows 10.
hello,
please set the path to java in bat/setenv.bat.
-- Ron
Works after changing path. I'm assuming in release path will be determined automatically, right?
I have some other issues in my own code due to Java 9 modularity, but YAJSW 12.12 seems to work.
Hello. The dropbox paths don't seem to be working for me. Could you post another link to the 12.12 download please? Thanks!
We also rely on YAJSW and are anxious to upgrade our code base to Java 9. Unfortunately, this is a blocker for us. Do you have an idea of when version 12.12 will be released? Can you provide another dropbox link to a test version in the meantime?
Thank you!
Tried yajsw-stable-12.12 (from Dropbox) with Oracle's JDK 10 Early-Access Build (jdk-10-ea+41) on Windows 7/x64.
It works, no issue detected so far.
Keep up the good work, thanks!
Eric
resolved release 12.12