[jboss-jira] [JBoss JIRA] (DROOLS-1032) WebSphere JMS on Kie server produces errors in log
Karel Suta (JIRA)
issues at jboss.org
Wed Jan 20 06:11:00 EST 2016
[ https://issues.jboss.org/browse/DROOLS-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karel Suta updated DROOLS-1032:
-------------------------------
Description:
When I run WebSphere JMS tests for Kie server then SystemOut log gets filled by exception listed in attachment.
It doesn't cause any error in Kie server functionality as error is created by WebSphereSecurityAdapter while JMS use JMSSecurityAdapter to get needed info, it just spam log making it almost unusable for searching for any real issue logged there.
Caused by https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/adapters/WebSphereSecurityAdapter.java#L81
Maybe would be good to reduce log level there to be able to filter out this error.
Edit: After deeper analysis has been revealed that this error actually signals failure in authentication on WebSphere when using JMS. Tests passed because users and their roles has beech cached when running REST tests and for JMS there has been used values from cache.
If user would use just JMS for Kie server then he wouldn't be able to use any functionality based on user authentication and its roles like claiming task.
was:
When I run WebSphere JMS tests for Kie server then SystemOut log gets filled by exception listed in attachment.
It doesn't cause any error in Kie server functionality as error is created by WebSphereSecurityAdapter while JMS use JMSSecurityAdapter to get needed info, it just spam log making it almost unusable for searching for any real issue logged there.
Caused by https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/adapters/WebSphereSecurityAdapter.java#L81
Maybe would be good to reduce log level there to be able to filter out this error.
> WebSphere JMS on Kie server produces errors in log
> --------------------------------------------------
>
> Key: DROOLS-1032
> URL: https://issues.jboss.org/browse/DROOLS-1032
> Project: Drools
> Issue Type: Bug
> Components: kie server
> Affects Versions: 6.4.0.Beta1
> Environment: WebSphere 8.5.5.7
> Reporter: Karel Suta
> Assignee: Maciej Swiderski
> Labels: reported-by-qe
> Fix For: 6.4.0.CR1
>
> Attachments: stacktrace.txt
>
>
> When I run WebSphere JMS tests for Kie server then SystemOut log gets filled by exception listed in attachment.
> It doesn't cause any error in Kie server functionality as error is created by WebSphereSecurityAdapter while JMS use JMSSecurityAdapter to get needed info, it just spam log making it almost unusable for searching for any real issue logged there.
> Caused by https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-services/kie-server-services-common/src/main/java/org/kie/server/services/impl/security/adapters/WebSphereSecurityAdapter.java#L81
> Maybe would be good to reduce log level there to be able to filter out this error.
> Edit: After deeper analysis has been revealed that this error actually signals failure in authentication on WebSphere when using JMS. Tests passed because users and their roles has beech cached when running REST tests and for JMS there has been used values from cache.
> If user would use just JMS for Kie server then he wouldn't be able to use any functionality based on user authentication and its roles like claiming task.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list