I am back into this, it's still not resolved for me. Can't see previews neither in OKM UI nor getting data through the SDK.
this is what I found in the 'openkm.log' toady:
Code: Select all2018-05-01 15:16:27,699 [http-bio-0.0.0.0-8080-exec-106] [] WARN o.apache.cxf.jaxrs.utils.JAXRSUtils - No op
eration matching request path "/OpenKM/services/rest/document/getThumbnail" is found, Relative Path: /getThum
bnail, HTTP Method: GET, ContentType: */*, Accept: image/png,. Please enable FINE/TRACE log level for more de
tails.
2018-05-01 15:16:27,700 [http-bio-0.0.0.0-8080-exec-106] [] WARN o.a.c.j.i.WebApplicationExceptionMapper - j
avax.ws.rs.ClientErrorException
at org.apache.cxf.jaxrs.utils.SpecExceptions.toHttpException(SpecExceptions.java:110)
at org.apache.cxf.jaxrs.utils.ExceptionUtils.toHttpException(ExceptionUtils.java:149)
at org.apache.cxf.jaxrs.utils.JAXRSUtils.findTargetMethod(JAXRSUtils.java:477)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:216)
at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:88)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:241)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:248)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:153)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:171)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:286)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:211)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:262)
I don't feel we're merging different issues in here. it's still the preview fetch issue for me. Please point me out why do you think we are discussing multiple topics in here.
edit: I have set 'log4j.logger.com.openkm=FINE' in log4j.properties file, without the restart through (testers are working on the instance, i'm not allowed to restart now) but
here I read it shoul apply without restart.
Thanks!