Aquileo | Recent changes to feature-requestshttps://sourceforge.net/p/yajsw/feature-requests/Recent changes to feature-requestsenFri, 17 Oct 2025 23:41:14 -0000Aquileo | #34 Crashes on JDK 25https://sourceforge.net/p/yajsw/feature-requests/34/?limit=25#60c3<div class="markdown_content"><p>Thanks to your indication to use runConsole.bat, I was able to get to the root of it: an removed java command line option (-Xnoagent) was crashing the jvm startup. However, this unrooted a bug: the Java startup error was displayed and written to service.log with runConsole.bat, but it is not displayed or written to service.log using service mode.</p>
<p>service mode:</p>
<p>WARNING|wrapper|Service Test Project|25-10-17 18:23:44|YAJSW: yajsw-stable-13.18<br/>
WARNING|wrapper|Service Test Project|25-10-17 18:23:44|OS : Windows Server 2022/10.0/amd64<br/>
WARNING|wrapper|Service Test Project|25-10-17 18:23:44|JVM : Azul Systems, Inc./25/C:\Program Files (x86)\Test\System\Java/64<br/>
INFO|wrapper|Service Test Project|25-10-17 18:23:44|start delay: 0<br/>
INFO|wrapper|Service Test Project|25-10-17 18:23:44|started process with pid 7600<br/>
INFO|wrapper|Service Test Project|25-10-17 18:23:44|restart internal RUNNING controller killed restart handler<br/>
INFO|wrapper|Service Test Project|25-10-17 18:23:44|stopping process with pid/timeout 7600 45000<br/>
INFO|wrapper|Service Test Project|25-10-17 18:23:45|process exit code: 1</p>
<p>console mode:</p>
<p>WARNING|wrapper|Test Project|25-10-17 18:28:30|YAJSW: yajsw-stable-13.18<br/>
WARNING|wrapper|Test Project|25-10-17 18:28:30|OS : Windows Server 2022/10.0/amd64<br/>
WARNING|wrapper|Test Project|25-10-17 18:28:30|JVM : Azul Systems, Inc./25/c:\Program Files (x86)\Test\System\Java/64<br/>
INFO|wrapper|Test Project|25-10-17 18:28:30|started process with pid 1448<br/>
<strong>INFO|1448/0|Test Project|25-10-17 18:28:30|Unrecognized option: -Xnoagent<br/>
INFO|1448/0|Test Project|25-10-17 18:28:30|Error: Could not create the Java Virtual Machine.<br/>
INFO|1448/0|Test Project|25-10-17 18:28:30|Error: A fatal exception has occurred. Program will exit.</strong><br/>
*INFO|wrapper|Test Project|25-10-17 18:28:30|restart internal RUNNING controller killed restart handler<br/>
INFO|wrapper|Test Project|25-10-17 18:28:30|stopping process with pid/timeout 1448 45000<br/>
INFO|wrapper|Test Project|25-10-17 18:28:31|process exit code: 1</p>
<p>messages only present in console mode, could use a stdout redirect:</p>
<p>WARNING: A terminally deprecated method in sun.misc.Unsafe has been called<br/>
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.nqzero.permit.Permit (file:/C:/ProgramData/Test/a6215ffe/Yajsw/./lib/core/permit/permit-reflect-0.4.jar)<br/>
WARNING: Please consider reporting this to the maintainers of class com.nqzero.permit.Permit<br/>
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release<br/>
YAJSW: yajsw-stable-13.18<br/>
OS : Windows Server 2022/10.0/amd64<br/>
JVM : Azul Systems, Inc./25/c:\Program Files (x86)\Test\System\Java/64<br/>
WARNING: A restricted method in java.lang.System has been called<br/>
WARNING: java.lang.System::load has been called by com.sun.jna.Native in an unnamed module (file:/C:/ProgramData/Test/a6215ffe/Yajsw/wrapper.jar)<br/>
WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module<br/>
WARNING: Restricted methods will be blocked in a future release unless native access is enabled<br/>
wrapper.logfile.umask -1<br/>
initOutputFiles: -1<br/>
open umask -1</p>
<p>Thanks for all your help!<br/>
P.S. Any release date for v14?</p></div>RaresFri, 17 Oct 2025 23:41:14 -0000https://sourceforge.netdde728f322210f85a6153c3af134a2a4ceeb348eAquileo | #34 Crashes on JDK 25https://sourceforge.net/p/yajsw/feature-requests/34/?limit=25#d033<div class="markdown_content"><p>Q:<br/>
1. are you sure your app can run with the OS and JDK 25 without the wrapper ?<br/>
2. before running as service, did you try runConsole.bat ?</p>
<p>pls run using runConsole and with pipestreams and wrapper.debug and post the output of the windows console.</p></div>rzoFri, 17 Oct 2025 09:23:01 -0000https://sourceforge.nete8fdc324ff105d82e1953507a63d3c602b177d3aAquileo | #34 Crashes on JDK 25https://sourceforge.net/p/yajsw/feature-requests/34/?limit=25#937b<div class="markdown_content"><p>Hello,<br/>
I appreciate your answer.<br/>
1. The solution described in <a href="https://sourceforge.net/p/yajsw/discussion/810310/thread/d90b30628c/#919a">https://sourceforge.net/p/yajsw/discussion/810310/thread/d90b30628c/#919a</a> is not sufficient.<br/>
I got past the groovy problem by renaming the groovy folders and disabled the script, but the wrapped process stopped as soon as it started:</p>
<p>WARNING|wrapper|Service Test Project|25-10-16 10:54:37|YAJSW: yajsw-stable-13.18<br/>
WARNING|wrapper|Service Test Project|25-10-16 10:54:37|OS : Windows Server 2022/10.0/amd64<br/>
WARNING|wrapper|Service Test Project|25-10-16 10:54:37|JVM : Azul Systems, Inc./25/C:\Program Files (x86)\Test\System\Java/64<br/>
INFO|wrapper|Service Test Project|25-10-16 10:54:37|start delay: 0<br/>
INFO|wrapper|Service Test Project|25-10-16 10:54:38|started process with pid 6372<br/>
INFO|wrapper|Service Test Project|25-10-16 10:54:38|restart internal RUNNING controller killed restart handler<br/>
INFO|wrapper|Service Test Project|25-10-16 10:54:38|stopping process with pid/timeout 6372 45000<br/>
INFO|wrapper|Service Test Project|25-10-16 10:54:38|process exit code: 1</p>
<p>This is with wrapper.console.pipestreams = true<br/>
Please let me know if you need other logs.</p>
<ol>
<li>By roadmap I mean the scheduled Expected Time of Arrival for version 14.0</li>
</ol></div>RaresThu, 16 Oct 2025 16:01:02 -0000https://sourceforge.nete1d36c5fc10d26c0165498540a318ae91c3de8b5Aquileo | #34 Crashes on JDK 25https://sourceforge.net/p/yajsw/feature-requests/34/?limit=25#f88f<div class="markdown_content"><p>pls check this out:<br/>
<a href="https://sourceforge.net/p/yajsw/discussion/810310/thread/d90b30628c/#919a">https://sourceforge.net/p/yajsw/discussion/810310/thread/d90b30628c/#919a</a></p>
<p>for the roadmap pls check the readme.txt.</p></div>rzoThu, 16 Oct 2025 07:49:42 -0000https://sourceforge.nete91968e30e8d6b64c8e558452abf5a6bcd8ad29aAquileo | Crashes on JDK 25https://sourceforge.net/p/yajsw/feature-requests/34/<div class="markdown_content"><p>Hi folks,<br/>
What's the roadmap to support JDK25?<br/>
1. Core YAJSW fails without any log messages, the child process just exits.<br/>
2. Groovy scripts fail with the message "Unsupported class file format 69".</p></div>RaresFri, 10 Oct 2025 17:29:22 -0000https://sourceforge.netd79918d82c6042b57f12640aedf87bb9fc88e8c1Aquileo | #33 Support PowerShell as a script typehttps://sourceforge.net/p/yajsw/feature-requests/33/?limit=25#b7c9/66bc<div class="markdown_content"><p>Yes, and that's what I'm doing now. But it would be nice to cut out the middleman.</p></div>Rich DiCroceThu, 20 Jul 2023 11:00:28 -0000https://sourceforge.net3f07470b611476022551a15fe0819e2d23e98f16Aquileo | #33 Support PowerShell as a script typehttps://sourceforge.net/p/yajsw/feature-requests/33/?limit=25#b7c9<div class="markdown_content"><p>powershell can be easily run from a batch file.<br/>
see for example:</p>
<p><a href="https://stackoverflow.com/questions/19335004/how-to-run-a-powershell-script-from-a-batch-file" rel="nofollow">https://stackoverflow.com/questions/19335004/how-to-run-a-powershell-script-from-a-batch-file</a></p></div>rzoThu, 20 Jul 2023 05:27:05 -0000https://sourceforge.netb5bc3365d780970d158d2b01e2f9cb2d8461c084Aquileo | Support PowerShell as a script typehttps://sourceforge.net/p/yajsw/feature-requests/33/<div class="markdown_content"><p>YAJSW currently supports Groovy scripts, .bat scripts (on Windows) and .sh scripts (on Linux). It would be nice if it also supported PowerShell (.ps1) scripts.</p>
<p>Note that PowerShell has two different executables, which can co-exist:</p>
<ul>
<li>powershell.exe, which is PS <= 5 and is Windows only.</li>
<li>pwsh.exe, which is PS >= 6 and is cross-platform.</li>
</ul>
<p>So it would be nice if YAJSW tried pwsh first and fell back to powershell.</p></div>Rich DiCroceWed, 19 Jul 2023 13:27:33 -0000https://sourceforge.netee1c2883160260ec06a06da9c15fba2fb4ffc51bAquileo | #32 Support for setting wrapper log file permissions https://sourceforge.net/p/yajsw/feature-requests/32/?limit=25#fda2<div class="markdown_content"><p>I used the latest 13.03, <code>wrapper.logfile.umask</code> is working as expected. <br/>
Thank you <a class="user-mention" href="/u/rzo/">@rzo</a> </p></div>Arushi RaiMon, 07 Mar 2022 19:46:26 -0000https://sourceforge.neta26ac407e7d10c0e4794e840ba49e41f37f94b0cAquileo | #32 Support for setting wrapper log file permissions https://sourceforge.net/p/yajsw/feature-requests/32/?limit=25#000d/d6ce<div class="markdown_content"><div class="codehilite"><pre><span></span><span class="n">Thank</span><span class="w"> </span><span class="n">you</span><span class="w"> </span><span class="nv">@rzo</span><span class="w"></span>
</pre></div>
</div>Arushi RaiTue, 09 Nov 2021 03:34:35 -0000https://sourceforge.netbc1d63cfa98e2ac12c5d7dcff81b711a981b3b3b