Page 1 of 2
Office Addin error (SOLVED)
PostPosted:Fri Aug 05, 2011 12:54 pm
by LN-BEF
Hello, I am a new user om this forum and I will be using OpenKM for personal use (if I get it properly configured

)
OpenKM 5.1.7 (build 7085) is installed on a Win2k3 with the required Java version.
The client runs Win Vista Ultimate with MS Office 2007. OpenKM addin for Word version 5.0.0.
The problem:
In OpenKM in Word, I click 'Edit', then this message appears (see attached).
Error message in english:
ExplorerForm - (startUp)
Client found the content type of the answer, but expected text/xml. The request failed with an empty response.
If I choose 'Add document', I get this error:
TreeForm - (StartUp)
Client found the content type of the answer, but expected text / xml. The request failed with an empty response.
What have I done to solve this problem
I have tried to connect this addin to the demo of OpenKM (
http://demo.openkm.com/OpenKM/ ) This worked!!
The problem has to be somewhere on my system, but I don't have a clue on where I go from here...
I hope someone can help me with this issue
Thank you
Best regards Bjorn Espen
Re: Office Addin error
PostPosted:Mon Aug 08, 2011 11:17 am
by jllort
Could you translate the message on english ?
Could you take a look at server.log at the moment you're doing the operation with office, any message error there ?
Re: Office Addin error
PostPosted:Mon Aug 08, 2011 8:54 pm
by LN-BEF
Hi jllort,
Could you translate the message on english ?
Of course

Error message I get when I choose 'Edit document' in the addin:
---
ExplorerForm - (startUp)
Client found the content type of the answer, but expected text/xml. The request failed with an empty response.
---
If I select 'Add document', this is the error message I get:
---
TreeForm - (StartUp)
Client found the content type of the answer, but expected text / xml. The request failed with an empty response.
---
Could you take a look at server.log at the moment you're doing the operation with office, any message error there ?
Sure, I'll check. Where is this log located?
Re: Office Addin error
PostPosted:Thu Aug 11, 2011 6:35 am
by jllort
the server.log is at $JBOSS_HOME/server/default/log/server.log
Re: Office Addin error
PostPosted:Sun Aug 28, 2011 11:35 pm
by roycal93
What happened with this? I have been having the same issue since the first time I started to use the addin. Had to develop my own addin on .net, but it is not the same implementation, obviously the one provided here is better. Jllort could you please tell me where can I find the latest version of the OpenKM word addin? Maybe the bug was fixed.
Best regards,
RC.
Re: Office Addin error
PostPosted:Mon Aug 29, 2011 12:40 am
by roycal93
Hey! I found your addins for the openkm version 5. Tried it on my personal (not from work) computer connecting to your openkm service and it worked perfect. So now I can make sure the issue is related to my openkm configuration. Tomorrow I will be sending you the openkm log when I try to connect to my openkm service. Hope we can figure it out about how to make it work.
Thanks a lot for your help.
Best regards,
RC.
Re: Office Addin error
PostPosted:Tue Aug 30, 2011 2:40 pm
by jllort
OK, Next week - monday - will starting upgrading office addins with new enhancements ( we've been waiting several months and now is the time for doing it ).
Re: Office Addin error
PostPosted:Tue Aug 30, 2011 4:30 pm
by roycal93
Great! Thank you!
Re: Office Addin error
PostPosted:Sun Sep 11, 2011 11:33 am
by LN-BEF
Sorry for late reply, I obviously have to many things going on at the same time
jllort wrote:Could you take a look at server.log at the moment you're doing the operation with office, any message error there ?
Here is my server.log when i try to edit a document via the addin:
Code: Select all2011-09-11 12:44:42,171 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.EndpointRegistryFactory'
2011-09-11 12:44:42,187 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] class org.jboss.wsf.spi.management.EndpointRegistryFactory Implementation: org.jboss.wsf.stack.jbws.EndpointRegistryFactoryImpl@1bdce3d
2011-09-11 12:44:42,187 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] doPost: /OpenKM/OKMAuth
2011-09-11 12:44:42,187 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleRequest: jboss.ws:context=OpenKM,endpoint=OKMAuth
2011-09-11 12:44:42,187 ERROR [org.jboss.wsf.stack.jbws.RequestHandlerImpl] Error processing web service request
java.lang.IllegalStateException: Cannot obtain endpoint meta data
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:229)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
2011-09-11 12:44:42,187 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/OpenKM].[OKMAuth]] Servlet.service() for servlet OKMAuth threw exception
java.lang.IllegalStateException: Cannot obtain endpoint meta data
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:229)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134)
at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
2011-09-11 12:44:42,203 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Exception Processing ErrorPage[exceptionType=java.lang.Exception, location=/error.jsp]
java.lang.IllegalStateException
at org.apache.coyote.Response.reset(Response.java:297)
at org.apache.catalina.connector.Response.reset(Response.java:652)
at org.apache.catalina.connector.Response.reset(Response.java:916)
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:416)
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:270)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)
Re: Office Addin error
PostPosted:Tue Sep 13, 2011 6:36 am
by jllort
Seems there's a problem on deployed webservices, if you directly type on browser
http://localhost:8080/OpenKM/OKMFolder you get some message ?
Re: Office Addin error
PostPosted:Tue Sep 13, 2011 8:45 am
by LN-BEF
jllort wrote:Seems there's a problem on deployed webservices, if you directly type on browser http://localhost:8080/OpenKM/OKMFolder you get some message ?
In Internet Explorer, I've got an error message: HTTP 405 - Method not allowed.
Re: Office Addin error
PostPosted:Sat Sep 17, 2011 10:00 am
by LN-BEF
jllort wrote:Seems there's a problem on deployed webservices, if you directly type on browser http://localhost:8080/OpenKM/OKMFolder you get some message ?
I forgot to tell you that OpenKM is
running as a system service on a Windows 2003 Server, if this makes any difference...
Re: Office Addin error
PostPosted:Tue Sep 20, 2011 8:50 am
by jllort
You could try our online demo
http://demo.openkm.com/OpenKM/OKMFolder
The normal response must be "HTTP GET not supported"
Re: Office Addin error
PostPosted:Tue Sep 20, 2011 6:38 pm
by LN-BEF
When I use web browsers other than Internet Explorer I get this message:
HTTP GET not supported
When I use Internet Explorer, I get this message:
HTTP 405 - Method not allowed
Probably not important...
Any idea on what I can do to get the add-in issue solved?
Thanks for all the help
Regards Bjorn
Re: Office Addin error
PostPosted:Fri Sep 23, 2011 4:14 pm
by jllort
Seems webservices are right ... I don't know which could be the problem. Have you tried in other computer ? All with same problem ?