WebDAV Compatibility Issue with Office in Jmix 1.5

hi,
I am currently working with the Jmix 1.5 framework and utilizing the WebDAV add-on for document editing. The add-on functions seamlessly with LibreOffice, allowing for modifications; however, I am encountering compatibility issues when attempting to use it with Microsoft Office.
my app.properties
server.port = 8443
jmix.webdav.authentication-method=digest
jmix.webdav.url-prefix=https://test.ls.com/webdav
jmix webdav

I would appreciate any assistance

thanks
armando

Hello Armando,

Do you have any errors in logs of Jmix application?

Regards,
Ivan

Hi Ivan,
Thank you for your response, but in logs do not have any errors.
I don’t know where is the problem.

2024-01-29 11:25:18.989 INFO 17472 — [nio-8443-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’
2024-01-29 11:25:18.989 INFO 17472 — [nio-8443-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’
2024-01-29 11:25:18.991 INFO 17472 — [nio-8443-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 2 ms
2024-01-29 11:25:19.121 INFO 17472 — [nio-8443-exec-2] eclipselink.logging.all : EclipseLink, version: Eclipse Persistence Services - 2.7.9.6-jmix
2024-01-29 11:25:19.354 INFO 17472 — [nio-8443-exec-2] i.j.core.impl.FetchPlanRepositoryImpl : Initializing fetch plans
2024-01-29 11:27:31.906 WARN 17472 — [nio-8443-exec-9] c.v.spring.navigator.SpringViewProvider : No SpringViews found
2024-01-29 11:27:31.926 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.ScreensImpl@54adf5fc] with name [ui_Screens] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:31.928 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.WebUrlRouting@20cd6e02] with name [ui_UrlRouting] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:31.936 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.JmixApp@25275142] with name [ui_App] in [SessionAwareBeanStore[id=683c00c8, name=Session:0D340A945E314BDB9E6084CB376CCDA8]]
2024-01-29 11:27:31.941 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.exception.FileStorageExceptionHandler@60653597] with name [ui_FileStorageExceptionHandler] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:31.953 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.webdavui.exception.WebdavExceptionHandler@15b20958] with name [webdav_WebdavExceptionHandler] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.013 INFO 17472 — [nio-8443-exec-9] io.jmix.ui.WindowConfig : WindowConfig initialized in 50 ms
2024-01-29 11:27:32.085 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.DialogsImpl@72b6cd9] with name [ui_Dialogs] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.090 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.NotificationsImpl@6a08533f] with name [ui_Notifications] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.094 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.FragmentsImpl@5bb77a04] with name [ui_Fragments] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.096 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.sys.WebBrowserToolsImpl@50a9d56d] with name [ui_WebBrowserTools] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.544 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.WebHistory@2d07f097] with name [ui_History] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.557 WARN 17472 — [nio-8443-exec-9] com.vaadin.spring.internal.BeanStore : Storing non-serializable bean [io.jmix.ui.navigation.UrlChangeHandler@6cc1b1f5] with name [ui_UrlChangeHandler] in [UIBeanStore[id=dc8b203, name=UI:0]]
2024-01-29 11:27:32.563 DEBUG 17472 — [nio-8443-exec-9] io.jmix.core.AccessLogger : Denied access to [screen: MainScreen] for user [anonymous] by io.jmix.securityui.constraint.UiShowScreenConstraint
2024-01-29 11:27:50.367 INFO 17472 — [nio-8443-exec-4] j.c.p.i.AnnotationLockDescriptorProvider : Collecting pessimistic locks configuration annotations

Hi Ivan
I am using trusted certificate according to Configuration :: Jmix Documentation and everything works perfect in local, but i want a specific parameter or a specific certificate when i run the application in production, when i run without the https configuration (
Enables HTTPS
server.ssl.enabled=true
server.ssl.key-store-type = JKS
server.ssl.keystore=C:/Users/Armando/eclipseworkspace/sucoreba/src/main/resources/keystore/localhostArmando.jks
server.ssl.key-store-password = *****
server.ssl.key-alias = 1
)
in app.properties, but just the
server.port = 8443
jmix.webdav.authentication-method=digest
jmix.webdav.url-prefix=https://armando.lucanasistemi.com/webdav
because the app is running in https://armando.lucanasistemi.com with our SSL certificate.

The documentation says “IMPORTANT -The use of a self-signed certificate is appropriate only for testing. Always use SSL certificates issued by a trusted authority for running production applications.”
and with our certificate does not work, shows always “upload failed”, and i asking you about what type of certificate with some parameter we must to use for this bug.

I would appreciate it if ypu give me your advice/solution as soon as possible.

Best Regards

Armando

Hi Armando,

  1. Can you describe your deployment schema? https://armando.lucanasistemi.com - is it some proxy server?
  2. Are there some errors in your proxy server (not in Jmix application)? Maybe some request failed.
  3. Does it work with LibreOffice under the same conditions?
  4. What is your version of MS Office?

Regards,
Ivan

Hi Ivan,
https://armando.lucanasistemi.com yes it is a proxy server.
and after we analyse the proxy, was a problem with mod_security.
The problem solved:

Thanks Ivan

Best Regards
Armando

1 Like