ClassNotFoundException for Classes Located in Jars in a SAR's lib Directory in JBoss EAP 5

Solution Verified - Updated -

Issue

  • In our application we are placing the our jar files at the location /server/all/deploy/mysar.sar/lib. ClassNotFoundExceptions are encountered. However, if we place the same jar file at one level up, i.e, /server/all/deploy/mysar.sar/, it works fine. Do we need to make any changes in the configuration to make this work?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.0
    • 5.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