File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to set external config directory on classpath ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to set external config directory on classpath ?" Watch "How to set external config directory on classpath ?" New topic
Author

How to set external config directory on classpath ?

Czeslaw Szczotka
Greenhorn

Joined: May 16, 2010
Posts: 8
Hi,
I’m running web application on jboss 5.1. This web application is deployed in external directory ( I have proper entry set in jboss conf/boostrap/profile.xml ) .
Today war contains all configuration files like ( xml –s, spring context xml -s, properties ). Is it possible separate those configuration files from war and put into external config directory ? What should I change in jboss configuration so those config file –s will be available on classpath ?
uttam kumar
Ranch Hand

Joined: Jan 27, 2009
Posts: 128

You can add the folder into JBOSS_CLASSPATH in run.bat
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

The server/xxx/conf directory is part of the classpath for a web app, so you could place the configuration files there.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to set external config directory on classpath ?