I've installed everything according to the technical manual on a fully updated Ubuntu 14.04 yet the web app log in /var/log/tomcat7/whatever still throws an exception claiming Major or minor version mismatch 52? I've confirmed the system and Tomcat are both using Oracle Java 1.8 latest and the compatible PostgreSQL JDBC driver. Is this a problem with the CMDBuild WAR? How can I fix it? The sad joke is that Shark deploys just fine.
The error suggest a Java mismatch. Also if you confirm that your tomcat is running Java8, please double-check again.
I would suggest to execute:
ps aux | grep catalina
You will get something like this:
ps aux | grep catalina
You will get something like this:
tecnote+ 15638 0.1 4.9 5802864 810460 ? Sl apr21 2:42 /usr/bin/java -Dcatalina.base=/home/tecnoteca/workspace/cmdbuild/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 -Dcatalina.home=/home/tecnoteca/tools/apache-tomcat-7.0.56-eclipse-shk [...]
Then execute:
/usr/bin/java -version
The output should be something like this, related to the java8.
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
If the version is really a Java8, could you paste your output?
And the complete log file containing the exception claiming "Major or minor version mismatch 52"?
Best regards,
the CMDBuild team
the CMDBuild team
Thanks that was my issue. Tomcat 7 doesn't look for Java 8 in JDK_DIRS so I added it to the front of the envar. Redploy WAR and CMDBuild started!
Previously Tecnoteca wrote:
The error suggest a Java mismatch. Also if you confirm that your tomcat is running Java8, please double-check again.I would suggest to execute:
ps aux | grep catalina
You will get something like this:
tecnote+ 15638 0.1 4.9 5802864 810460 ? Sl apr21 2:42 /usr/bin/java -Dcatalina.base=/home/tecnoteca/workspace/cmdbuild/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 -Dcatalina.home=/home/tecnoteca/tools/apache-tomcat-7.0.56-eclipse-shk [...]Then execute:/usr/bin/java -versionThe output should be something like this, related to the java8.java version "1.8.0_25"Java(TM) SE Runtime Environment (build 1.8.0_25-b17)Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
If the version is really a Java8, could you paste your output?
And the complete log file containing the exception claiming "Major or minor version mismatch 52"?Best regards,
the CMDBuild team
Thanks that was my issue. Tomcat 7 doesn't look for Java 8 in JDK_DIRS but once I update it and redeploy the WAR CMDBuild starts!
Previously Tecnoteca wrote:
The error suggest a Java mismatch. Also if you confirm that your tomcat is running Java8, please double-check again.I would suggest to execute:
ps aux | grep catalina
You will get something like this:
tecnote+ 15638 0.1 4.9 5802864 810460 ? Sl apr21 2:42 /usr/bin/java -Dcatalina.base=/home/tecnoteca/workspace/cmdbuild/.metadata/.plugins/org.eclipse.wst.server.core/tmp1 -Dcatalina.home=/home/tecnoteca/tools/apache-tomcat-7.0.56-eclipse-shk [...]Then execute:/usr/bin/java -versionThe output should be something like this, related to the java8.java version "1.8.0_25"Java(TM) SE Runtime Environment (build 1.8.0_25-b17)Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
If the version is really a Java8, could you paste your output?
And the complete log file containing the exception claiming "Major or minor version mismatch 52"?Best regards,
the CMDBuild team