using JBoss-AS 7.1.0-SNAPSHOT I put this into standalone-full.xml
this works perfect.
But in the past with the previous JBoss versions we used an external file to configure the resource adapater.
So I put the lines shown above into a file called maj2e-langfr-dev-ra.xml (see attached).
I validated the file against the schema definition succesfully.
Then copied it into $JBOSS_HOME/standalone/deployments/. JBoss says, the file got deployed.
But the resource adapter is not activated.
Can't see it on jboss-console web-app and do not see the "Bound JCA ConnectionFactory to [java:/eis/maj2e-langfr-dev/Controller]" message.
What am I missing?
maj2e-langfr-dev-ra.xml 847 bytes
There is no -ra.xml deployment in JBoss AS 7 -- this only works in IronJacamar/Standalone.
The proper way to do it is to add an META-INF/ironjacamar.xml with the activation configuration. Schema: http://docs.jboss.org/ironjacamar/schema/ironjacamar_1_0.xsd
With META-INF/ironjacamar.xml you mean the RAR-file?
At least that's what I found in the manuals today.
That's not what I'm looking for.
In the past I deplyoed an controller.rar file once.
Then for every ear-file deployed afterwards we also generated a ...-ds.xml file defining the connection-factory definition based on http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd
Because each application connects to different lagacy system.
How to achieve this with Ironjacamar within AS7?
But where do you mean to put this information?
I know I can define them in standalone.xml or using the WebConsole.
But can I have a separate external xml-file for each required connection as I had in the past for AS6 and AS4?
To deploy and undeploy it along with the ear file?
I cannot name all the connections in advance.