Packages listed in jboss.modules.system.pkgs cannot also be loaded from a deployment or module in JBoss EAP 6

Solution Verified - Updated -

Issue

  • Two jars contain classes with the same package. One of those jars is in -Djboss.modules.system.pkgs. The other jar is an ejb module deployed into an EAP6 server. -Djboss.modules.system.pkgs seems to make the classes in the EJB in the referenced package invisible from the application.

  • Packages listed in jboss.modules.system.pkgs cannot also be loaded from a deployment or module

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 6

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