This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes application classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "application classpath" Watch "application classpath" New topic

application classpath

Drake Almonto

Joined: Apr 29, 2005
Posts: 16
I am new to using JBoss. Can anyone tell me how to add a resource to an individual application's classpath in JBoss? For example, I am trying to add the xml file "beanRefFactory.xml" to the classpath for one of my applications. I am hoping to add it to the classpath for just one particular application.
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441


To add the xml as part of your application's classpath, you will have to package it as part of the application. For ex: I would create a conf folder in my EAR and place this file in that folder.

[My Blog] [JavaRanch Journal]
Drake Almonto

Joined: Apr 29, 2005
Posts: 16
That helped. Thanks!
I agree. Here's the link:
subject: application classpath
It's not a secret anymore!