You haven't got that far. You are still trying to make a connection.
Are there any more informative messages in log/server.log
you might need to enable DEBUG or TRACE for org.jboss.mq

The answer to this specific question is that it will add
        <role name="guest" read="true" write="true" create="true"/>
if you don't specify it.

Regards,
Adrian

On Wed, 2003-09-10 at 15:30, Panagiotis Korros wrote:
> Yes there is an "unathenticated identity" for jbossmq
> in conf/login-config.xml.
> 
> Should I also have:
>     <depends
> optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManag
> er</depends>
>     <attribute name="SecurityConf">
>       <security>
>         <role name="guest" read="true" write="true"/>
>         <role name="publisher" read="true" write="true" create="false"/>
>         <role name="durpublisher" read="true" write="true"
> create="true"/>
>       </security>
>     </attribute>
> 
> In my mbean definition?
> 
> -----Original Message-----
> From: Adrian Brock [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 10, 2003 2:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] JbossMQ error: 'User: null is NOT
> authenticated'
> 
> 
> Have you made any other changes to the config?
> There should be an "unathenticated identity" for jbossmq
> in conf/login-config.xml
> The default is "guest"
> 
> Regards,
> Adrian
> 
> On Wed, 2003-09-10 at 07:23, Panagiotis Korros wrote:
> >  
> >  I am using JBoss 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:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <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=Destinat
> > ionManager</depends>
> > </mbean>
> > 
> > </server>
> > 
> > Does anyone knows what is going on?
-- 
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