[jboss-jira] [JBoss JIRA] Created: (JBAS-3739) On Windows: jbossmq.test.SecurityUnitTestCase fails
Prabhat Jha (JIRA)
jira-events at jboss.com
Tue Oct 3 17:19:41 EDT 2006
On Windows: jbossmq.test.SecurityUnitTestCase fails
---------------------------------------------------
Key: JBAS-3739
URL: http://jira.jboss.com/jira/browse/JBAS-3739
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JMS service, Security
Environment: Windows 2003, Sun JDK 1.4
Reporter: Prabhat Jha
Assigned To: Adrian Brock
Fix For: JBossAS-4.0.5.GA
jbossmq.test.SecurityUnitTestCase#runLoginTest fails.
javax.jms.JMSSecurityException: Connection not authorized to do durable subscription on topic: securedTopic
at org.jboss.mq.security.ServerSecurityInterceptor.subscribe(ServerSecurityInterceptor.java:150)
at org.jboss.mq.server.TracingInterceptor.subscribe(TracingInterceptor.java:643)
at org.jboss.mq.server.JMSServerInvoker.subscribe(JMSServerInvoker.java:177)
at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:185)
at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395)
at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)
at java.lang.Thread.run(Thread.java:534)
This results into the assertion fail error which is:
junit.framework.AssertionFailedError: Subscriber did not get correct number of messages 0 expected:<5> but was:<0>
at org.jboss.test.jbossmq.test.SecurityUnitTestCase.runLoginTest(SecurityUnitTestCase.java:67)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list