I have noticed that if my resource adapter is within a ear, the ear is deployed, but the rar is not deploying correctly. The same rar deploys correctly if it is outside the ear. This is a legacy application that works correctly in AS6/AS61
I added proper declaration for the resource-adapter in standalone-full.xml, e.g.:
<connection-definition class-name="com.test.connector.HelloWorldManagedConnectionFactory" jndi-name="java:/HelloWorldConnectionFactory" enabled="true" use-java-context="true" pool-name="HelloWorldConnectionFactory" use-ccm="true">
However, after the server starts, the archive entry is changes to something like this:
Obviously this is incorrect.
I experimented and found that if I pulled the rar out of the ear, (using appropriate archive value change for the resource-adapter), then I am able to successfully deploy both the rar and the ear. In that case, I see a message logged like the one below and my application works correctly.
16:46:02,315 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-2) JBAS010401: Bound JCA ConnectionFactory [java:/HelloWorldConnectionFactory]
Tried build #524 from Feb3. The error is there as well.
Is this a known issue?
Thanks in advance!