The topic security config is irrelevent at this stage,
you haven't got to the authorization step.
You are still trying to authenticate the user.

First, post the conf/login-config.xml snippet for jbossmq,
it should have an unauthenticated identity,
the default setting is "guest".

Regards,
Adrian

On Tue, 2003-09-30 at 13:52, Panagiotis Korros wrote:
> I am using JBoss 3.2.2RC4 / 3.2.1 with JDK 1.4.2 and i get the following
> error:
> 
> javax.jms.JMSSecurityException: User: null is NOT authenticated at
> org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.java:
> 215)
> at
> org.jboss.mq.security.ServerSecurityInterceptor.authenticate(ServerSecur
> ityInterceptor.java:51)
> at
> org.jboss.mq.server.TracingInterceptor.authenticate(TracingInterceptor.j
> ava:650)
> At
> org.jboss.mq.server.JMSServerInvoker.authenticate(JMSServerInvoker.java:
> 288)
> at org.jboss.mq.il.jvm.JVMServerIL.authenticate(JVMServerIL.java:302)
> at org.jboss.mq.Connection.authenticate(Connection.java:876)
> at org.jboss.mq.Connection.<init>(Connection.java:238)
> at org.jboss.mq.Connection.<init>(Connection.java:315)
> at org.jboss.mq.SpyConnection.<init>(SpyConnection.java:60)
> at
> org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnectionFac
> tory.java:78)
> at ...
> 
> I can't predict when the problem appears, but when it appears a server
> restart is required for the jms topic to function correctly.
> 
> My config file is:
> <server>
>   <mbean code="org.jboss.mq.il.jvm.JVMServerILService"
>        name="jboss.mq:service=ReactorInvocationLayer,type=JVM">
>     <depends
> optional-attribute-name="Invoker">jboss.mq:service=Invoker</depends>
>     <attribute
> name="ConnectionFactoryJNDIRef">TopicConnectionFactory</attribute>
>     <attribute
> name="XAConnectionFactoryJNDIRef">XATopicConnectionFactory</attribute>
>     <attribute name="PingPeriod">0</attribute>
>   </mbean>
> 
>   <mbean code="org.jboss.mq.server.jmx.Topic"
>        name="jboss.mq.destination:service=Topic,name=PolicyExecution">
>     <depends
> optional-attribute-name="DestinationManager">jboss.mq:service=Destinatio
> nManager</depends>
>     <depends
> optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManag
> er</depends>
>     <attribute name="SecurityConf">
>       <security>
>          <role name="guest" read="true" write="true" create="true"/>
>       </security>
>     </attribute>
>   </mbean>
> </server>
> 
> Does anyone knows what is going on? 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
xxxxxxxxxxxxxxxxxxxxxxxx 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
xxxxxxxxxxxxxxxxxxxxxxxx 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to