Menu

#140 Windows Java 9 won't Run via YAJSW

All
closed-fixed
nobody
None
5
2018-02-11
2017-10-11
spinkb
No

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...

Discussion

  • rzo

    rzo - 2017-10-12

    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

     
  • rzo

    rzo - 2017-10-12
    • status: open --> open-accepted
     
  • Anton Tananaev

    Anton Tananaev - 2017-10-27

    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?

     
  • rzo

    rzo - 2017-10-29

    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

     
  • Anton Tananaev

    Anton Tananaev - 2017-11-24

    Sorry for delay. I just got my hands on a Windows machine, but link above doesn't work.

     
  • Anton Tananaev

    Anton Tananaev - 2017-12-04

    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.

     
  • rzo

    rzo - 2017-12-04

    hello,

    please set the path to java in bat/setenv.bat.

    -- Ron

     
  • Anton Tananaev

    Anton Tananaev - 2017-12-05

    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.

     
  • Robert Smithton

    Robert Smithton - 2018-01-03

    Hello. The dropbox paths don't seem to be working for me. Could you post another link to the 12.12 download please? Thanks!

     
  • Jim S.

    Jim S. - 2018-01-10

    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!

     
  • Eric Voisard

    Eric Voisard - 2018-02-01

    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

     
  • rzo

    rzo - 2018-02-11
    • status: open-accepted --> closed-fixed
     
  • rzo

    rzo - 2018-02-11

    resolved release 12.12

     

Log in to post a comment.

MongoDB Logo MongoDB