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 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.