7 Replies Latest reply on Apr 1, 2012 4:59 AM by bo qiu

    Component not installed: servicemix-camel

    bo qiu Newbie

      Hi guys,

      I do a demo about camel and cxf with servicemix.the servicemix's version is 4.4.0.

      when I start servicemix,I find the bellow error:

            15:33:08,893 | DEBUG | rint Extender: 3 | ProxySubclassGenerator           | 8 - org.apache.aries.proxy - 0.3.0 | Method entry: isProxySubclass, args

      15:33:08,893 | DEBUG | rint Extender: 3 | ProxySubclassGenerator           | 8 - org.apache.aries.proxy - 0.3.0 | Method exit: isProxySubclass, returning false

      15:33:08,893 | WARN  | mix-4.4.0/deploy | Deployer                         | 167 - org.apache.servicemix.jbi.deployer - 1.5.0 | Requirements not met for JBI artifact in bundle null (servicemix-sa). Installation pending.

      org.apache.servicemix.jbi.deployer.impl.PendingException: Component not installed: servicemix-camel

           at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.init(ServiceAssemblyInstaller.java:71)[167:org.apache.servicemix.jbi.deployer:1.5.0]

           at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:329)[167:org.apache.servicemix.jbi.deployer:1.5.0]

           at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[167:org.apache.servicemix.jbi.deployer:1.5.0]

           at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[7:org.apache.felix.fileinstall:3.1.10]

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[7:org.apache.felix.fileinstall:3.1.10]

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[7:org.apache.felix.fileinstall:3.1.10]

           at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[7:org.apache.felix.fileinstall:3.1.10]

      15:33:08,893 | DEBUG | rint Extender: 3 | ReferenceRecipe                  | 10 - org.apache.aries.blueprint - 0.3.1 | Binding reference nmr to

      15:33:08,893 | DEBUG | rint Extender: 3 | ServiceRecipe                    | 10 - org.apache.aries.blueprint - 0.3.1 | Retrieving service for bundle org.apache.servicemix.jbi.osgi and service registration org.apache.felix.framework.ServiceRegistrationImpl@c1d35

      15:33:08,893 | DEBUG | rint Extender: 3 | ServiceRecipe                    | 10 - org.apache.aries.blueprint - 0.3.1 | Method entry: getService, args org.apache.servicemix.nmr.core.ServiceMix@5c25dc

      15:33:08,893 | DEBUG | rint Extender: 3 | ProxySubclassGenerator           | 8 - org.apache.aries.proxy - 0.3.0 | Method entry: isProxySubclass, args

      15:33:08,893 | DEBUG | rint Extender: 3 | ProxySubclassGenerator           | 8 - org.apache.aries.proxy - 0.3.0 | Method exit: isProxySubclass, returning false

      15:33:08,893 | DEBUG | rint Extender: 3 | ReferenceRecipe                  | 10 - org.apache.aries.blueprint - 0.3.1 | Binding reference managementStrategy to

       

      but I type features:list |grep servicemix-camel in the cosole,find it installed.

      then I debug the log and find the infomation:

       

      15:33:05,591 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle

      15:33:05,591 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle

      15:33:05,592 | DEBUG | FelixStartLevel  | BlueprintExtender                | 10 - org.apache.aries.blueprint - 0.3.1 | Scanning bundle org.apache.camel.camel-http for blueprint application

      15:33:05,592 | DEBUG | FelixStartLevel  | BlueprintExtender                | 10 - org.apache.aries.blueprint - 0.3.1 | No blueprint application found in bundle org.apache.camel.camel-http

      15:33:05,592 | DEBUG | FelixStartLevel  | geronimo-osgi-registry           | 83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | Bundle Considered for class providers: org.apache.camel.camel-http

      15:33:05,592 | DEBUG | FelixStartLevel  | geronimo-osgi-registry           | 83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | adding bundle org.apache.camel.camel-http

      15:33:05,598 | DEBUG | lixDispatchQueue | rhino                            | 139 - org.apache.servicemix.bundles.rhino - 1.0.0.7R2_1 | BundleEvent RESOLVED

      15:33:05,601 | DEBUG | FelixStartLevel  | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Bundle started: servicemix-camel

      15:33:05,602 | DEBUG | FelixStartLevel  | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Found entry: META-INF/services/org/apache/camel/component/jbi in bundle servicemix-camel

      15:33:05,605 | DEBUG | FelixStartLevel  | servicemix-camel                 | 194 - servicemix-camel - 2011.02.0 | ServiceEvent REGISTERED

      15:33:05,607 | DEBUG | FelixStartLevel  | servicemix-camel                 | 194 - servicemix-camel - 2011.02.0 | ServiceEvent REGISTERED

      15:33:05,608 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | Scanning bundle for configurations...

      15:33:05,608 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle

      15:33:05,608 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle

      15:33:05,609 | DEBUG | FelixStartLevel  | BlueprintExtender                | 10 - org.apache.aries.blueprint - 0.3.1 | Scanning bundle servicemix-camel for blueprint application

      15:33:05,609 | DEBUG | FelixStartLevel  | BlueprintExtender                | 10 - org.apache.aries.blueprint - 0.3.1 | Found blueprint application in bundle servicemix-camel with paths: bundle://194.0:0/OSGI-INF/blueprint/servicemix-camel.xml

      15:33:05,609 | INFO  | ExtenderThread-1 | XmlBeanDefinitionReader          | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from URL bundle://179.0:0/META-INF/spring/servicemix-cxf-se.xml

      15:33:05,609 | DEBUG | FelixStartLevel  | geronimo-osgi-registry           | 83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | Bundle Considered for class providers: servicemix-camel

      15:33:05,609 | DEBUG | FelixStartLevel  | geronimo-osgi-registry           | 83 - org.apache.geronimo.specs.geronimo-osgi-registry - 1.1 | adding bundle servicemix-camel

      15:33:05,610 | DEBUG | FelixStartLevel  | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Bundle started: org.apache.activemq.kahadb

      15:33:05,621 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | Scanning bundle for configurations...

      15:33:05,621 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle

      15:33:05,621 | DEBUG | FelixStartLevel  | ContextLoaderListener            | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle

      15:33:05,631 | DEBUG | FelixStartLevel  | BlueprintExtender                | 10 - org.apache.aries.blueprint - 0.3.1 | Scanning bundle org.apache.activemq.kahadb for blueprint application

       

      I don't know why.thank you for your help!

        • 1. Re: Component not installed: servicemix-camel
          Freeman(Yue) Fang Master

          Hi,

           

          Seems you're using Apache SMX 4.4, right?

          Could you post the result of

          osgi:list -t 0

          ?

           

          How you package your SA? OSGi packaging or JBI packaging?

          Freeman

          • 2. Re: Component not installed: servicemix-camel
            bo qiu Newbie

            Hi,

            Thanks for you reply! The smx's version is 4.4.0.

            The result of osgi:list -t 0:

             

            karaf@root> osgi:list -t 0

            START LEVEL 100 , List Threshold: 0

               ID   State         Blueprint      Spring    Level  Name

            System Bundle (3.0.9)

            OPS4J Pax Url - wrap: (1.2.8)

            OPS4J Pax Url - mvn: (1.2.8)

            OPS4J Pax Logging - Service (1.6.3)

            OPS4J Pax Logging - API (1.6.3)

            Apache Felix Configuration Admin Service (1.2.8)

            Apache Felix Bundle Repository (1.6.4)

            Apache Felix File Install (3.1.10)

            Apache Aries Proxy Bundle (0.3.0)

            Apache Aries Util (0.3.0)

            Apache Aries Blueprint Bundle (0.3.1)

            Apache ServiceMix :: Bundles :: asm (3.3.0.2)

            Apache Karaf :: Deployer :: Spring (2.2.4)

            Apache Karaf :: Features :: OBR Resolver (2.2.4)

            Apache Karaf :: Shell :: Development Commands (2.2.4)

            Apache Karaf :: Diagnostic :: Core (2.2.4)

            Apache Mina SSHD :: Core (0.5.0)

            Apache Karaf :: Features :: Management (2.2.4)

            Apache Karaf :: Management (2.2.4)

            Apache Karaf :: Shell :: OSGi Commands (2.2.4)

            Apache Aries JMX Blueprint Bundle (0.3.0)

            Apache Karaf :: Admin :: Core (2.2.4)

            Apache Karaf :: Deployer :: Blueprint (2.2.4)

            Apache Karaf :: Shell :: PackageAdmin Commands (2.2.4)

            Apache Karaf :: Features :: Command (2.2.4)

            Apache Karaf :: Shell :: Console (2.2.4)

            Apache Karaf :: Diagnostic :: Command (2.2.4)

            Apache Aries JMX Bundle (0.3.0)

            Apache Karaf :: Shell :: SSH (2.2.4)

            Apache Karaf :: Features :: Core (2.2.4)

            Apache Karaf :: JAAS :: Config (2.2.4)

            Apache Karaf :: Shell :: Various Commands (2.2.4)

            Apache Karaf :: Shell :: Log Commands (2.2.4)

            Apache MINA Core (2.0.1)

            Apache Karaf :: Deployer :: Wrap Non OSGi Jar (2.2.4)

            Apache Karaf :: Jaas :: Command (2.2.4)

            Apache Karaf :: JAAS :: Modules (2.2.4)

            Apache Karaf :: Diagnostic :: Common (2.2.4)

            Apache Karaf :: Admin :: Command (2.2.4)

            Apache Karaf :: Deployer :: Features (2.2.4)

            Apache Karaf :: Admin :: Management (2.2.4)

            Apache Karaf :: Diagnostic :: Management (2.2.4)

            Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.2.4)

            activemq-broker.xml (0.0.0)

            Apache Karaf :: Shell :: ConfigAdmin Commands (2.2.4)

            kahadb (5.5.1)

            activemq-pool (5.5.1)

            activemq-console (5.5.1)

            Apache Aries Transaction Manager (0.2.0.incubating)

            activemq-ra (5.5.1)

            activemq-core (5.5.1)

                                                   Fragments: 61

            activemq-karaf (5.5.1)

            geronimo-j2ee-management_1.1_spec (1.0.1)

            Commons Pool (1.5.4)

            geronimo-jms_1.1_spec (1.1.1)

            Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)

            Commons Collections (3.2.1)

            Apache ServiceMix Bundles: velocity-1.6.2 (1.6.2.3)

            Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)

            Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)

            Apache ServiceMix Bundles: commons-lang-2.4 (2.4.0.3)

            activemq-blueprint (5.5.1)

                                                   Hosts: 50

            Apache XBean :: OSGI Blueprint Namespace Handler (3.7)

            Commons JEXL (2.0.1)

            Apache ServiceMix Specs :: Scripting API 1.0 (1.5.0)

            Spring Context (3.0.6.RELEASE)

            Spring Beans (3.0.6.RELEASE)

            Spring Context Support (3.0.6.RELEASE)

            Spring Expression Language (3.0.6.RELEASE)

            Spring ASM (3.0.6.RELEASE)

            Spring Core (3.0.6.RELEASE)

            Spring AOP (3.0.6.RELEASE)

            Apache ServiceMix :: Bundles :: aopalliance (1.0.0.5)

            spring-osgi-core (1.2.1)

            spring-osgi-io (1.2.1)

            spring-osgi-annotation (1.2.1)

            spring-osgi-extender (1.2.1)

            Apache ServiceMix :: Bundles :: cglib (2.1.0.3_7)

            activemq-spring (5.5.1)

            Apache XBean :: Spring (3.7)

            Apache ServiceMix :: Specs :: JAXB API 2.2 (1.9.0)

            Apache ServiceMix :: Specs :: Stax API 1.0 (1.9.0)

            JavaMail API (compat) (1.4.4)

            Apache Geronimo OSGI factory registry (1.1)

            Apache ServiceMix :: Specs :: JAXWS API 2.2 (1.9.0)

            Web Services Metadata 2.0 (1.1.3)

            Apache ServiceMix :: Specs :: SAAJ API 1.3 (1.9.0)

            Apache ServiceMix :: Specs :: Activation API 1.4 (1.9.0)

            Apache ServiceMix :: Specs :: JSR-311 API 1.1.1 (1.9.0)

            geronimo-annotation_1.0_spec (1.1.1)

            camel-core (2.8.3)

            Commons Management (1.0)

            camel-karaf-commands (2.8.3)

            Spring Transaction (3.0.6.RELEASE)

            camel-spring (2.8.3)

            Jetty :: Asynchronous HTTP Client (7.4.5.v20110725)

            Jetty :: Server Core (7.4.5.v20110725)

            Jetty :: Servlet Handling (7.4.5.v20110725)

            Jetty :: IO Utility (7.4.5.v20110725)

            Jetty :: Security (7.4.5.v20110725)

            Jetty :: Http Utility (7.4.5.v20110725)

            Jetty :: Continuation (7.4.5.v20110725)

            Jetty :: JNDI Naming (7.4.5.v20110725)

            Jetty :: Webapp Application Support (7.4.5.v20110725)

            Jetty :: Utility Servlets and Filters (7.4.5.v20110725)

            Jetty :: Plus (7.4.5.v20110725)

            Jetty :: JMX Management (7.4.5.v20110725)

            Jetty :: XML utilities (7.4.5.v20110725)

            Jetty :: Utilities (7.4.5.v20110725)

            geronimo-servlet_2.5_spec (1.1.2)

            OPS4J Pax Web - Service SPI (1.0.7)

            OPS4J Pax Web - Jetty (1.0.7)

            OPS4J Pax Web - API (1.0.7)

            OPS4J Pax Web - Runtime (1.0.7)

            Spring Web (3.0.6.RELEASE)

            Spring Web Servlet (3.0.6.RELEASE)

            Spring JMS (3.0.6.RELEASE)

            geronimo-jta_1.1_spec (1.1.1)

            camel-jms (2.8.3)

            activemq-camel (5.5.1)

            Apache ServiceMix :: Bundles :: jaxb-xjc (2.2.1.1_1)

            Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_1)

            OPS4J Pax Web - Extender - WAR (1.0.7)

            OPS4J Pax Web - FileInstall Deployer (1.0.7)

            OPS4J Pax Url - war (1.2.8)

            OPS4J Pax Web - Extender - Whiteboard (1.0.7)

            Apache ServiceMix :: Bundles :: opensaml (2.5.1.1)

            Joda-Time (1.6.2)

            WSS4J (1.6.3)

            Apache ServiceMix :: Bundles :: xmlsec (1.4.5.1)

            Axiom API (1.2.10)

            Abdera Parser (1.1.2)

            Axiom Impl (1.2.10)

            Abdera Extensions - Main (1.1.2)

            I18N Libraries (1.1.2)

            Abdera Core (1.1.2)

            Apache ServiceMix :: Bundles :: saaj-impl (1.3.9.2)

            Apache CXF Bundle Jar (2.4.4)

            jettison (1.3)

            Apache ServiceMix :: Bundles :: js (1.0.0.7R2_1)

            Apache ServiceMix :: Bundles :: xmlbeans (2.4.0.4)

            Woodstox XML-processor (4.1.1)

            Apache ServiceMix :: Bundles :: xmlresolver (1.2.0.3)

            Stax2 API (3.1.1)

            Commons Lang (2.6)

            Apache ServiceMix :: Bundles :: FastInfoset (1.2.7.3)

            Apache Neethi (3.0.1)

            XmlSchema Core (2.0.1)

            Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.3)

            Apache ServiceMix :: Bundles :: jdom (1.1.0.3)

            camel-cxf-transport (2.8.3)

            camel-cxf (2.8.3)

            camel-blueprint (2.8.3)

            OPS4J Pax Web - Jsp Support (1.0.7)

            Apache Karaf :: Management :: MBeans :: Web (2.2.4)

            Apache Karaf :: Shell :: Web Commands (2.2.4)

            Apache ServiceMix :: Naming (1.5.0)

            Apache Aries Transaction Manager (0.3.0)

            Apache Aries Transaction Enlisting JDBC Datasource (0.3.0)

            Apache Aries Transaction Blueprint (0.3.0)

            Apache ServiceMix :: Document (1.5.0)

            Apache ServiceMix :: NMR :: Management (1.5.0)

            Apache ServiceMix :: NMR :: Commands (1.5.0)

            Apache ServiceMix :: NMR :: API (1.5.0)

            Apache ServiceMix :: NMR :: OSGi (1.5.0)

            Apache ServiceMix :: NMR :: Core (1.5.0)

            Apache ServiceMix :: Utils (1.5.0)

            Apache ServiceMix :: JBI :: Deployer (1.5.0)

            Apache ServiceMix :: JBI :: OSGi (1.5.0)

            Apache ServiceMix :: JBI :: Runtime (1.5.0)

            Apache ServiceMix :: JBI :: Commands (1.5.0)

            Apache ServiceMix :: Components :: Shared Libraries :: Common (2011.02.0)

            Apache ServiceMix :: Specs :: JBI API 1.0 (1.9.0)

            Apache XBean :: Classloader (3.7)

            Apache ServiceMix :: Bundles :: ant (1.7.0.4)

            Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack (2011.02.0)

            Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack v2 (2011.02.0)

            Apache ServiceMix :: Components :: CXF Binding Component (2011.02.0)

            Apache CXF Runtime JBI Transport (2.4.4)

            Apache ServiceMix :: Components :: CXF Service Engine (2011.02.0)

            Apache CXF Runtime JBI Binding (2.4.4)

            Apache ServiceMix :: Components :: HTTP Binding Component (2011.02.0)

            Apache ServiceMix :: Bundles :: jetty (6.1.26.1)

            Apache ServiceMix :: Bundles :: commons-httpclient (3.1.0.5)

            camel-http (2.8.3)

            Apache ServiceMix :: Components :: Camel Service Engine (2011.02.0)

            servicemix-sa (0.0.0)

            karaf@root>

             

             

            The pom.xml of servicemix-sa :

             

             

             

            • 3. Re: Component not installed: servicemix-camel
              bo qiu Newbie

              I have tested that it runned well in the smx4.3.1.

              • 4. Re: Component not installed: servicemix-camel
                Freeman(Yue) Fang Master

                Hi,

                 

                Is it possible you append a test project which we can build and deploy to reproduce this issue? I'd take a look at it when I get chance.

                 

                Freeman

                • 5. Re: Component not installed: servicemix-camel
                  bo qiu Newbie

                  The project is in the attachment!

                  • 6. Re: Component not installed: servicemix-camel
                    Freeman(Yue) Fang Master

                    Hi,

                     

                    Finally get some chance to try your testcase.

                    I get different result, the servicemix-camel-su deploy successfully,  but the servicemix-cxfbc-su run into NPE,  that NPE generally means you didn't specify service/endpoint name or the service/endpoint name you specified mismatch the one in wsdl.

                    I  check your xbean.xml quickly, at least the endpoint name shouldn't be a QName, it should be a String, same as the port name in wsdl.

                     

                    Btw, servicemix-camel is a JBI component, as JBI is kind of deprecated, we strongly recommend  you should use camel component(like camel-cxf) instead if you start a new project.

                     

                    Below is the log when I deploy your SA testcase, I just build your testcase and copy the SA.zip to SMX_HOME/deploy folder, so the camel su is good from my side.

                     

                    Hope this helps.

                     

                    Freeman

                     

                     

                    14:33:18,798 | INFO  | mix-4.4.0/deploy | Deployer                         | 167 - org.apache.servicemix.jbi.deployer - 1.5.0 | Deploying bundle 'null (servicemix-sa)' as a JBI service assembly

                    14:33:18,852 | INFO  | mix-4.4.0/deploy | FileSystemXmlApplicationContext  | 65 - org.springframework.context - 3.0.6.RELEASE | Refreshing org.apache.xbean.spring.context.FileSystemXmlApplicationContext@38f3cab6: startup date ; root of context hierarchy

                    14:33:18,858 | INFO  | mix-4.4.0/deploy | XBeanXmlBeanDefinitionReader     | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from file /Users/ffang/apache-servicemix-4.4.0/data/jbi/servicemix-sa/sus/servicemix-camel-su/camel-context.xml

                    14:33:18,961 | INFO  | mix-4.4.0/deploy | CamelNamespaceHandler            | 94 - org.apache.camel.camel-spring - 2.8.3 | OSGi environment detected.

                     

                     

                    14:33:20,016 | INFO  | mix-4.4.0/deploy | DefaultListableBeanFactory       | 66 - org.springframework.beans - 3.0.6.RELEASE | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@efc0830: defining beans template,consumerTemplate,camel:beanPostProcessor,camel; parent: org.apache.servicemix.common.xbean.SimpleBeanFactory@74607cd0

                    14:33:20,185 | INFO  | mix-4.4.0/deploy | OsgiSpringCamelContext           | 90 - org.apache.camel.camel-core - 2.8.3 | JMX enabled. Using ManagedManagementStrategy.

                    14:33:20,204 | INFO  | mix-4.4.0/deploy | OsgiSpringCamelContext           | 90 - org.apache.camel.camel-core - 2.8.3 | Apache Camel 2.8.3 (CamelContext: camel) is starting

                    14:33:20,363 | INFO  | mix-4.4.0/deploy | AnnotationTypeConverterLoader    | 90 - org.apache.camel.camel-core - 2.8.3 | Found 3 packages with 15 @Converter classes to load

                    14:33:20,383 | INFO  | mix-4.4.0/deploy | DefaultTypeConverter             | 90 - org.apache.camel.camel-core - 2.8.3 | Loaded 164 core type converters (total 164 type converters)

                    14:33:20,386 | INFO  | mix-4.4.0/deploy | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Found 1 @Converter classes to load

                    14:33:20,388 | INFO  | mix-4.4.0/deploy | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Found 2 @Converter classes to load

                    14:33:20,392 | INFO  | mix-4.4.0/deploy | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Found 2 @Converter classes to load

                    14:33:20,396 | INFO  | mix-4.4.0/deploy | Activator                        | 90 - org.apache.camel.camel-core - 2.8.3 | Found 1 @Converter classes to load

                    14:33:21,291 | INFO  | mix-4.4.0/deploy | OsgiSpringCamelContext           | 90 - org.apache.camel.camel-core - 2.8.3 | Route: route1 started and consuming from: Endpoint[seda://a]

                    14:33:21,337 | INFO  | mix-4.4.0/deploy | OsgiSpringCamelContext           | 90 - org.apache.camel.camel-core - 2.8.3 | Total 1 routes, of which 1 is started.

                    14:33:21,339 | INFO  | mix-4.4.0/deploy | OsgiSpringCamelContext           | 90 - org.apache.camel.camel-core - 2.8.3 | Apache Camel 2.8.3 (CamelContext: camel) started in 1.133 seconds

                    14:33:21,363 | INFO  | mix-4.4.0/deploy | FileSystemXmlApplicationContext  | 65 - org.springframework.context - 3.0.6.RELEASE | Refreshing org.apache.xbean.spring.context.FileSystemXmlApplicationContext@44a38527: startup date ; root of context hierarchy

                    14:33:21,364 | INFO  | mix-4.4.0/deploy | XBeanXmlBeanDefinitionReader     | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from file /Users/ffang/apache-servicemix-4.4.0/data/jbi/servicemix-sa/sus/servicemix-cxfbc-su/xbean.xml

                    14:33:21,367 | INFO  | mix-4.4.0/deploy | XBeanXmlBeanDefinitionReader     | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from class path resource

                    14:33:21,399 | INFO  | mix-4.4.0/deploy | XBeanXmlBeanDefinitionReader     | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from class path resource

                    14:33:21,410 | INFO  | mix-4.4.0/deploy | XBeanXmlBeanDefinitionReader     | 66 - org.springframework.beans - 3.0.6.RELEASE | Loading XML bean definitions from class path resource

                    14:33:21,448 | INFO  | mix-4.4.0/deploy | DefaultListableBeanFactory       | 66 - org.springframework.beans - 3.0.6.RELEASE | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@65dfc5e: defining beans ; parent: org.apache.servicemix.common.xbean.SimpleBeanFactory@29ee9771

                    14:33:21,475 | WARN  | mix-4.4.0/deploy | OldSpringSupport                 | 140 - org.apache.cxf.bundle - 2.4.4 | Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated and is unnecessary.

                    14:33:21,477 | WARN  | mix-4.4.0/deploy | OldSpringSupport                 | 140 - org.apache.cxf.bundle - 2.4.4 | Import of META-INF/cxf/cxf-extension-http-jetty.xml has been deprecated and is unnecessary.

                    14:33:21,832 | ERROR | mix-4.4.0/deploy | DefaultComponent                 | 171 - servicemix-common - 2011.02.0 | java.lang.NullPointerException

                    14:33:21,832 | INFO  | mix-4.4.0/deploy | FileSystemXmlApplicationContext  | 65 - org.springframework.context - 3.0.6.RELEASE | Closing org.apache.xbean.spring.context.FileSystemXmlApplicationContext@44a38527: startup date ; root of context hierarchy

                    14:33:21,832 | INFO  | mix-4.4.0/deploy | DefaultListableBeanFactory       | 66 - org.springframework.beans - 3.0.6.RELEASE | Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@65dfc5e: defining beans ; parent: org.apache.servicemix.common.xbean.SimpleBeanFactory@29ee9771

                    14:33:21,833 | ERROR | mix-4.4.0/deploy | ServiceAssemblyInstaller         | 167 - org.apache.servicemix.jbi.deployer - 1.5.0 | Error deploying SU servicemix-cxfbc-su

                    javax.jbi.management.DeploymentException: java.lang.NullPointerException

                         at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:571)[178:servicemix-cxf-bc:2011.02.0]

                         at org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)[171:servicemix-common:2011.02.0]

                         at org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:57)[171:servicemix-common:2011.02.0]

                         at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:96)[171:servicemix-common:2011.02.0]

                         at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:86)[171:servicemix-common:2011.02.0]

                         at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[171:servicemix-common:2011.02.0]

                         at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[167:org.apache.servicemix.jbi.deployer:1.5.0]

                         at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[167:org.apache.servicemix.jbi.deployer:1.5.0]

                         at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[167:org.apache.servicemix.jbi.deployer:1.5.0]

                         at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)[167:org.apache.servicemix.jbi.deployer:1.5.0]

                         at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[167:org.apache.servicemix.jbi.deployer:1.5.0]

                         at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3761)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.framework.Felix.startBundle(Felix.java:1787)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]

                         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[7:org.apache.felix.fileinstall:3.1.10]

                         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[7:org.apache.felix.fileinstall:3.1.10]

                         at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[7:org.apache.felix.fileinstall:3.1.10]

                         at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[7:org.apache.felix.fileinstall:3.1.10]

                    Caused by: java.lang.NullPointerException

                         at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:441)[178:servicemix-cxf-bc:2011.02.0]

                         ... 20 more

                    • 7. Re: Component not installed: servicemix-camel
                      bo qiu Newbie

                      Thanks,I restart the smx,but the same error is appeared.

                      Now I have a try to deploy in the osgi container.

                      The document website is bellow.

                      http://fusesource.com/docs/esb/4.4.1/cxf_endpoints/ESBMavenOSGiAppx.html