"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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.