2 Replies Latest reply on Oct 22, 2004 12:38 AM by bwallis42

    What classloader for $JBOSS_HOME/<server-name>/default/lib

    bwallis42

      I am working through a class loader issue and was wanting to change the value of jboss.server.lib.url to point to my own server lib directory that is not under the server/<server-name> directory.

      It doesn't seem to work, I still seem to be using the lib directory under the server/<server-name> directory. I tried tracing through the code and have the following issues/questions
      - the value in the jboss.server.lib.url property doesn't seem to be used, is it and where?
      - I cannot find which classloader is used for the jars in the server lib dir.

      Running 3.2.3 under linux (2.6.7/glibc2.3.3) and jdk 1.4.2_05

      thanks.

        • 1. Re: What classloader for $JBOSS_HOME/<server-name>/default/l
          bwallis42

          Oops, topic was mean't to be
          What classloader for $JBOSS_HOME/<server-name>/lib

          • 2. Re: What classloader for $JBOSS_HOME/<server-name>/default/l
            bwallis42

             

            "bwallis42" wrote:
            I am working through a class loader issue and was wanting to change the value of jboss.server.lib.url to point to my own server lib directory that is not under the server/<server-name> directory.

            It doesn't seem to work, I still seem to be using the lib directory under the server/<server-name> directory. I tried tracing through the code and have the following issues/questions
            - the value in the jboss.server.lib.url property doesn't seem to be used, is it and where?


            To anwer my own old question, I have resolved this. jboss.server.lib.url property is not used, the correct way to specify the location of the server lib directory is by changing or adding
            <classpath>
            entries in the ${jboss.server.home.dir}/conf/jboss-service.xml file.

            I submitted a bug suggesting that jboss.server.lib.url should be deprecated and generate a warning if used.