Attila Doroszlai created HDDS-8955:
--------------------------------------
Summary: Add JAXB runtime to HttpFS classpath
Key: HDDS-8955
URL: https://issues.apache.org/jira/browse/HDDS-8955
Project: Apache Ozone
Issue Type: Bug
Components: HttpFS GateWay
Reporter: Wei-Chiu Chuang
Assignee: Attila Doroszlai
Saw this message in one of the test:
{code}
httpfs_1 | SEVERE: Implementation of JAXB-API has not been found on module
path or classpath.
httpfs_1 | javax.xml.bind.JAXBException: Implementation of JAXB-API has not
been found on module path or classpath.
httpfs_1 | - with linked exception:
httpfs_1 | [java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory]
httpfs_1 | at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:177)
httpfs_1 | at javax.xml.bind.ContextFinder.find(ContextFinder.java:364)
httpfs_1 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:508)
httpfs_1 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:465)
httpfs_1 | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:366)
httpfs_1 | at
com.sun.jersey.server.impl.wadl.WadlApplicationContextImpl.<init>(WadlApplicationContextImpl.java:107)
httpfs_1 | at
com.sun.jersey.server.impl.wadl.WadlFactory.init(WadlFactory.java:100)
httpfs_1 | at
com.sun.jersey.server.impl.application.RootResourceUriRules.initWadl(RootResourceUriRules.java:169)
httpfs_1 | at
com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:106)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1359)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795)
httpfs_1 | at
com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)
httpfs_1 | at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:509)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394)
httpfs_1 | at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577)
httpfs_1 | at javax.servlet.GenericServlet.init(GenericServlet.java:244)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletHolder$Wrapper.init(ServletHolder.java:1345)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:632)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:415)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
httpfs_1 | at
java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:357)
httpfs_1 | at
java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
httpfs_1 | at
java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
httpfs_1 | at
java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312)
httpfs_1 | at
java.base/java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:735)
httpfs_1 | at
java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:774)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:379)
httpfs_1 | at
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1449)
httpfs_1 | at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1414)
httpfs_1 | at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:916)
httpfs_1 | at
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:288)
httpfs_1 | at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)
httpfs_1 | at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
httpfs_1 | at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
httpfs_1 | at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
httpfs_1 | at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
httpfs_1 | at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
httpfs_1 | at
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
httpfs_1 | at org.eclipse.jetty.server.Server.start(Server.java:423)
httpfs_1 | at
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)
httpfs_1 | at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
httpfs_1 | at org.eclipse.jetty.server.Server.doStart(Server.java:387)
httpfs_1 | at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
httpfs_1 | at
org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1301)
httpfs_1 | at
org.apache.ozone.fs.http.server.HttpFSServerWebServer.start(HttpFSServerWebServer.java:153)
httpfs_1 | at
org.apache.ozone.fs.http.server.HttpFSServerWebServer.main(HttpFSServerWebServer.java:185)
httpfs_1 | Caused by: java.lang.ClassNotFoundException:
com.sun.xml.internal.bind.v2.ContextFactory
httpfs_1 | at
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
httpfs_1 | at
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
httpfs_1 | at
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
httpfs_1 | at
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:538)
httpfs_1 | at
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
httpfs_1 | at
javax.xml.bind.ServiceLoaderUtil.nullSafeLoadClass(ServiceLoaderUtil.java:122)
httpfs_1 | at
javax.xml.bind.ServiceLoaderUtil.safeLoadClass(ServiceLoaderUtil.java:155)
httpfs_1 | at
javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:174)
httpfs_1 | ... 53 more
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]