I've got a common dir containing several xml files which my application reads. At the moment in order for the application to access them their path is added to the classpath in /bin/run.bat with the addition of the line:
Is there a way to specify this classpath in a service file instead?
You can use an MBean descriptor to change the
<?xml version="1.0" encoding="UTF-8"?>
The url can also be relative to server/default/
or whatever config you are using.
server/default/conf is already in the "classpath",
it is the first classloader installed.