[jboss-jira] [JBoss JIRA] Closed: (JBAS-3739) On Windows: jbossmq.test.SecurityUnitTestCase fails
Dimitris Andreadis (JIRA)
jira-events at jboss.com
Wed Oct 4 07:14:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3739?page=all ]
Dimitris Andreadis closed JBAS-3739.
------------------------------------
Fix Version/s: No Release
(was: JBossAS-4.0.5.GA)
Resolution: Rejected
This test consistently passes for me:
[junit] Running org.jboss.test.jbossmq.test.SecurityUnitTestCase
[junit] Tests run: 32, Failures: 0, Errors: 0, Time elapsed: 15.993 sec
> 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: Dimitris Andreadis
> Fix For: No Release
>
>
> 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