[JBoss JIRA] Created: (SECURITY-40) EJBPolicyModuleDelegate warning should be a debug msg
by Scott M Stark (JIRA)
EJBPolicyModuleDelegate warning should be a debug msg
-----------------------------------------------------
Key: SECURITY-40
URL: http://jira.jboss.com/jira/browse/SECURITY-40
Project: JBoss Security and Identity Management
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JBossSX
Reporter: Scott M Stark
Assigned To: Anil Saldhana
Running the WebIntegrationUnitTestCase.testUnsecureRunAsServletWithPrincipalNameAndRoles case produces spurious warning msgs for the roles added at the deployment level:
17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role InternalUser in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole1 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
17:12:20,947 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole2 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
17:12:20,978 WARN [EJBPolicyModuleDelegate] no match found for security role InternalUser in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
17:12:20,979 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole1 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
17:12:20,979 WARN [EJBPolicyModuleDelegate] no match found for security role ExtraRole2 in the deployment descriptor for ejb UnsecureRunAsServletWithPrincipalNameAndRolesTarget
This should be no more than debug level msgs.
--
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
19 years, 3 months
[JBoss JIRA] Commented: (JBMESSAGING-410) java:/JmsXA in no-tx context does not work the same way as JBossMQ
by Clebert Suconic (JIRA)
[ http://jira.jboss.com/jira/browse/JBMESSAGING-410?page=comments#action_12... ]
Clebert Suconic commented on JBMESSAGING-410:
---------------------------------------------
I'm adding this comment just to send a notification,
that this is being reopened as http://jira.jboss.com/jira/browse/JBMESSAGING-946.
> java:/JmsXA in no-tx context does not work the same way as JBossMQ
> ------------------------------------------------------------------
>
> Key: JBMESSAGING-410
> URL: http://jira.jboss.com/jira/browse/JBMESSAGING-410
> Project: JBoss Messaging
> Issue Type: Bug
> Components: Configuration and Management
> Affects Versions: 1.0.1.CR2, 1.2.0.Beta2, 1.0.1.SP4
> Reporter: Elias Ross
> Assigned To: Tim Fox
> Priority: Critical
> Fix For: Unscheduled
>
>
> The same code I wrote that uses java:/JmsXA in a non-transacted environment with JBossMQ does not work with JBoss Messaging. And actually the same code does work correctly with SonicMQ as well, using the JCA adaptor with the Sonic XA connection factory.
> Why allow the use java:/JmsXA without transactions? It makes sense to use a cached connection manager anyway, like you would with a database. And anyway, should be addressed for compatibility.
> The following code *should* successfully send a message to a queue running without a transaction. Currently, it doesn't seem to do anything and no usage warnings are produced.
> QueueConnectionFactory queueCF = (QueueConnectionFactory)new InitialContext.lookup("java:/JmsXA");
> ...
> QueueConnection queueConnection = queueCF.createQueueConnection();
> QueueSession queueSession =
> queueConnection.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
> QueueSender queueSender = queueSession.createSender(queue);
> ObjectMessage om = queueSession.createObjectMessage();
> queueSender.send(om);
> queueSender.close();
> queueSession.close();
> queueConnection.close();
--
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
19 years, 3 months