The current opennms-pris.bat script incorrectly references the classpath. This prevents the examples working on windows. Pris appears to start correctly but when requisition is called in browser it gives Error 500 unknown source implementation: xls. This appeared to be a duplicate of [PRIS-84] but was in fact caused by an incorrect opennms-pris.bat script
Recommended fix:
The line: java %* -cp "%~dp0lib*";"%~dp0opennms-pris.jar" org.opennms.pris.Starter
should have a \ after lib like so java %* -cp "%~dp0lib*";"%~dp0opennms-pris.jar" org.opennms.pris.Starter
Environment
Windows 10
java 8
Lucidchart Diagrams
Activity
Show:
Ronny Trommer May 17, 2017 at 6:21 AM
PR merged
Ronny Trommer May 3, 2017 at 3:55 AM
Edited
Hi Craig, thanks - I've created a PR in https://github.com/OpenNMS/opennms-provisioning-integration-server/pull/23 can you please verify if the command is correct. The reason is, the faulty line is exactly the same as the line who should solve the problem. Just to make sure I understood correctly where the "\" needs to go to.
Just FYI: The backslash is the escaping character in JIRA, to prevent JIRA from escaping special characters you can encapsulate the lines with
The current opennms-pris.bat script incorrectly references the classpath. This prevents the examples working on windows. Pris appears to start correctly but when requisition is called in browser it gives Error 500 unknown source implementation: xls. This appeared to be a duplicate of [PRIS-84] but was in fact caused by an incorrect opennms-pris.bat script
Recommended fix:
The line:
java %* -cp "%~dp0lib*";"%~dp0opennms-pris.jar" org.opennms.pris.Starter
should have a \ after lib like so
java %* -cp "%~dp0lib*";"%~dp0opennms-pris.jar" org.opennms.pris.Starter