Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3128

Spring app context classloader doesn't find contribution artifacts if the contribution isn't also on the application classpath

    XMLWordPrintableJSON

Details

    Description

      The SpringContextTie.createApplicationContext() operation tries to set up the beanFactory classpath to be the contribution classpath. However tracing in the debugger it seems that the GenericApplicationContext.refresh() method always sets it back to the application classpath.

      To get round this I've extended the GenericApplicationContext class to do some post processing and push the contribution classpath back into the beanFactory after it has been rest. I'll commit if I get a clean built. recently

      However there have been a number of classpath processing changes in implementation spring so it would be good if Ram could take a look at this and see if this problem has always been there or if it's just come up due to other changes.

      Attachments

        Activity

          People

            ramkumar.rj Ramkumar Ramalingam
            simonslaws Simon Laws
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: