The first exception is a spec requirement - see the references in the exception. You can disable the archive validator, but it is best to fix the resource adapter such that it validates against the spec.
The second issue is fixed in https://issues.jboss.org/browse/JBJCA-789