Page 1 of 1

Fresh install error 6.3.1

PostPosted:Wed Jan 27, 2016 3:54 am
by deranjer
Fresh install of 6.3.1 immediate error out, here is the catalina error log and java version. It appears to be a java version error, but I ran the installer and I believe that installs the correct version of java on linux.
Code: Select all
java version "1.6.0_36"
OpenJDK Runtime Environment (IcedTea6 1.13.8) (6b36-1.13.8-1~deb7u1)
OpenJDK Server VM (build 23.25-b01, mixed mode)
Code: Select all
2016-01-26 22:46:56,651 [main] ERROR org.apache.tomcat.util.digester.Digester- Begin event threw error
java.lang.UnsupportedClassVersionError: com/openkm/util/Log4JInitializer : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
        at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
        at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1288)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:507)
        at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1323)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2750)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:828)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:757)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:133)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1211)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:551)
        at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:615)
        at org.apache.catalina.startup.Catalina.load(Catalina.java:663)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:622)
        at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:280)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:454)

Re: Fresh install error 6.3.1

PostPosted:Thu Jan 28, 2016 2:54 pm
by jllort
JDK version should be 1.7.X ( we also suggest you use oracla jdk rather openJDK, althought both should going right, take in consideration we are developing, testing and installing under this JAVA version ).

Re: Fresh install error 6.3.1

PostPosted:Fri Jan 29, 2016 5:07 pm
by deranjer
Thanks, I installed Oracle Java 7 and that fixed it. I didn't find any documentation showing I needed Java 7 for 6.3.1...

Re: Fresh install error 6.3.1

PostPosted:Sat Jan 30, 2016 9:12 am
by jllort
Actual wiki documentation is a big messi, last year we started working on a new documentation system, that why we created docs.openkm.com where we have yet documented version 6.4 on a new format. We are working on re building are documentation for 6.2 community version but we still have not finished ( there is a lot of work ). If you use the openkm installer with tomcat bundle it comes with embeded jdk.

I've reviewed this wiki section http://wiki.openkm.com/index.php/Quick_Install ( and I included information for community 6.3 )
http://wiki.openkm.com/index.php/Quick_ ... OpenKM_6.3 ( new section added, that for your advice ).

Sorry for the actual status of the wiki.openkm.com, the tools we used for storing the documentation seems was not a good election for us, and finally we have decided to do not invest more effors there ( only minimal ) and working on new format and information storage system. The new format will be available this year, initial previsions were at ends on April, but probably we should live with the wiki some weeks more.

Re: Fresh install error 6.3.1

PostPosted:Sat Jan 30, 2016 9:12 am
by jllort
Actual wiki documentation is a big messi, last year we started working on a new documentation system, that why we created docs.openkm.com where we have yet documented version 6.4 on a new format. We are working on re building are documentation for 6.2 community version but we still have not finished ( there is a lot of work ). If you use the openkm installer with tomcat bundle it comes with embeded jdk.

I've reviewed this wiki section http://wiki.openkm.com/index.php/Quick_Install ( and I included information for community 6.3 )
http://wiki.openkm.com/index.php/Quick_ ... OpenKM_6.3 ( new section added, that for your advice ).

Sorry for the actual status of the wiki.openkm.com, the tools we used for storing the documentation seems was not a good election for us, and finally we have decided to do not invest more effors there ( only minimal ) and working on new format and information storage system. The new format will be available this year, initial previsions were at ends on April, but probably we should live with the wiki some weeks more.