I am trying to deploy and run servicemix in Jboss 5.1. 
So I made jboss OSGI enabled by adding a felix container to it (Developed by
JBOSS OSGI community).
I deployed a simple spring based osgi bundle example in it and was able to
register and see the bundle output.

Now, I am trying to add servicemix jars into the container. 

I added service-bean.jar(Also service-common and service-util) for the
conatiner to pick it up and register. 
I see the following warning and then an error. The full stacktrace is at the
end.

Can someone tell me what might be going wrong?


12:00:16,153 WARN  [XmlBeanDefinitionReader] Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema
document 'http://www.springframework.org/schema/beans/spring-beans.xsd',
because 1) could not find the document; 2) the document could not be read;
3) the root element of the document is not <xsd:schema>.

12:00:16,153 ERROR [ContextLoaderListener] Application context refresh
failed (OsgiBundleXmlApplicationContext(bundle=servicemix-bean,
config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
36 in XML document from URL
[bundle://131.0:0/META-INF/spring/servicemix-bean.xml] is invalid; nested
exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the
declaration of element 'beans'.
http://servicemix.396122.n5.nabble.com/file/n3397380/trace.txt trace.txt 
-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/Error-deploying-Servicemix-4-2-on-Jboss-felix-container-tp3397380p3397380.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to