The moose likes JBoss and the fly likes modifying Jboss classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "modifying Jboss classpath " Watch "modifying Jboss classpath " New topic
Author

modifying Jboss classpath

Dyann Sri
Greenhorn

Joined: Dec 13, 2007
Posts: 27
I have an jar file named "xyz.jar" that have the file "abc.xml" and I have one more file with same name "abc.xml" seperate from "xyz.jar" . I would like to have the JBoss to see the "abc.xml" which isnt bundled with "xyz.jar" in the first place . The reason is , the file "abc.xml" that placed externally can be exposed for modification and that way Jboss can see that modification without restaring the server.

How can I achieve this .. I mean how can I set the classpath for Jboss to see the "abc.xml" that isnt bundled with "xyz.jar"
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4489

Try placing the XML file in server/xxx/conf - that directory is in the classpath (though I don't know if it will be first or not, but a simple test should tell you).


JBoss In Action
 
 
subject: modifying Jboss classpath
 
developer file tools