Describe the bug
I try to start canreg5 automatically with the registry_code parameter but it doesn't
To Reproduce
Steps to reproduce the behavior:
- Go to command line interface
- Execute "java -jar Canreg5.jar TRN"
- get this error
$ java -jar CanReg.jar TRN
Mar 17, 2025 1:10:08 PM canreg.server.CanRegServerImpl <init>
INFO: Java version: 1.8.0_442
Exception in thread "main" java.lang.IllegalStateException: Application is not launched.
at org.jdesktop.application.Application.checkApplicationLaunched(Application.java:692)
at org.jdesktop.application.Application.getInstance(Application.java:666)
at canreg.client.CanRegClientApp.getApplication(CanRegClientApp.java:359)
at canreg.common.Tools.getVariableListElements(Tools.java:215)
at canreg.server.management.SystemDescription.setSystemDescriptionXML(SystemDescription.java:97)
at canreg.server.management.SystemDescription.<init>(SystemDescription.java:64)
at canreg.server.CanRegServerImpl.initSystemDefinition(CanRegServerImpl.java:261)
at canreg.server.CanRegServerImpl.<init>(CanRegServerImpl.java:143)
at canreg.common.ServerLauncher.start(ServerLauncher.java:75)
at canreg.client.CanRegClientApp.main(CanRegClientApp.java:1572)
Expected behavior
The same behavior of starting the app and clicking in "Login to Canreg" and then clicking again in "Login". If I start CanReg interactively it works ok.
Desktop (please complete the following information):
- OS: RHEL 9
- Java 1.8.0_442
Additional context
I'm trying to configure CanReg5 as a headless server on Linux. Actually I'm using latest 5.00.44k version.
Describe the bug
I try to start canreg5 automatically with the registry_code parameter but it doesn't
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The same behavior of starting the app and clicking in "Login to Canreg" and then clicking again in "Login". If I start CanReg interactively it works ok.
Desktop (please complete the following information):
Additional context
I'm trying to configure CanReg5 as a headless server on Linux. Actually I'm using latest 5.00.44k version.