1 Reply Latest reply on May 21, 2003 2:35 PM by adrian.brock

    adding classpaths to service files - possible?

    ntone606

      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:

      set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;c:\jboss3.2.1\server\project\common;

      Is there a way to specify this classpath in a service file instead?

        • 1. Re: adding classpaths to service files - possible?

          You can use an MBean descriptor to change the
          classpath.

          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE server>




          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.

          Regards,
          Adrian