[jboss-jira] [JBoss JIRA] (WFLY-10227) Insufficient error when resource adapter is added with incorrect module
Erich Duda (JIRA)
issues at jboss.org
Thu Apr 12 04:34:00 EDT 2018
Erich Duda created WFLY-10227:
---------------------------------
Summary: Insufficient error when resource adapter is added with incorrect module
Key: WFLY-10227
URL: https://issues.jboss.org/browse/WFLY-10227
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 12.0.0.Final
Reporter: Erich Duda
Assignee: Stefano Maestri
When you try to add new resource adapter with incorrect module, the operation fails with error message {{WFLYJCA0073: Failed to load module for RA \[...\]}}. It is not clear why the loading of module failed. The error message should contain root cause why the loading of module failed. In this case the module doesn't meet the resource adapter criteria.
{code:title=Example}
[standalone at localhost:9990 /] /subsystem=resource-adapters/resource-adapter=org.jboss.genericjms.provider:add(module=org.jboss.genericjms.provider,transaction-support=XATransaction)
{
"outcome" => "failed",
"failure-description" => "WFLYJCA0073: Failed to load module for RA [org.jboss.genericjms.provider]",
"rolled-back" => true
}
{code}
In the above example the correct module should be {{org.jboss.genericjms}}. The module {{org.jboss.genericjms.provider}} contains only additional jars required for connecting to the third party messaging server.
I saw that users (including me) ran into this problem here \[1\] and here \[2\].
\[1\] https://issues.jboss.org/browse/JBEAP-14299?focusedCommentId=13559726&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13559726
\[2\] https://developer.jboss.org/thread/275460
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list