2 Replies Latest reply on May 14, 2003 9:42 AM by as6o

    Adding <server>/conf dir to classpath?

    as6o

      In JBoss 2.4.x one was able to add a directory to the classpath via the ClassPathExtension MLet in jboss.conf.

      How is it done in JBoss 3.2.0? Are the command-line options the only way? Specifically, I want to add the /conf directory to the classpath/classloader. I would prefer to do it in the jboss-service.xml (or somewhere in the configuration set).

      Any help would be greatly appreciated.

      Thanks,

      -Aaron

        • 1. Re: Adding <server>/conf dir to classpath?

          element in jboss-service.xml ... ?

          • 2. Re: Adding <server>/conf dir to classpath?
            as6o

            It actually seems that the conf directory is already part of the classpath. Of course I couldn't tell because the code that needed conf to be in the classpath was within an initService() method and not a createService() method (I'm porting from 2.4.x). I was getting a failure, jumped the gun, and thought that it was a classpath issue. Sorry about that.

            Also, the docs make it seem like the element is only used to load archives - it wasn't clear if the "archive" attribute could be left empty. I suppose it should be obvious but I had doubts.

            -Aaron