[
https://issues.jboss.org/browse/WFLY-2428?page=com.atlassian.jira.plugin....
]
RH Bugzilla Integration commented on WFLY-2428:
-----------------------------------------------
Ondrej Chaloupka <ochaloup(a)redhat.com> made a comment on [bug
1012044|https://bugzilla.redhat.com/show_bug.cgi?id=1012044]
Ok, it seems that this works for creating modules but this does not work for archive
deployments.
You have to set the id of resource adapter to name of archive with or without
".rar". Otherwise the rar is not loaded for the MDB.
But I would suppose that it should be possible to set whatever string to the id.
At least it worked in EAP 6.1.1.GA.
When you configure resource adapter as archive then you can set it like:
<subsystem xmlns="urn:jboss:domain:ejb3:1.4">
<mdb>
<resource-adapter-ref resource-adapter-name="activemq.file.rar"/>
<bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>
</mdb>
...
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.1">
<resource-adapters>
<resource-adapter id="activemq.file">
<!-- OR <resource-adapter id="activemq.file.rar"> -->
<archive>activemq.file.rar</archive>
MDBs should use the full identifier of the resource adapter
-----------------------------------------------------------
Key: WFLY-2428
URL:
https://issues.jboss.org/browse/WFLY-2428
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: EJB
Affects Versions: 8.0.0.CR1
Reporter: Jesper Pedersen
Assignee: Stefano Maestri
Fix For: 8.0.0.CR1
The .rar suffix shouldn't be stripped anymore, as the resource adapters are
registered under their full name.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira