I've been getting the following error with default maven-generated project as well as custom adapters. The resource adapters deploy and are usable in a full JBoss AS deployment, but I'm unable to perform any integration tests with the embedded IronJacamar. The ironjacamar.xml files have the jndi-name attributes, yet I'm still getting this error. The problem exists using IronJacamar 1.0.3 (shipped with JBoss AS 7.0.2.Final) as well as IronJacamar 1.0.6.Final and 1.0.7.Final.

I know the output is wrong. The actual resource adapter I'm creating contains only the libraries necessary for it to run, not including the ironjacamar-* or jboss-* jars per the documentation. THAT resource adapter deploys successfully into a running JBoss AS 7.0.2.Final instance with IronJacamar 1.0.3.Final and (to the best of my knowledge) works as it should.

The problem I'm having is that I am unable to perform automated integration tests using embedded IronJacamar with Arquillian. All my tests thus far have consisted of "eyeball checks" against a WAR containing different test cases triggered by manually accessing web pages.

To confirm that the problem wasn't related to MY code, I used the code generator to create a skeleton adapter and then performed the integration test with it. I have the EXACT SAME error in MY resource adapter, as well as the one created with the code generator.

Using AS 7.1.0.Final you will need two @Deployment with an 'order' attribute - one for the RAR (1) and one for the WAR (2) - but those types of questions are better answered in the ShrinkWrap/Arquillian/AS7 forums.

For IronJamacar/Embedded we don't have a web container for WAR->RAR testing - you will need pure JUnit test cases against the resource adapter. You can check our test suite for examples - otherwise the user guide contains a basic example too.

Having said that, an optional web container integration for IronJacamar/Embedded would be a nice contribution.

And we are always looking for feedback for the testing scenario, since it is one of the focus areas for IronJacamar 1.1.