[ 
https://issues.apache.org/jira/browse/AMQ-8554?focusedWorklogId=751139&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-751139
 ]

ASF GitHub Bot logged work on AMQ-8554:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/22 17:46
            Start Date: 31/Mar/22 17:46
    Worklog Time Spent: 10m 
      Work Description: jbonofre commented on pull request #803:
URL: https://github.com/apache/activemq/pull/803#issuecomment-1084919061


   Yes I saw that already on main. 5.17.x seems ok. Gonna take a look. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 751139)
    Time Spent: 20m  (was: 10m)

> RESTful API: NoClassDefFoundError->ContinuationSupport
> ------------------------------------------------------
>
>                 Key: AMQ-8554
>                 URL: https://issues.apache.org/jira/browse/AMQ-8554
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker, Connector
>    Affects Versions: 5.17.0
>         Environment: Ubuntu 20.04.4 LTS
> java --version:
> openjdk 11.0.14 2022-01-18
> OpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2.20.04)
> OpenJDK 64-Bit Server VM (build 11.0.14+9-Ubuntu-0ubuntu2.20.04, mixed mode, 
> sharing)
> ActiveMQ-Version: 5.17.0 (clean installation)
>            Reporter: Marc Giavarra
>            Assignee: Christopher L. Shannon
>            Priority: Critical
>              Labels: JAR-files, Jetty, REST, RESTful
>             Fix For: 5.17.1
>
>         Attachments: image-2022-03-30-10-58-20-270.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The RESTful API does not work since version 5.17.0. If you send a GET-Request 
> like
> {noformat}
> http://BROKER-IP:8161/api/message/abc?type=queue&oneShot=true{noformat}
> {color:#212121}{color:#212121}{color}You get an error:
> {color}
> {code:java}
> 2022-03-29 19:00:14,445 | INFO  | ActiveMQ Jolokia REST API available at 
> http://0.0.0.0:8161/api/jolokia/ | org.apache.activemq.web.WebConsoleStarter 
> | main
> 2022-03-29 19:01:06,597 | INFO  | Connector vm://localhost started | 
> org.apache.activemq.broker.TransportConnector | qtp1845760645-40
> 2022-03-29 19:01:06,703 | WARN  | /api/message/abc | 
> org.eclipse.jetty.server.HttpChannel | qtp1845760645-40
> java.lang.NoClassDefFoundError: 
> org/eclipse/jetty/continuation/ContinuationSupport
>         at 
> org.apache.activemq.web.MessageServlet.doMessages(MessageServlet.java:188)
>         at 
> org.apache.activemq.web.MessageServlet.doGet(MessageServlet.java:167)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:655)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
>         at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
>         at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>         at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)
>         at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
>         at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
>         at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
>         at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
>         at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
>         at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
>         at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>         at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
>         at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:560)
>         at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
>         at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
>         at org.eclipse.jetty.server.Server.handle(Server.java:516)
>         at 
> org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
>         at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
>         at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
>         at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
>         at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
>         at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
>         at 
> org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
>         at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
>         at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
>         at java.base/java.lang.Thread.run(Thread.java:829)
> Caused by: java.lang.ClassNotFoundException: 
> org.eclipse.jetty.continuation.ContinuationSupport
>         at 
> java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
>         at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
>         ... 34 more
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to