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/javaeenamespace 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/javaeehttp://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/javaeehttp://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