At first sight, the pb looks like this: ServiceMix seems not to look at "install" repository at startup time, but after (looks too late).

I am using <http:endpoint> in my servicemix.xml definition.
And servicemix-http-3.1-incubating-installer.zip is in the "install" repository + I moved components/lib into lib/optional.
I launched bin\servicemix servicemix.xml

But while starting, ServiceMix write:
DEBUG - XBeanNamespaceHandler - Could not find resource: META-INF/services/org/xbean/spring/http/servicemix.apache.org/http/1.0 Caught: org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://servicemix.apache.org/http/1.0 org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized xbean namespace mapping: http://servicemix.apache.org/http/1.0 at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:262)

So, ServiceMix seems not to look at "install" repository at startup time, but after (too late).

The configuration seems correct : <sm:container id="jbi" ...
 installationDirPath="./install"
 monitorInstallationDirectory="true">

And the servicemix.xml works as expected, when I unzip all install ZIP files into lib repository.

Is it a bug ? If not, why not scan at startup the "install" repository and then, run servicemix.xml ?

Thanks.

Dominique


Reply via email to