[jboss-jira] [JBoss JIRA] Commented: (JBAS-7946) javax.jms.JMSSecurityException: Unable to validate user: null

Scott Marlow (JIRA) jira-events at lists.jboss.org
Fri Apr 16 11:36:25 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12526243#action_12526243 ] 

Scott Marlow commented on JBAS-7946:
------------------------------------

Great question, lets try to figure out if we are missing a dependency on security.  

Also, I failed to get a multi iteration test going (always failed on the second iteration).

Instead, I tried starting two unit tests at the same, from two shell windows.  Very low tech multi-threading  :)

I did a ./build.sh one-test -Dtest=org.jboss.test.messagedriven.test.JMSContainerInvokerQueueMessageDrivenUnitTestCase

And a /build.sh one-test -Dtest=org.jboss.test.messagedriven.test.JMSContainerInvokerTopicMessageDrivenUnitTestCase

Both tests failed. The AS server.log contained the following errors (they continued to repeat but pastebin didn't like me pasting the entire file):
http://pastebin.com/BLt62591

Both of these tests pass standalone (just ran them again with the same AS instance without restarting after the previous failure).  Perhaps the two tests are walking on each others deployments and causing the java.lang.NoClassDefFoundError: Could not initialize class org.jboss.test.messagedriven.mbeans.TestMessageDrivenManagementMBean.  I'll assume that is the case for now and ignore this test result.

> javax.jms.JMSSecurityException: Unable to validate user: null
> -------------------------------------------------------------
>
>                 Key: JBAS-7946
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7946
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Scott Marlow
>            Assignee: Clebert Suconic
>             Fix For: JBossAS-6.0.0.M3
>
>
> If you look at http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-testSuite-sun16/658/testReport/ all of the org.jboss.test.messagedriven.test* tests failed with "Caused by: javax.jms.JMSSecurityException: Unable to validate user: null"
> Exception stack trace for one of the problems (from AS hornetq/server.log) is here: http://pastebin.com/jpRjZDpc?
> I am curious if https://jira.jboss.org/jira/browse/SECURITY-491 could be related to this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list