"Could not find meta data META-INF/ra.xml" message deploying rar in JBoss

Solution Verified - Updated -

Issue

  • Resource adapter fails to deploy.
  • The following message occurs in the server.log :

    ERROR [org.jboss.deployment.MainDeployer] Could not initialise deployment: file:$JBOSS_HOME/server/$JBOSS_PROFILE/deploy/test.rar
    org.jboss.deployment.DeploymentException: Could not find meta data META-INF/ra.xml for deployment file:$JBOSS_HOME/server/$JBOSS_PROFILE/deploy/test.rar
    

Environment

  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content