David, I have wrapper.conf attached in this conversation. If you go top. We are using JDK 11 with YAJSW 12.14 We used the standard batch files for creating the service that are available under YAJSW One additional thing we have done is we ran the command prompt as administrator and launched amazon msi installer from the command prompt. Please let me know if you need any additional details or information. Thanks
Thanks After debugging the detailed logs I figured out the issue. Oracle JDK once installed copies a Java executable System 32 from which the wrapper by default is picking up. For Amazon JDK its not creating the instance in System 32 so I had to specify the whole path in conf or copy the executable in the System 32 for it to work. Thanks
Hi, I have added wrapper.console.pipestreams = true and maybe wrapper.debug=true and with additional logging I am seeing java.lang.ClassNotFoundException. This worked with JDK 8 without any issues?
I tried with JDK 11. The service starts and stops immediately Does not show any error. All I get on the console is YAJSW version OS Version JVM version and wrapper| start delay: 0. Any idea what could be stoppping the service
Thanks for the update. I will test with the same configuration on JDK 11. Thanks
JVM version is Corretto-16.0.0.36.1 OS Windows server 2021 -error message Java.lang.reflect.InvocationTargetExcpetion
We are moving from Oracle Java to Amazon Corretto and not able to create a service successfully. Can some one provide the setup if they have YAJSW working with Amazon Corretto.
Hi, The service is starting and stopping immediately. To support the move from Oracle to Amazon we added "--add-opens". the service starts but stops immediately. Can some one provide a configuration file that works with amazon Corretto. Thanks