[jira] [Work logged] (ARTEMIS-3204) Resource Limiting on Queues is not working

2021-03-24 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3204?focusedWorklogId=571106=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-571106
 ]

ASF GitHub Bot logged work on ARTEMIS-3204:
---

Author: ASF GitHub Bot
Created on: 24/Mar/21 12:12
Start Date: 24/Mar/21 12:12
Worklog Time Spent: 10m 
  Work Description: clebertsuconic merged pull request #3516:
URL: https://github.com/apache/activemq-artemis/pull/3516


   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 571106)
Time Spent: 0.5h  (was: 20m)

> Resource Limiting on Queues is not working
> --
>
> Key: ARTEMIS-3204
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3204
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Reporter: Clebert Suconic
>Assignee: Clebert Suconic
>Priority: Major
> Fix For: 2.18.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> there is a NullPointerException when the getQueueCounter is being done:
>  
> 2021-03-23 15:13:01,317 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ25: Sending unexpected exception to the client: 
> java.lang.NullPointerException
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.getQueueCountForUser(ActiveMQServerImpl.java:1750)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.checkQueueCreationLimit(ActiveMQServerImpl.java:1740)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:737)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:377)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:298)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) 
> [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [rt.jar:1.8.0_261]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [rt.jar:1.8.0_261]
> at 
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3204) Resource Limiting on Queues is not working

2021-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3204?focusedWorklogId=570808=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-570808
 ]

ASF GitHub Bot logged work on ARTEMIS-3204:
---

Author: ASF GitHub Bot
Created on: 23/Mar/21 21:42
Start Date: 23/Mar/21 21:42
Worklog Time Spent: 10m 
  Work Description: clebertsuconic commented on a change in pull request 
#3516:
URL: https://github.com/apache/activemq-artemis/pull/3516#discussion_r599976724



##
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQMessageBundle.java
##
@@ -363,7 +363,7 @@
ActiveMQSessionCreationException sessionLimitReached(String username, int 
limit);
 
@Message(id = 229111, value = "Too many queues created by user ''{0}''. 
Queues allowed: {1}.", format = Message.Format.MESSAGE_FORMAT)
-   ActiveMQSessionCreationException queueLimitReached(String username, int 
limit);
+   ActiveMQSecurityException queueLimitReached(String username, int limit);

Review comment:
   before anyone asks.. this was supposed to be a SecurityException :)




-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

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

> Resource Limiting on Queues is not working
> --
>
> Key: ARTEMIS-3204
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3204
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Reporter: Clebert Suconic
>Assignee: Clebert Suconic
>Priority: Major
> Fix For: 2.18.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> there is a NullPointerException when the getQueueCounter is being done:
>  
> 2021-03-23 15:13:01,317 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ25: Sending unexpected exception to the client: 
> java.lang.NullPointerException
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.getQueueCountForUser(ActiveMQServerImpl.java:1750)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.checkQueueCreationLimit(ActiveMQServerImpl.java:1740)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:737)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:377)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:298)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) 
> [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [rt.jar:1.8.0_261]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [rt.jar:1.8.0_261]
> at 
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Work logged] (ARTEMIS-3204) Resource Limiting on Queues is not working

2021-03-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/ARTEMIS-3204?focusedWorklogId=570807=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-570807
 ]

ASF GitHub Bot logged work on ARTEMIS-3204:
---

Author: ASF GitHub Bot
Created on: 23/Mar/21 21:42
Start Date: 23/Mar/21 21:42
Worklog Time Spent: 10m 
  Work Description: clebertsuconic opened a new pull request #3516:
URL: https://github.com/apache/activemq-artemis/pull/3516


   


-- 
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 570807)
Remaining Estimate: 0h
Time Spent: 10m

> Resource Limiting on Queues is not working
> --
>
> Key: ARTEMIS-3204
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3204
> Project: ActiveMQ Artemis
>  Issue Type: Bug
>Reporter: Clebert Suconic
>Assignee: Clebert Suconic
>Priority: Major
> Fix For: 2.18.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> there is a NullPointerException when the getQueueCounter is being done:
>  
> 2021-03-23 15:13:01,317 WARN  [org.apache.activemq.artemis.core.server] 
> AMQ25: Sending unexpected exception to the client: 
> java.lang.NullPointerException
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.getQueueCountForUser(ActiveMQServerImpl.java:1750)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.checkQueueCreationLimit(ActiveMQServerImpl.java:1740)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.createQueue(ServerSessionImpl.java:737)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.slowPacketHandler(ServerSessionPacketHandler.java:377)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.core.protocol.core.ServerSessionPacketHandler.onMessagePacket(ServerSessionPacketHandler.java:298)
>  [artemis-server-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at org.apache.activemq.artemis.utils.actors.Actor.doTask(Actor.java:33) 
> [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:42)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.OrderedExecutor.doTask(OrderedExecutor.java:31)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> org.apache.activemq.artemis.utils.actors.ProcessorBase.executePendingTasks(ProcessorBase.java:65)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]
> at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>  [rt.jar:1.8.0_261]
> at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>  [rt.jar:1.8.0_261]
> at 
> org.apache.activemq.artemis.utils.ActiveMQThreadFactory$1.run(ActiveMQThreadFactory.java:118)
>  [artemis-commons-2.18.0-SNAPSHOT.jar:2.18.0-SNAPSHOT]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)