activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerdes, Mike" <Mike.Ger...@airbus.com>
Subject AW: jaas
Date Fri, 24 Mar 2006 09:59:32 GMT

I think I found the solution myself, I used activemq-core and activemq-ra and activemq-jaas.
When I use the complete activemq jar file I don't get the error anymore.

-----Ursprüngliche Nachricht-----
Von: Gerdes, Mike
Gesendet: Freitag, 24. März 2006 10:39
An: activemq-users@geronimo.apache.org
Betreff: jaas




hi,

have somebody else encountered this strange error when using jaas?
Everything else seems to work fine and I get no username or password errors, just this classcastexception.
I am using ActiveMQ-4.0-SNAPSHOT togather with activemq-jaas-4.0-SNAPSHOT, but I also get
the error with activemq-jaas-4.0-M3


Exception in thread "ActiveMQ Task" java.lang.ClassCastException: org.apache.act
ivemq.security.AuthorizationBroker$1
        at org.apache.activemq.openwire.v1.ConsumerInfoMarshaller.tightMarshal1(
ConsumerInfoMarshaller.java:116)
        at org.apache.activemq.openwire.OpenWireFormat.tightMarshalNestedObject1
(OpenWireFormat.java:378)
        at org.apache.activemq.openwire.v1.BaseDataStreamMarshaller.tightMarshal
NestedObject1(BaseDataStreamMarshaller.java:120)
        at org.apache.activemq.openwire.v1.MessageMarshaller.tightMarshal1(Messa
geMarshaller.java:123)
        at org.apache.activemq.openwire.v1.ActiveMQMessageMarshaller.tightMarsha
l1(ActiveMQMessageMarshaller.java:75)
        at org.apache.activemq.openwire.OpenWireFormat.tightMarshalNestedObject1
(OpenWireFormat.java:378)
        at org.apache.activemq.openwire.v1.BaseDataStreamMarshaller.tightMarshal
NestedObject1(BaseDataStreamMarshaller.java:120)
        at org.apache.activemq.openwire.v1.MessageDispatchMarshaller.tightMarsha
l1(MessageDispatchMarshaller.java:86)
        at org.apache.activemq.openwire.OpenWireFormat.marshal(OpenWireFormat.ja
va:148)
        at org.activeio.command.AsyncChannelToAsyncCommandChannel.writeCommand(A
syncChannelToAsyncCommandChannel.java:41)
        at org.apache.activemq.transport.activeio.ActiveIOTransport.oneway(Activ
eIOTransport.java:95)
        at org.apache.activemq.transport.TransportLogger.oneway(TransportLogger.
java:51)
        at org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMoni
tor.java:141)
        at org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.
java:86)
        at org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatN
egotiator.java:77)
        at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.ja
va:44)
        at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorre
lator.java:55)
        at org.apache.activemq.broker.TransportConnection.dispatch(TransportConn
ection.java:211)
        at org.apache.activemq.broker.AbstractConnection.processDispatch(Abstrac
tConnection.java:568)
        at org.apache.activemq.broker.AbstractConnection.iterate(AbstractConnect
ion.java:584)
        at org.apache.activemq.thread.SimpleTaskRunner.runTask(SimpleTaskRunner.
java:110)
        at org.apache.activemq.thread.SimpleTaskRunner.access$100(SimpleTaskRunn
er.java:25)
        at org.apache.activemq.thread.SimpleTaskRunner$1.run(SimpleTaskRunner.ja
va:43)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.runTask(ThreadPoolExecutor.java:650)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor
ker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

This mail has originated outside your organization, either from an external partner or the
Global Internet. Keep this in mind if you answer this message.



This mail has originated outside your organization,
either from an external partner or the Global Internet.
Keep this in mind if you answer this message.

This mail has originated outside your organization, either from an external partner or the
Global Internet. Keep this in mind if you answer this message.

Mime
View raw message