2 Replies Latest reply on Jun 20, 2012 7:27 AM by dbuttery

    Nested jars not appearing on classpath

    dbuttery

      Hi all,

       

          Looking to see if anyone has any insight into this issue ...

       

          I am deploying a ESB that contains a jar for common classes.  The common jar itself contains some additional third-party jars.

       

          The issue is that the ESB actions cannot instantiate classes that reside in the nested third-party jars.

       

          Is this expected?  Is there a way to have the third-party jars made available on the classpath?

       

      Thanks,

      -Dennis

        • 1. Re: Nested jars not appearing on classpath
          tcunning

          I think that's the behavior you should expect.

           

          Options :

           

          - combine the JARs into an aggregated JAR that contains the classes of the common classes + the third party JARs

          - move the third party JARs out of your common class JAR and into your .esb archive or your server/default/lib directory

           

          I'm sure there are more options to, but I wouldn't expect what you are suggesting to work.

          • 2. Re: Nested jars not appearing on classpath
            dbuttery

            Tom, thanks for the response.

             

            I had already moved the third party JARs into my ESB and got it to work that way.  I was hoping to get the nested format to work though ...