From: Panagiotis K. <pk...@ex...> - 2003-09-30 15:26:43
|
This is the section in conf/login-config.xml regarding jbossmq. I didn't change this file at all. <!-- Security domain for JBossMQ --> <application-policy name =3D "jbossmq"> <authentication> <login-module code =3D = "org.jboss.mq.sm.file.DynamicLoginModule" flag =3D "required"> <module-option name =3D "unauthenticatedIdentity">guest</module-option> <module-option name =3D "sm.objectname">jboss.mq:service=3DStateManager</module-option> </login-module> </authentication> </application-policy> It seems to me that the server sometimes looses the login module configuration. Regards, Panagiotis -----Original Message----- From: Adrian Brock [mailto:ad...@jb...]=20 Sent: Tuesday, September 30, 2003 4:16 PM To: jbo...@li... Subject: Re: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated' 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=20 > following > error: >=20 > javax.jms.JMSSecurityException: User: null is NOT authenticated at > org.jboss.mq.security.SecurityManager.authenticate(SecurityManager.jav > a: > 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 ... >=20 > I can't predict when the problem appears, but when it appears a server > restart is required for the jms topic to function correctly. >=20 > My config file is: > <server> > <mbean code=3D"org.jboss.mq.il.jvm.JVMServerILService" > name=3D"jboss.mq:service=3DReactorInvocationLayer,type=3DJVM"> > <depends=20 > = optional-attribute-name=3D"Invoker">jboss.mq:service=3DInvoker</depends> > <attribute=20 > name=3D"ConnectionFactoryJNDIRef">TopicConnectionFactory</attribute> > <attribute=20 > = name=3D"XAConnectionFactoryJNDIRef">XATopicConnectionFactory</attribute> > <attribute name=3D"PingPeriod">0</attribute> > </mbean> >=20 > <mbean code=3D"org.jboss.mq.server.jmx.Topic" > = name=3D"jboss.mq.destination:service=3DTopic,name=3DPolicyExecution"> > <depends=20 > = optional-attribute-name=3D"DestinationManager">jboss.mq:service=3DDestina= t > io > nManager</depends> > <depends > optional-attribute-name=3D"SecurityManager">jboss.mq:service=3DSecurityMa= nag > er</depends> > <attribute name=3D"SecurityConf"> > <security> > <role name=3D"guest" read=3D"true" write=3D"true" = create=3D"true"/> > </security> > </attribute> > </mbean> > </server> >=20 > Does anyone knows what is going on? >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf=20 > _______________________________________________ > JBoss-user mailing list > JBo...@li...=20 > https://lists.sourceforge.net/lists/listinfo/jboss-user --=20 xxxxxxxxxxxxxxxxxxxxxxxx=20 Adrian Brock Director of Support Back Office JBoss Group, LLC=20 xxxxxxxxxxxxxxxxxxxxxxxx=20 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list JBo...@li... https://lists.sourceforge.net/lists/listinfo/jboss-user |