-
Feature Request
-
Resolution: Done
-
Major
-
7.0.1.Final
Say I try to create a queue, but input incorrect values, the console provides the following which is not enough to know what was the root cause:
Tue Sep 06 12:52:33 GMT+200 2011 Failed to create queue Unexpected HTTP response: 500 Request { "operation" => "add", "address" => [ ("profile" => "default"), ("subsystem" => "messaging"), ("jms-queue" => "asdas") ], "entries" => ["dasdasd"], "durable" => false, "selector" => "*" } Response Internal Server Error { "outcome" => "failed", "result" => {"server-groups" => [("main-server-group" => {"master" => { "host" => "master", "response" => { "outcome" => "failed", "failure-description" => {"Failed services" => {"jboss.messaging.jms.queue.asdas" => "org.jboss.msc.service.StartException in service jboss.messaging.jms.queue.asdas: failed to create queue"}}, "rolled-back" => true } }})]}, "failure-description" => "Operation failed or was rolled back on all servers.", "rolled-back" => true }
while the server says:
[Server:server-one] 12:52:33,840 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.messaging.jms.queue.asdas: org.jboss.msc.service.StartException in service jboss.messaging.jms.queue.asdas: failed to create queue [Server:server-one] at org.jboss.as.messaging.jms.JMSQueueService.start(JMSQueueService.java:60) [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765) [Server:server-one] at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291) [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26] [Server:server-one] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26] [Server:server-one] at java.lang.Thread.run(Thread.java:662) [:1.6.0_26] [Server:server-one] Caused by: HornetQException[errorCode=103 message=Invalid filter: * Encountered "*" at line 1, column 1. [Server:server-one] Was expecting one of: [Server:server-one] "TRUE" ... [Server:server-one] "FALSE" ... [Server:server-one] "NOT" ... [Server:server-one] "(" ... [Server:server-one] "-" ... [Server:server-one] "+" ... [Server:server-one] <INTEGER_LITERAL> ... [Server:server-one] <FLOATING_POINT_LITERAL> ... [Server:server-one] <SIMPLE_STRING> ... [Server:server-one] <IDENTIFIER> ... [Server:server-one] ] [Server:server-one] at org.hornetq.core.filter.impl.FilterImpl.<init>(FilterImpl.java:117) [Server:server-one] at org.hornetq.core.filter.impl.FilterImpl.createFilter(FilterImpl.java:97) [Server:server-one] at org.hornetq.core.server.impl.HornetQServerImpl.createQueue(HornetQServerImpl.java:1694) [Server:server-one] at org.hornetq.core.server.impl.HornetQServerImpl.deployQueue(HornetQServerImpl.java:1060) [Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.internalCreateQueue(JMSServerManagerImpl.java:1046) [Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.access$100(JMSServerManagerImpl.java:98) [Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl$1.runException(JMSServerManagerImpl.java:422) [Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.runAfterActive(JMSServerManagerImpl.java:1643) [Server:server-one] at org.hornetq.jms.server.impl.JMSServerManagerImpl.createQueue(JMSServerManagerImpl.java:413) [Server:server-one] at org.jboss.as.messaging.jms.JMSQueueService.start(JMSQueueService.java:58) [Server:server-one] ... 5 more
- is related to
-
WFCORE-392 Stack trace improvements, summarize the things that broke to make them not so intimidating
- Open