AnsweredAssumed Answered

Sharepoint, save from MS word error

Question asked by dasddd on Jun 11, 2015
Latest reply on Jun 14, 2015 by arturmkhitaryan
Hi,

I have set up ALFRESCO 5.0d on win server 2008 r2, behind nginx reverse proxy, with SSL. On client I have win 7 running MS Office 2013. For configuring Sharepoint I followed:

http://blyx.com/2014/04/01/alfresco-tip-how-to-enable-ssl-in-alfresco-sharepoint-protocol/

Sharepoint module for EDIT ONLINE works fine, I can open and work on the document in word. In alfresco log there is INFO that some handlers were not found, but it works nevertheless:

<blockcode>
2015-06-10 15:21:25,391 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for OPTIONS to uri='/XY/'
2015-06-10 15:21:25,735 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for HEAD to uri='/XY/XY.dotx'
2015-06-10 15:21:26,141 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for GET to uri='/XY/XY.dotx'
</blockcode>

As I can see OPTIONS referes only to folder, Head and GET to the file.

But when I try to save a new document form word to alfresco it fails. While I browse for the location the log shows

<blockcode>
2015-06-10 15:40:57,203 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for OPTIONS to uri='/XY/documentLibrary/'
2015-06-10 15:40:57,672 ERROR [org.mortbay.log] [291634280@qtp-1804492406-22] /alfresco/XY/_vti_bin/owssvr.dll
java.lang.NullPointerException
   at java.io.Reader.<init>(Unknown Source)
   at java.io.InputStreamReader.<init>(Unknown Source)
   at org.alfresco.module.vti.web.fp.FileOpenDialog.doExecute(FileOpenDialog.java:151)
   at org.alfresco.module.vti.web.fp.AbstractMethod.execute(AbstractMethod.java:102)
   at org.alfresco.module.vti.web.actions.VtiBinAction.processVtiMethod(VtiBinAction.java:128)
   at org.alfresco.module.vti.web.actions.VtiBinAction.doGet(VtiBinAction.java:78)
   at org.alfresco.module.vti.web.actions.VtiBaseAction.doGet(VtiBaseAction.java:73)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
   at org.alfresco.module.vti.web.actions.VtiBaseAction.execute(VtiBaseAction.java:230)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.executeAction(VtiRequestDispatcher.java:257)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.doActions(VtiRequestDispatcher.java:230)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.service(VtiRequestDispatcher.java:148)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
   at org.alfresco.module.vti.web.VtiFilter.doFilter(VtiFilter.java:192)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
   at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:713)
   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
</blockcode>

And when I try to save, the log shows:
<blockcode>
2015-06-11 08:23:10,640 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for OPTIONS to uri='/XY/documentLibrary/XY.docx'
2015-06-11 08:23:11,937 INFO  [org.alfresco.module.vti.web.VtiRequestDispatcher] [291634280@qtp-1804492406-22] Note - no handler was found for PUT to uri='/XY/documentLibrary/XY.docx'
</blockcode>

The saving fails. If I try the same on office 2010, I cannot even browse the alfresco repository. The save window shows:

<blockcode>
Problem accessing /alfresco/XY/_vti_bin/owssvr.dll. Reason:
    INTERNAL_SERVER_ERROR
Caused by:
java.lang.NullPointerException
   at java.io.Reader.<init>(Unknown Source)
   at java.io.InputStreamReader.<init>(Unknown Source)
   at org.alfresco.module.vti.web.fp.FileOpenDialog.doExecute(FileOpenDialog.java:151)
   at org.alfresco.module.vti.web.fp.AbstractMethod.execute(AbstractMethod.java:102)
   at org.alfresco.module.vti.web.actions.VtiBinAction.processVtiMethod(VtiBinAction.java:128)
   at org.alfresco.module.vti.web.actions.VtiBinAction.doGet(VtiBinAction.java:78)
   at org.alfresco.module.vti.web.actions.VtiBaseAction.doGet(VtiBaseAction.java:73)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
   at org.alfresco.module.vti.web.actions.VtiBaseAction.execute(VtiBaseAction.java:230)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.executeAction(VtiRequestDispatcher.java:257)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.doActions(VtiRequestDispatcher.java:230)
   at org.alfresco.module.vti.web.VtiRequestDispatcher.service(VtiRequestDispatcher.java:148)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
   at org.alfresco.module.vti.web.VtiFilter.doFilter(VtiFilter.java:192)
   at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
   at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
   at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
   at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
   at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
   at org.mortbay.jetty.Server.handle(Server.java:326)
   at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
   at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
   at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
   at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
   at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
   at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
   at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:713)
   at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
________________________________________
Powered by Jetty://

</blockcode>

Also I do not know if this is relevant webdav access does not work from Explorer, but works otherwise (browser, cyberduck).

Any pointers are welcome.


UPDATE:
webdav now works in explorer and can save from word through webdav (ssl port 443), by mapping drive through CMD http://superuser.com/questions/254113/how-to-connect-to-an-https-webdav-folder-on-windows-7

Can I tell "edit on line" to use webdav instead of sharepoint.



Outcomes