2 Replies Latest reply on Mar 17, 2004 7:24 PM by sal ingrilli

    classloader error

    bayera Newbie

      due to changes in server/default/deploy/management/console-mgr.sar my jfreechart's doesn't work any more. Since jboss 3.2.3 in console-mgr.sar is a jfreechart.jar archived. We use another version of jfreechart and have this packed in our war-archiv. The problem is, the classloader seems to find the jfreechart version of the sar-archiv first.

        • 1. Re: classloader error
          Scott Stark Master

          This was fixed in the 3.2.4RC1 release by scoping the web console jars. Download this release to see how it was done as the same setup can be applied to 3.2.3.

          • 2. Re: classloader error
            sal ingrilli Newbie

            Does jbossweb-tomcat50.sar have the same problem since it uses a lot of common jars, such as ant.jar and commons-logging.jar?

            I used the management jboss-service.xml as a reference and added this, but it didn't work. Obviously this is not clear to me, and as you can guess I got a ton of exceptions... any advice?
            <loader-repository>
            jboss.web:sar=jbossweb-tomcat50.sar
            <loader-repository-config>
            java2ParentDelegation=true
            </loader-repository-config>
            </loader-repository>