My system configuration:
CLASSPATH= /usr/share/java/mysql-connector-java-5.1.28.jar
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.8.0_111, vendor: Oracle Corporation
Ubuntu 16.04
MySQL 5.7 (I know that we shall use 5.6, but it is not compatible with my ubuntu version)
@domenico, any reason you have
“CLASSPATH= /usr/share/java/mysql-connector-java-5.1.28.jar”? Is it a system variable? OpenMRS comes with a bundled java connector so the custom path you have specified isn’t needed…
Yes, it is a system variable.
I noticed that you have the JDBC library in the SDK and in principle the classpath wouldn’t be needed,
but I had the problem show in the screenshot, thus I configured the system CLASSPATH.
@domenico, that’s strange. Are you still able to reproduce the issue? Could you please create an issue for the SDK project and paste the server logs you get in console?
Said that I’ll open an issue in Jira with the log, I’m attaching the log right now (Maybe you discover that is useless to open an issue)
openmrs.txt (12.8 KB)
@domenico, the attached logs do not show any error. Did you try opening http://localhost:8080/openmrs ? Please do that to log the error after startup, if it is still there…
Thanks @domenico. Server logs do not contain any errors, which is strange. Let’s continue investigation on the issue you reported. I asked you to attach 3 more files.