Closed AndrewIrelandNRC closed 2 years ago
I have confirmed this issue on my GFE laptop as well. Exactly the same error is issued when I tried to run the Sample/TRACE/StandPipe.med "parametric" stream.
I did a search for the string "ALL-UNNAMED" in the snap install directory and only hit I got was for "launch.cfg", excerpt is:
[STREAM MANAGER] MAINCLASS=com.cafean.jobstream.server.StreamManager CLASSPATH="C:\Users\CGG\snap\lib\cafean.jar;C:\Users\CGG\snap\lib\eci_library.jar;C:\Users\CGG\snap\lib\job_stream.jar;C:\Users\CGG\snap\lib\jython.jar;C:\Users\CGG\snap\lib\py4j.jar;" JVM_ARGS=-DCAFEAN_HOME=file:/C:/Users/CGG/snap/ -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.module.illegalAccess=deny --add-opens java.base/java.util=ALL-UNNAMED APP_ARGS= CONSOLE=T
Note that I can submit the same job on the RESGC environment (under linux ) and it works fine. The "launch.cfg" section for the Stream manager also has the "ALL-UNNAMED" option...
Ok - found the solution: Add a "=" between the -add-opens and its argument in the launch.cfg file - that is:
change: --add-opens java.base/java.util=ALL-UNNAMED
to: --add-opens=java.base/java.util=ALL-UNNAMED
This issue is corrected in the SNAP 3.1.8 release.
I upgraded SNAP to 3.1.7 and I’m now unable to run job streams on my NRC laptop (I can submit and it shows “Complete” in the job status window). I get the attached error message in .streamscreen related to the Java VM.
JVMJ9VM007E Command-line option unrecognised: java.base/java.util=ALL-UNNAMED
I uninstalled and reinstalled SNAP to no effect.