web.xml changed in BaseX 90 to servlet 4.0

Thursday, 29 March 2018 · 4 messages · last reply 4 Apr 2018
SA
Stefania Axo29 Mar 2018 02:43 #
hi I downloaded the latest version of BaseX 9.0 I try to deploy on my WebSphere Liberty (WebSphere Application Server V16.0.0.2 )and got an error because the version of the servlet is now 4.0. CWWKZ0002E: An exception occurred while starting the application BaseX. The exception message was: java.lang.IllegalStateException: com.ibm.wsspi.adaptable.module.UnableToAdaptException: com.ibm.ws.javaee.ddmodel.DDParser$ParseException: CWWKC2262E: The server is unable to process the 4.0 version and the http://xmlns.jcp.org/xml/ns/javaee namespace in the /WEB-INF/web.xml deployment descriptor on line 6. BaseX 8.67 web.xml had <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> Basex 9.0 web.xml has <web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-app_4_0.xsd " version="4.0"> I set on the BaseX 90 web.xml the old version of the servlet and that seemed to work. I am not sure if i will encounter other problems though. is the setting necessary in basex 9.0? or am i ok to downgraded for BaseX 90 ? thanks Stefania
CG
Christian Grün31 Mar 2018 16:48 #
Hi Stefania,
Quoted text · Stefania Axo · 3 lines
> I set on the BaseX 90 web.xml the old version of the servlet and that seemed > to work. I am not sure if i will encounter other problems though. > is the setting necessary in basex 9.0? or am i ok to downgraded for BaseX 90
I have no experience with WebSphere Liberty, so you may need to try if everything works as expected. As Servlet 4.0 is used a lot in practice nowadays: Did you already try to contact the WebSphere developer team in order to find out when version 4 will be supported? Best, Christian
SA
Stefania Axo3 Apr 2018 21:14 #
what i was wondering if there was something that in BaseX 90 is depending on 4.0 level of servlet in general. In other words if it is safe to run BaseX 0 with an older level of servlet like 3.1, for example. i did contact the WebSphere developer to see when it would be available. I am waiting for an answer. thanks Stefania
Quoted text · Christian Grün · 19 lines
From: "Christian Grün" <christian.gruen at gmail.com> To: Stefania Axo <stefy at us.ibm.com> Cc: BaseX <basex-talk at mailman.uni-konstanz.de> Date: 03/31/2018 10:48 AM Subject: Re: [basex-talk] web.xml changed in BaseX 90 to servlet 4.0 Hi Stefania, > I set on the BaseX 90 web.xml the old version of the servlet and that seemed > to work. I am not sure if i will encounter other problems though. > is the setting necessary in basex 9.0? or am i ok to downgraded for BaseX 90 I have no experience with WebSphere Liberty, so you may need to try if everything works as expected. As Servlet 4.0 is used a lot in practice nowadays: Did you already try to contact the WebSphere developer team in order to find out when version 4 will be supported? Best, Christian
CG
Christian Grün4 Apr 2018 14:38 #
I remember that people have asked in the past if we couldn’t update our web.xml information (because they were using newer features such as HTTP/2 along with BaseX). I guess that vanilla distributions of BaseX should still be compatible with 3.1. Looking forward to the WebSphere response, Christian
Quoted text · Stefania Axo · 44 lines
On Tue, Apr 3, 2018 at 7:14 PM, Stefania Axo <stefy at us.ibm.com> wrote: > what i was wondering if there was something that in BaseX 90 is depending on > 4.0 level of servlet in general. > In other words if it is safe to run BaseX 0 with an older level of servlet > like 3.1, for example. > > i did contact the WebSphere developer to see when it would be available. I > am waiting for an answer. > > thanks > Stefania > > > > From: "Christian Grün" <christian.gruen at gmail.com> > To: Stefania Axo <stefy at us.ibm.com> > Cc: BaseX <basex-talk at mailman.uni-konstanz.de> > Date: 03/31/2018 10:48 AM > Subject: Re: [basex-talk] web.xml changed in BaseX 90 to servlet 4.0 > ________________________________ > > > > Hi Stefania, > >> I set on the BaseX 90 web.xml the old version of the servlet and that >> seemed >> to work. I am not sure if i will encounter other problems though. >> is the setting necessary in basex 9.0? or am i ok to downgraded for BaseX >> 90 > > I have no experience with WebSphere Liberty, so you may need to try if > everything works as expected. > > As Servlet 4.0 is used a lot in practice nowadays: Did you already try > to contact the WebSphere developer team in order to find out when > version 4 will be supported? > > Best, > Christian > > > >

⚡Generated with XQuery