• Problem with createFolderSimple

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #41282  by dmaginas
 
Hello,

we have a problem and it is really urgent! We are calling from our program "createFolderSimple" with a valid parameter over the C#-DLL of OpenKM. It fails with an Exception:
"415 Unsupported Media Type".

In the Log-Window of Tomcat (on the server where OpenKM is running) it says:
"2016-02-03 14:41:33,194 [http-bio-0.0.0.0-8080-exec-1] WARN org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught :
Media type separator is missing.
"

We are using OpenKM 6.3.0 Community Edition on Windows Server 2008.
 #41286  by dmaginas
 
We found in our catalina.log following entries:
Code: Select all
2016-02-04 07:34:09,149 [http-bio-0.0.0.0-8080-exec-7] WARN  org.apache.cxf.jaxrs.utils.JAXRSUtils- No operation matching request path "/OpenKM/services/rest/folder/createSimple" is found, Relative Path: /createSimple, HTTP Method: GET, ContentType: */*, Accept: */*,. Please enable FINE/TRACE log level for more details.
2016-02-04 07:34:09,149 [http-bio-0.0.0.0-8080-exec-7] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : no cause is available
2016-02-04 08:32:38,321 [http-bio-0.0.0.0-8080-exec-5] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : a483ceed-3296-4e6b-95dd-53e756e16386
2016-02-04 09:28:23,833 [http-bio-0.0.0.0-8080-exec-9] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : 3492d662-b58e-417c-85b6-930ad0c6c3cf
2016-02-04 09:34:58,833 [http-bio-0.0.0.0-8080-exec-2] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : Media type separator is missing
2016-02-04 10:11:39,982 [http-bio-0.0.0.0-8080-exec-7] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : Media type separator is missing
2016-02-04 10:13:36,451 [http-bio-0.0.0.0-8080-exec-5] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : Media type separator is missing
2016-02-04 10:15:22,263 [http-bio-0.0.0.0-8080-exec-6] WARN  org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper- WebApplicationException has been caught : Media type separator is missing
Maybe this information could help.
 #41295  by dmaginas
 
Hello,


in the steps for migrating from V6.3 to V6.3.1 it says:

1.) Replace the OpenKM.war -> Where do i find the OpenKM.war file? With which file i should replace it?

2.) Execute these queries: .... -> How do i connect to the OpenKM database? There is missing information on
how to find the OpenKM database. Is it MySQL? What is the user? And what the password?

Thanks in advance!
 #41297  by jllort
 
You have not expended much time investigating how doing it and where is the file.

If you go to download at sourceforge http://sourceforge.net/projects/openkm/files/6.3.1/ you see a openkm-6.3.1-community-war.zip ( the war file ). About how executing sql have several option ( or you connect to database -> I suppose you are using default openkm installation what comes with hypersonic embeded database -> I suggest go for mysql on production http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2 -> ( for doing it must change configuration to mysql and create the repository again with OpenKM.cfg hibernate.hbml set to create )
However at Administration > Database Query -> you can execute queries to database from there.
 #41303  by dmaginas
 
Hello,

finally after installing OpenKM Community 6.3.1 (OMG this was a hard piece of work), the problem is gone.
We can call "createFolderSimple" and it works as expected.

Thank you!

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.