2 Replies Latest reply on Aug 30, 2010 11:50 AM by ccustine

    4.3.0-fuse-00-00 fails right out of the box

    cyberdefender

      Not sure where to put all these bugs I am finding.  For one thing the top menu in the forum does not work.  Its places itself vertically and not horizontally.  But the real issue I am reporting is the exception being thrown when following the instructions in the karaf-manual-2.0.0.pdf for the starter example.

       

      karaf@root> Exception in thread "SpringOsgiExtenderThread-6" java.lang.IllegalSt

      ateException: BeanFactory not initialized or already closed - call 'refresh' bef

      ore accessing beans via the ApplicationContext

       

      Looking at the exception log it showed the following:

       

      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 2 in

      XML document from URL bundle://171.0:0/META-INF/spring/camelContext.xml is in valid; nested exception is org.xml.sax.SAXParseException: TargetNamespace.1: Expecting namespace 'http://activemq.apache.org/camel/schema/spring', but the target namespace of the schema document is 'http://camel.apache.org/schema/spring'.

        • 1. Re: 4.3.0-fuse-00-00 fails right out of the box
          ffang

          Hi,

           

          I think this is caused by starter example is out-of-data for the FUSE ESB 4.3.0-fuse-00-00.

          The activemq namespace is for Camel 1.x

          The camel namespace is for Camel 2.x.

          And FUSE ESB 4.3.0-fuse-00-00 is using camel 2.x

           

          Freeman

          • 2. Re: 4.3.0-fuse-00-00 fails right out of the box
            ccustine

            Thanks for pointing this out.  Those are simply obsolete bundle versions in the getting started guide.  We'll update the docs, but in the mean time you can use

             

            >osgi:install -s mvn:org.apache.camel/camel-example-osgi/2.4.0

             

            and we also have a similar example in the ServiceMix examples directory.  You can install that one as a feature like this:

             

            >features:install examples-camel-osgi

             

            Thanks,

            Chris