[opencms-dev] [opencms 14] - Error Accesing webdav repository
Jochen Graf
j.graf at alkacon.com
Mon Dec 11 14:35:20 CET 2023
Hi Ramón,
the best thing to do is to connect with the WebDAV *root* of your
OpenCms installation, e.g., with http://localhost:8080/webdav/.
Of course, you need a suitable WebDAV client to browse the OpenCms VFS
via WebDAV. Ubuntu/Linux, for example, has a built-in WebDAV client
called davfs2. With this, you can "mount" your OpenCms VFS to the local
Linux file system as described in our OpenCms documentation [1].
On a Mac it is even more simple. In your Finder, choose "Go > Connect to
Server", enter the WebDAV URL such as http://localhost:8080/webdav/, and
finally provide your username and password. After that, the OpenCms VFS
appears as a network file system on the left side of the Finder.
If you are on Windows, there is also a native WebDAV client available,
which unfortunately often does not function stably. But there are many
third-party Windows-compatible WebDAV clients out there.
A nice overview and explanation of WebDAV clients for different
operating systems is given here [2].
Hope this helps
Jochen
[1]
https://documentation.opencms.org/opencms-documentation/interfaces/webdav/
[2]
https://docs.nextcloud.com/server/latest/user_manual/en/files/access_webdav.html
Am 11.12.23 um 10:06 schrieb Ramon Gavira Sáenz via opencms-dev:
>
> Anybody using webdav??
>
> *De:*opencms-dev <opencms-dev-bounces at opencms.org> *En nombre de
> *Ramon Gavira Sáenz via opencms-dev
> *Enviado el:* jueves, 23 de noviembre de 2023 19:30
> *Para:* The OpenCms mailing list <opencms-dev at opencms.org>
> *CC:* Ramon Gavira Sáenz <ramon.gavira at sagasoluciones.com>
> *Asunto:* Re: [opencms-dev] [opencms 14] - Error Accesing webdav
> repository
>
> Hello,
>
> I'm revisiting this matter with version 16, and I'm still facing the
> same issues.
>
> If I enter the following URL in the browser:
> [http://localhost:8080/webdav/system/workplace/commons/resourceIcon.css](http://localhost:8080/webdav/system/workplace/commons/resourceIcon.css)
> (I've used one from version 16), it asks for an username and password
> and displays the result without problems.
>
> It's correct that it gives an error with directories.
>
> How should I mount it? No matter how much I try, I can't achieve it.
> Can you provide me with an example? Do I need to mount specific paths?
>
> Kind regards
>
> *De:*opencms-dev <opencms-dev-bounces at opencms.org> *En nombre de
> *Daniel Seidel via opencms-dev
> *Enviado el:* viernes, 9 de junio de 2023 10:20
> *Para:* opencms-dev at opencms.org
> *CC:* Daniel Seidel <d.seidel at alkacon.com>
> *Asunto:* Re: [opencms-dev] [opencms 14] - Error Accesing webdav
> repository
>
> Hi,
>
> Have you tried to mount? If you open the URL in the browser, it's ok
> to fail for a folder, but it should work for a file, e.g.:
> http://myserver:8080/webdav/system/workplace/commons/style/workplace.css
>
> Best, Daniel.
>
> Am 30.05.23 um 16:00 schrieb Leo Ruggeri via opencms-dev:
>
> I have the same issue on OpenCms 15
>
> *From:*opencms-dev <opencms-dev-bounces at opencms.org>
> <mailto:opencms-dev-bounces at opencms.org> *On Behalf Of *Ramon
> Gavira Sáenz via opencms-dev
> *Sent:* Thursday, May 25, 2023 4:51 PM
> *To:* The OpenCms mailing list <opencms-dev at opencms.org>
> <mailto:opencms-dev at opencms.org>
> *Cc:* Ramon Gavira Sáenz <ramon.gavira at sagasoluciones.com>
> <mailto:ramon.gavira at sagasoluciones.com>
> *Subject:* Re: [opencms-dev] [opencms 14] - Error Accesing webdav
> repository
>
> *ATTENZIONE*: Questo messaggio proviene dall'esterno
> dell'Organizzazione. Non fare click sui link o aprire allegati se
> non riconosci il mittente e sei certo/a che il contenuto sia sicuro.
>
> Anybody on version 10.5.4 using webdav?
>
> *De:*opencms-dev <opencms-dev-bounces at opencms.org> *En nombre de
> *Ramon Gavira Sáenz via opencms-dev
> *Enviado el:* jueves, 18 de mayo de 2023 17:56
> *Para:* opencms-dev at opencms.org
> *CC:* Ramon Gavira Sáenz <ramon.gavira at sagasoluciones.com>
> *Asunto:* [opencms-dev] [opencms 14] - Error Accesing webdav
> repository
>
> Hello, let see if anybody can help me with this issue
>
> I got error while attempting to access the webdav repository on a
> fresh installation of OpenCms 14.
>
> Here are the steps I followed along with the error I encountered:
>
> 1. Accessing the webdav repository through the following URL:
> http://myserver:8080/webdav/ (Please note that I have deployed
> OpenCms on the ROOT directory).
> 2. The system prompts me for a username and password.
> 3. However, upon submission, I encounter a 500 page error.
>
> This is what I found on opencms.log
>
> 18 may. 2023 17:42:52,532 [r:ZaS2bC] ERROR
> [dav.CmsJackrabbitWebdavServlet: 219] null {request_id=ZaS2bC,
> request_url=http://mv-ubuntu.sagasoluciones.com:8080/webdav}
>
> java.lang.NullPointerException: null
>
> at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)
> ~[tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.opencms.webdav.CmsDavResource.spool(CmsDavResource.java:619)
> ~[opencms.jar:14.0]
>
> at
> org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.spoolResource(AbstractWebdavServlet.java:607)
> ~[jackrabbit-webdav-2.21.3.jar:?]
>
> at
> org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.doGet(AbstractWebdavServlet.java:557)
> ~[jackrabbit-webdav-2.21.3.jar:?]
>
> at
> org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.execute(AbstractWebdavServlet.java:398)
> ~[jackrabbit-webdav-2.21.3.jar:?]
>
> at
> org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:316)
> ~[jackrabbit-webdav-2.21.3.jar:?]
>
> at
> org.opencms.webdav.CmsJackrabbitWebdavServlet.service(CmsJackrabbitWebdavServlet.java:214)
> [opencms.jar:14.0]
>
> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
> [tomcat9-servlet-api.jar:?]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
> [tomcat9-websocket-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.opencms.main.OpenCmsUrlServletFilter.doFilter(OpenCmsUrlServletFilter.java:150)
> [opencms.jar:14.0]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
> [log4j-web-2.17.1.jar:2.17.1]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:359)
> [tomcat9-catalina-9.0.58.jar:9.0.58]
>
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
> [tomcat9-coyote-9.0.58.jar:9.0.58]
>
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
> [tomcat9-coyote-9.0.58.jar:9.0.58]
>
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:889)
> [tomcat9-coyote-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1735)
> [tomcat9-coyote-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> [tomcat9-coyote-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
> [tomcat9-util-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
> [tomcat9-util-9.0.58.jar:9.0.58]
>
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> [tomcat9-util-9.0.58.jar:9.0.58]
>
> at java.lang.Thread.run(Thread.java:829) [?:?]
>
> Any help is welcome!!
>
> Kind regards
>
> *Ramón Gavira Sáenz*
>
> _______________________________________________
>
> This mail is sent to you from the opencms-dev mailing list
>
> To change your list options, or to unsubscribe from the list, please visit
>
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
> --
> Kind Regards
> Daniel.
> -------------------
> Daniel Seidel
> Alkacon Software GmbH & Co. KG - The OpenCms Experts
> https://www.alkacon.com -http://www.opencms.org
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> https://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
>
--
Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com -http://www.opencms.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20231211/ca7a9332/attachment.htm>
More information about the opencms-dev
mailing list