java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData Exception when deploying EAR with client module

Solution Unverified - Updated -

Issue

  • We created EAR file and trying deploy into the Jboss server, we are getting the following exception java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData for interface: XYZLocal.
  • This class is from ABC project, we don't want to add ABC.jar and want to add only client(ABC_Client.jar) to the EAR.
  • We are trying to separate out local/remote business interfaces (EJB 2.1) in separate module(s) (as ABC_Client.jar).
  • We have local references to EJBs and are trying to use above ejb client jar to refer to those EJBs.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.1
  • Eclipse with WTP/XDoclet plugin to generate EJB 2.1

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