• Office Addin error (SOLVED)

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #11745  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
Attachments
okm.jpg
okm.jpg (70.49 KiB) Viewed 8495 times
Last edited by LN-BEF on Mon Oct 10, 2011 9:35 am, edited 1 time in total.
 #11765  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 ?
 #11776  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?
 #11797  by jllort
 
the server.log is at $JBOSS_HOME/server/default/log/server.log
 #11960  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.
 #11962  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.
 #11992  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 ).
 #12117  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 all
2011-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)
 #12173  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...
 #12231  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
 #12276  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 ?

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.