How to put a debug jar in a custom module to override classes in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • EAP 6.x module questoins, how use debug.jar like did in EAP 5.x
  • In EAP 5 we added to the classpath in the jboss-service.xml and would add a debug.jar which overrode our other classes for debugging purposes, we are migrating to EAP 6 and cerating custom modules, how can we put a debug.jar in our custom modules to override classes for debugging?
...
   <classpath codebase="../../../lib/debug" archives="debug.jar"/>

   <classpath codebase="../../../lib/common" archives="my-common.jar"/>
    ...

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.x

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