It looks like there's a bug in the block of code that loads the shared library <library> tags in the ClassLoaderXmlPreprocessor class. The block of code I'm looking at starts on line 172 and appears to reference the collection for locations and not libraries:
// Add shared libraries List<String> sls = new ArrayList<String>(); NodeList libraries = classpathElement.getElementsByTagName("library"); for (int i = 0; i < libraries.getLength(); i++) { Element locationElement = (Element) locations.item(i); String library = ((Text) locationElement.getFirstChild()).getData().trim(); sls.add(library); } if (sls.size() > 0 && container == null) { throw new IllegalStateException("Can not reference shared libraries if the component is not deployed in ServiceMix"); } -jeff -- View this message in context: http://www.nabble.com/Possible-bug-in-SU-shared-library-loading-tf3841041s12049.html#a10875885 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.