Page 1 of 1

Error OKM-005024

PostPosted:Tue Jun 18, 2013 7:52 am
by ekyu5
Hi,

I've been evaluating professional version and recently moved to community version.
I just copied repository folder from professional(v6.2.14) to community(v6.2.3) and now i cannot upload any file.
It returns OKM-005024 error which is "Some problem uploading document to server. - Caused by database problem."
I haven't configured any database on the system so I'm suspecting hsqldb but I'm seeing something else.
Code: Select all
2013-06-18 16:11:45,650 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] INFO  org.apache.catalina.startup.HostConfig - Undeploying context [/manager]
2013-06-18 16:11:45,656 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] WARN  org.apache.catalina.loader.WebappClassLoader - JDBC driver de-registration failed for web application [/manager]
java.lang.NullPointerException
        at org.apache.catalina.loader.WebappClassLoader.clearReferencesJdbc(WebappClassLoader.java:2051)
        at org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1987)
        at org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1899)
        at org.apache.catalina.loader.WebappLoader.stopInternal(WebappLoader.java:661)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
        at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5509)
        at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1030)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1276)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1454)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:295)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1379)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1537)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1547)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1526)
        at java.lang.Thread.run(Thread.java:662)
funny thing is i can login with the id I created when i was using professional.
even viewing, downloading of all the contents i've uploaded are possible.

what do i do to solve this?

thank you in advance.

regards,
ekyu5

----------------------------------------------------------------------
OS: CentOS 6.4 x64
Browser: IE/Chrome
OpenKM version: 6.2.3-community

Re: Error OKM-005024

PostPosted:Thu Jun 20, 2013 1:36 am
by ekyu5
I couldn't figure out the cause of this but I solved uploading problem by remaking the db.
here's what I did:
1. copy repository folder from professional version to community version
2. export data from community version
3. remove repository folder of community version
4. create new db (or repository folder) by editing OpenKM.cfg
5. import data

But I still wanna know the cause of the problem.

Re: Error OKM-005024

PostPosted:Fri Jun 21, 2013 8:30 am
by jllort
Obviously the internal app structure of the professional and community version is not the same. Take in mind two things:
1- different dbms structure in some tables or extra tables ( second will not be a problem )
2- trial is 6.2.17 which is more newer than community 6.2.4 ( downloading version has this kind of problems )

The way to migrate is what you explain:
1- export repositorio
2- start community
3- import repository