activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (AMQ-5858) Error when sending message in webconsole: NoClassDefFoundError: javax/xml/bind/DatatypeConverter
Date Tue, 23 Jun 2015 14:58:01 GMT

     [ https://issues.apache.org/jira/browse/AMQ-5858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré reassigned AMQ-5858:
-----------------------------------------

    Assignee: Jean-Baptiste Onofré

> Error when sending message in webconsole: NoClassDefFoundError: javax/xml/bind/DatatypeConverter
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-5858
>                 URL: https://issues.apache.org/jira/browse/AMQ-5858
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: webconsole
>    Affects Versions: 5.11.1
>            Reporter: Christian Schneider
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 5.11.2, 5.12.0
>
>
> Install webconsole feature in karaf and send a message using the webconsole with default
values. You will see the exception below.
> The reason is a missing import package for javax.xml.bind.
> -----
> org.springframework.web.util.NestedServletException: Handler processing failed; nested
exception is java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
> 	at org.springframework.web.servlet.DispatcherServlet.triggerAfterCompletionWithError(DispatcherServlet.java:1260)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
> 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:851)
> 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
> 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> 	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
> 	at org.apache.activemq.web.AuditFilter.doFilter(AuditFilter.java:59)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
> 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> 	at org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:102)
> 	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
> 	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
> 	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
> 	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:267)
> 	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
> 	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
> 	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
> 	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80)
> 	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
> 	at org.eclipse.jetty.server.Server.handle(Server.java:497)
> 	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
> 	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
> 	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
> 	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
> 	at org.apache.activemq.web.WebClient.createWebClient(WebClient.java:375)
> 	at org.apache.activemq.web.WebClient.getWebClient(WebClient.java:105)
> 	at org.apache.activemq.web.controller.SendMessage.handleRequest(SendMessage.java:53)
> 	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
> 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:919)
> 	... 35 more
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter not found
by org.apache.activemq.activemq-web-console [62]
> 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1558)
> 	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1998)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
> 	... 40 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message