activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Regarding CMS error codes
Date Mon, 28 Jan 2013 14:27:15 GMT


On Mon, 2013-01-28 at 04:00 -0800, Gangadhar Rao wrote:
> Is there any way we can know about the exact error code of why the
> CMSException is being thrown....
> 
> Currently I am getting the complete  stack trace as below for one of the
> scenarios...
> 
> Is there any way i can get the CMS error code for the below stack trace.....
> 

There are no error code, just the various Exception types in the CMS
API.

> *** BEGIN SERVER-SIDE STACK TRACE ***
> Message: User anonymous is not authorized to create:
> queue://ActiveMQ.Statistics.GANGU1.BAR
> Exception Class java.lang.SecurityException
>         [FILE: AuthorizationBroker.java, LINE: 76] occurred in:
> org.apache.activemq.security.AuthorizationBroker.addDestination
>         [FILE: BrokerFilter.java, LINE: 145] occurred in:
> org.apache.activemq.broker.BrokerFilter.addDestination
>         [FILE: MutableBrokerFilter.java, LINE: 151] occurred in:
> org.apache.activemq.broker.MutableBrokerFilter.addDestination
>         [FILE: RegionBroker.java, LINE: 481] occurred in:
> org.apache.activemq.broker.region.RegionBroker.send
>         [FILE: ManagedRegionBroker.java, LINE: 311] occurred in:
> org.apache.activemq.broker.jmx.ManagedRegionBroker.send
>         [FILE: BrokerFilter.java, LINE: 129] occurred in:
> org.apache.activemq.broker.BrokerFilter.send
>         [FILE: CompositeDestinationBroker.java, LINE: 96] occurred in:
> org.apache.activemq.broker.CompositeDestinationBroker.send
>         [FILE: TransactionBroker.java, LINE: 317] occurred in:
> org.apache.activemq.broker.TransactionBroker.send
>         [FILE: BrokerFilter.java, LINE: 129] occurred in:
> org.apache.activemq.broker.BrokerFilter.send
>         [FILE: BrokerFilter.java, LINE: 129] occurred in:
> org.apache.activemq.broker.BrokerFilter.send
>         [FILE: AuthorizationBroker.java, LINE: 192] occurred in:
> org.apache.activemq.security.AuthorizationBroker.send
>         [FILE: BrokerFilter.java, LINE: 129] occurred in:
> org.apache.activemq.broker.BrokerFilter.send
>         [FILE: StatisticsBroker.java, LINE: 180] occurred in:
> org.apache.activemq.plugin.StatisticsBroker.send
>         [FILE: MutableBrokerFilter.java, LINE: 135] occurred in:
> org.apache.activemq.broker.MutableBrokerFilter.send
>         [FILE: TransportConnection.java, LINE: 450] occurred in:
> org.apache.activemq.broker.TransportConnection.processMessage
>         [FILE: ActiveMQMessage.java, LINE: 680] occurred in:
> org.apache.activemq.command.ActiveMQMessage.visit
>         [FILE: TransportConnection.java, LINE: 294] occurred in:
> org.apache.activemq.broker.TransportConnection.service
>         [FILE: TransportConnection.java, LINE: 152] occurred in:
> org.apache.activemq.broker.TransportConnection$1.onCommand
>         [FILE: MutexTransport.java, LINE: 50] occurred in:
> org.apache.activemq.transport.MutexTransport.onCommand
>         [FILE: WireFormatNegotiator.java, LINE: 113] occurred in:
> org.apache.activemq.transport.WireFormatNegotiator.onCommand
>         [FILE: AbstractInactivityMonitor.java, LINE: 256] occurred in:
> org.apache.activemq.transport.AbstractInactivityMonitor.onCommand
>         [FILE: TransportSupport.java, LINE: 83] occurred in:
> org.apache.activemq.transport.TransportSupport.doConsume
>         [FILE: TcpTransport.java, LINE: 222] occurred in:
> org.apache.activemq.transport.tcp.TcpTransport.doRun
>         [FILE: TcpTransport.java, LINE: 204] occurred in:
> org.apache.activemq.transport.tcp.TcpTransport.run
>         [FILE: Thread.java, LINE: 662] occurred in: java.lang.Thread.run
> *** END SERVER-SIDE STACK TRACE ***
> 
> 
> 
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Regarding-CMS-error-codes-tp4662309.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com 
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/



Mime
View raw message