How to add a dir in jbos-service.xml to load classes

Solution Unverified - Updated -

Issue

  • We have a folder containing java packages and classes, rather than JAR files. How can we add this folder in jboss-service.xml? We have already tried something like:
<classpath codebase="file:/${myapp.home}/common/bo" archive="classes"/>

This doesn't seem to be picking up the classes.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x

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.