Forum Home » Fuse Distributions » Fuse ESB

Thread: Component not installed: servicemix-camel

 
This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 7 - Last Post: Apr 1, 2012 8:59 AM Last Post By: xiaoqiu
xiaoqiu

Posts: 9
Registered: 01/05/12
Component not installed: servicemix-camel
Posted: Mar 22, 2012 7:53 AM
 
  Click to reply to this thread Reply
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 http://interface org.apache.servicemix.nmr.api.NMR
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 http://org.apache.servicemix.nmr.api.NMR
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 168 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 http://interface org.fusesource.commons.management.ManagementStrategy
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 http://org.fusesource.commons.management.ManagementStrategy

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 http://camel-http (org.apache.camel.camel-http)
15:33:05,591 | DEBUG | FelixStartLevel | ContextLoaderListener | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle http://camel-http (org.apache.camel.camel-http)
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 191
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 Apache ServiceMix :: Components :: Camel Service Engine (servicemix-camel) for configurations...
15:33:05,608 | DEBUG | FelixStartLevel | ContextLoaderListener | 76 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle Apache ServiceMix :: Components :: Camel Service Engine (servicemix-camel)
15:33:05,608 | DEBUG | FelixStartLevel | ContextLoaderListener | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle Apache ServiceMix :: Components :: Camel Service Engine (servicemix-camel)
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 194
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 http://kahadb (org.apache.activemq.kahadb) for configurations...
15:33:05,621 | DEBUG | FelixStartLevel | ContextLoaderListener | 76 - org.springframework.osgi.extender - 1.2.1 | Creating an application context for bundle http://kahadb (org.apache.activemq.kahadb)
15:33:05,621 | DEBUG | FelixStartLevel | ContextLoaderListener | 76 - org.springframework.osgi.extender - 1.2.1 | No application context created for bundle http://kahadb (org.apache.activemq.kahadb)
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!
ffang

Posts: 1,320
Registered: 12/24/07
Re: Component not installed: servicemix-camel
Posted: Mar 22, 2012 9:34 AM   in response to: xiaoqiu in response to: xiaoqiu
 
  Click to reply to this thread Reply
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
xiaoqiu

Posts: 9
Registered: 01/05/12
Re: Component not installed: servicemix-camel
Posted: Mar 22, 2012 10:14 AM   in response to: ffang in response to: ffang
 
  Click to reply to this thread Reply
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
0 Active [ ] [ ] 0 System Bundle (3.0.9)
1 Active [ ] [ ] 5 OPS4J Pax Url - wrap: (1.2.8)
2 Active [ ] [ ] 5 OPS4J Pax Url - mvn: (1.2.8)
3 Active [ ] [ ] 8 OPS4J Pax Logging - Service (1.6.3)
4 Active [ ] [ ] 8 OPS4J Pax Logging - API (1.6.3)
5 Active [ ] [ ] 10 Apache Felix Configuration Admin Service (1.2.8)
6 Active [ ] [ ] 10 Apache Felix Bundle Repository (1.6.4)
7 Active [ ] [ ] 11 Apache Felix File Install (3.1.10)
8 Active [ ] [ ] 20 Apache Aries Proxy Bundle (0.3.0)
9 Active [ ] [ ] 20 Apache Aries Util (0.3.0)
10 Active Created [ ] 20 Apache Aries Blueprint Bundle (0.3.1)
11 Active [ ] [ ] 20 Apache ServiceMix :: Bundles :: asm (3.3.0.2)
12 Active Created [ ] 30 Apache Karaf :: Deployer :: Spring (2.2.4)
13 Active Created [ ] 30 Apache Karaf :: Features :: OBR Resolver (2.2.4)
14 Active Created [ ] 30 Apache Karaf :: Shell :: Development Commands (2.2.4)
15 Active [ ] [ ] 30 Apache Karaf :: Diagnostic :: Core (2.2.4)
16 Active [ ] [ ] 30 Apache Mina SSHD :: Core (0.5.0)
17 Active Created [ ] 30 Apache Karaf :: Features :: Management (2.2.4)
18 Active Created [ ] 30 Apache Karaf :: Management (2.2.4)
19 Active Created [ ] 30 Apache Karaf :: Shell :: OSGi Commands (2.2.4)
20 Active [ ] [ ] 30 Apache Aries JMX Blueprint Bundle (0.3.0)
21 Active Created [ ] 30 Apache Karaf :: Admin :: Core (2.2.4)
22 Active Created [ ] 30 Apache Karaf :: Deployer :: Blueprint (2.2.4)
23 Active Created [ ] 30 Apache Karaf :: Shell :: PackageAdmin Commands (2.2.4)
24 Active Created [ ] 30 Apache Karaf :: Features :: Command (2.2.4)
25 Active Created [ ] 30 Apache Karaf :: Shell :: Console (2.2.4)
26 Active Created [ ] 30 Apache Karaf :: Diagnostic :: Command (2.2.4)
27 Active [ ] [ ] 30 Apache Aries JMX Bundle (0.3.0)
28 Active Created [ ] 30 Apache Karaf :: Shell :: SSH (2.2.4)
29 Active Created [ ] 30 Apache Karaf :: Features :: Core (2.2.4)
30 Active Created [ ] 30 Apache Karaf :: JAAS :: Config (2.2.4)
31 Active Created [ ] 30 Apache Karaf :: Shell :: Various Commands (2.2.4)
32 Active Created [ ] 30 Apache Karaf :: Shell :: Log Commands (2.2.4)
33 Active [ ] [ ] 30 Apache MINA Core (2.0.1)
34 Active Created [ ] 30 Apache Karaf :: Deployer :: Wrap Non OSGi Jar (2.2.4)
35 Active Created [ ] 30 Apache Karaf :: Jaas :: Command (2.2.4)
36 Active Created [ ] 30 Apache Karaf :: JAAS :: Modules (2.2.4)
37 Active Created [ ] 30 Apache Karaf :: Diagnostic :: Common (2.2.4)
38 Active Created [ ] 30 Apache Karaf :: Admin :: Command (2.2.4)
39 Active Created [ ] 30 Apache Karaf :: Deployer :: Features (2.2.4)
40 Active Created [ ] 30 Apache Karaf :: Admin :: Management (2.2.4)
41 Active Created [ ] 30 Apache Karaf :: Diagnostic :: Management (2.2.4)
42 Active Created [ ] 30 Apache Karaf :: Deployer :: Karaf Archive (.kar) (2.2.4)
43 Active Created [ ] 60 activemq-broker.xml (0.0.0)
44 Active Created [ ] 30 Apache Karaf :: Shell :: ConfigAdmin Commands (2.2.4)
45 Active [ ] [ ] 60 kahadb (5.5.1)
46 Active [ ] [ ] 60 activemq-pool (5.5.1)
47 Active [ ] [ ] 60 activemq-console (5.5.1)
48 Active [ ] [ ] 60 Apache Aries Transaction Manager (0.2.0.incubating)
49 Active [ ] [ ] 60 activemq-ra (5.5.1)
50 Active Created [ ] 60 activemq-core (5.5.1)
Fragments: 61
51 Active Created [ ] 60 activemq-karaf (5.5.1)
52 Active [ ] [ ] 60 geronimo-j2ee-management_1.1_spec (1.0.1)
53 Active [ ] [ ] 60 Commons Pool (1.5.4)
54 Active [ ] [ ] 60 geronimo-jms_1.1_spec (1.1.1)
55 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)
56 Active [ ] [ ] 60 Commons Collections (3.2.1)
57 Active [ ] [ ] 60 Apache ServiceMix Bundles: velocity-1.6.2 (1.6.2.3)
58 Active [ ] [ ] 60 Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)
59 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)
60 Active [ ] [ ] 60 Apache ServiceMix Bundles: commons-lang-2.4 (2.4.0.3)
61 Resolved [ ] [ ] 60 activemq-blueprint (5.5.1)
Hosts: 50
62 Active Created [ ] 60 Apache XBean :: OSGI Blueprint Namespace Handler (3.7)
63 Active [ ] [ ] 60 Commons JEXL (2.0.1)
64 Active [ ] [ ] 60 Apache ServiceMix Specs :: Scripting API 1.0 (1.5.0)
65 Active [ ] [ ] 30 Spring Context (3.0.6.RELEASE)
66 Active [ ] [ ] 30 Spring Beans (3.0.6.RELEASE)
67 Active [ ] [ ] 30 Spring Context Support (3.0.6.RELEASE)
68 Active [ ] [ ] 30 Spring Expression Language (3.0.6.RELEASE)
69 Active [ ] [ ] 30 Spring ASM (3.0.6.RELEASE)
70 Active [ ] [ ] 30 Spring Core (3.0.6.RELEASE)
71 Active [ ] [ ] 30 Spring AOP (3.0.6.RELEASE)
72 Active [ ] [ ] 30 Apache ServiceMix :: Bundles :: aopalliance (1.0.0.5)
73 Active [ ] [ ] 30 spring-osgi-core (1.2.1)
74 Active [ ] [ ] 30 spring-osgi-io (1.2.1)
75 Active [ ] [ ] 30 spring-osgi-annotation (1.2.1)
76 Active [ ] [ ] 30 spring-osgi-extender (1.2.1)
77 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: cglib (2.1.0.3_7)
78 Active [ ] [ ] 60 activemq-spring (5.5.1)
79 Active [ ] [ ] 60 Apache XBean :: Spring (3.7)
80 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: JAXB API 2.2 (1.9.0)
81 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: Stax API 1.0 (1.9.0)
82 Active [ ] [ ] 10 JavaMail API (compat) (1.4.4)
83 Active [ ] [ ] 9 Apache Geronimo OSGI factory registry (1.1)
84 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: JAXWS API 2.2 (1.9.0)
85 Active [ ] [ ] 10 Web Services Metadata 2.0 (1.1.3)
86 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: SAAJ API 1.3 (1.9.0)
87 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: Activation API 1.4 (1.9.0)
88 Active [ ] [ ] 10 Apache ServiceMix :: Specs :: JSR-311 API 1.1.1 (1.9.0)
89 Active [ ] [ ] 10 geronimo-annotation_1.0_spec (1.1.1)
90 Active [ ] [ ] 50 camel-core (2.8.3)
91 Active [ ] [ ] 50 Commons Management (1.0)
92 Active Created [ ] 50 camel-karaf-commands (2.8.3)
93 Active [ ] [ ] 30 Spring Transaction (3.0.6.RELEASE)
94 Active [ ] [ ] 50 camel-spring (2.8.3)
95 Active [ ] [ ] 60 Jetty :: Asynchronous HTTP Client (7.4.5.v20110725)
96 Active [ ] [ ] 60 Jetty :: Server Core (7.4.5.v20110725)
97 Active [ ] [ ] 60 Jetty :: Servlet Handling (7.4.5.v20110725)
98 Active [ ] [ ] 60 Jetty :: IO Utility (7.4.5.v20110725)
99 Active [ ] [ ] 60 Jetty :: Security (7.4.5.v20110725)
100 Active [ ] [ ] 60 Jetty :: Http Utility (7.4.5.v20110725)
101 Active [ ] [ ] 60 Jetty :: Continuation (7.4.5.v20110725)
102 Active [ ] [ ] 60 Jetty :: JNDI Naming (7.4.5.v20110725)
103 Active [ ] [ ] 60 Jetty :: Webapp Application Support (7.4.5.v20110725)
104 Active [ ] [ ] 60 Jetty :: Utility Servlets and Filters (7.4.5.v20110725)
105 Active [ ] [ ] 60 Jetty :: Plus (7.4.5.v20110725)
106 Active [ ] [ ] 60 Jetty :: JMX Management (7.4.5.v20110725)
107 Active [ ] [ ] 60 Jetty :: XML utilities (7.4.5.v20110725)
108 Active [ ] [ ] 60 Jetty :: Utilities (7.4.5.v20110725)
109 Active [ ] [ ] 60 geronimo-servlet_2.5_spec (1.1.2)
110 Active [ ] [ ] 60 OPS4J Pax Web - Service SPI (1.0.7)
111 Active [ ] [ ] 60 OPS4J Pax Web - Jetty (1.0.7)
112 Active [ ] [ ] 60 OPS4J Pax Web - API (1.0.7)
113 Active [ ] [ ] 60 OPS4J Pax Web - Runtime (1.0.7)
114 Active [ ] [ ] 30 Spring Web (3.0.6.RELEASE)
115 Active [ ] [ ] 30 Spring Web Servlet (3.0.6.RELEASE)
116 Active [ ] [ ] 30 Spring JMS (3.0.6.RELEASE)
117 Active [ ] [ ] 10 geronimo-jta_1.1_spec (1.1.1)
118 Active [ ] [ ] 50 camel-jms (2.8.3)
119 Active [ ] [ ] 50 activemq-camel (5.5.1)
120 Active [ ] [ ] 20 Apache ServiceMix :: Bundles :: jaxb-xjc (2.2.1.1_1)
121 Active [ ] [ ] 20 Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_1)
122 Active [ ] [ ] 60 OPS4J Pax Web - Extender - WAR (1.0.7)
123 Active [ ] [ ] 60 OPS4J Pax Web - FileInstall Deployer (1.0.7)
124 Active [ ] [ ] 60 OPS4J Pax Url - war (1.2.8)
125 Active [ ] [ ] 60 OPS4J Pax Web - Extender - Whiteboard (1.0.7)
126 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: opensaml (2.5.1.1)
127 Active [ ] [ ] 60 Joda-Time (1.6.2)
128 Active [ ] [ ] 60 WSS4J (1.6.3)
129 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: xmlsec (1.4.5.1)
130 Active [ ] [ ] 60 Axiom API (1.2.10)
131 Active [ ] [ ] 60 Abdera Parser (1.1.2)
132 Active [ ] [ ] 60 Axiom Impl (1.2.10)
133 Active [ ] [ ] 60 Abdera Extensions - Main (1.1.2)
134 Active [ ] [ ] 60 I18N Libraries (1.1.2)
135 Active [ ] [ ] 60 Abdera Core (1.1.2)
136 Active [ ] [ ] 25 Apache ServiceMix :: Bundles :: saaj-impl (1.3.9.2)
137 Active Created [ ] 60 Apache CXF Bundle Jar (2.4.4)
138 Active [ ] [ ] 60 jettison (1.3)
139 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: js (1.0.0.7R2_1)
140 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: xmlbeans (2.4.0.4)
141 Active [ ] [ ] 20 Woodstox XML-processor (4.1.1)
142 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: xmlresolver (1.2.0.3)
143 Active [ ] [ ] 20 Stax2 API (3.1.1)
144 Active [ ] [ ] 60 Commons Lang (2.6)
145 Active [ ] [ ] 20 Apache ServiceMix :: Bundles :: FastInfoset (1.2.7.3)
146 Active [ ] [ ] 60 Apache Neethi (3.0.1)
147 Active [ ] [ ] 60 XmlSchema Core (2.0.1)
148 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.3)
149 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: jdom (1.1.0.3)
150 Active [ ] [ ] 50 camel-cxf-transport (2.8.3)
151 Active Created [ ] 50 camel-cxf (2.8.3)
152 Active Created [ ] 50 camel-blueprint (2.8.3)
153 Active [ ] [ ] 60 OPS4J Pax Web - Jsp Support (1.0.7)
154 Active Created [ ] 30 Apache Karaf :: Management :: MBeans :: Web (2.2.4)
155 Active Created [ ] 30 Apache Karaf :: Shell :: Web Commands (2.2.4)
156 Active [ ] [ ] 60 Apache ServiceMix :: Naming (1.5.0)
157 Active [ ] [ ] 60 Apache Aries Transaction Manager (0.3.0)
158 Active [ ] [ ] 60 Apache Aries Transaction Enlisting JDBC Datasource (0.3.0)
159 Active Created [ ] 60 Apache Aries Transaction Blueprint (0.3.0)
160 Active [ ] [ ] 60 Apache ServiceMix :: Document (1.5.0)
161 Active Created [ ] 60 Apache ServiceMix :: NMR :: Management (1.5.0)
162 Active Created [ ] 60 Apache ServiceMix :: NMR :: Commands (1.5.0)
163 Active [ ] [ ] 60 Apache ServiceMix :: NMR :: API (1.5.0)
164 Active Created [ ] 60 Apache ServiceMix :: NMR :: OSGi (1.5.0)
165 Active [ ] [ ] 60 Apache ServiceMix :: NMR :: Core (1.5.0)
166 Active [ ] [ ] 60 Apache ServiceMix :: Utils (1.5.0)
167 Active Created [ ] 60 Apache ServiceMix :: JBI :: Deployer (1.5.0)
168 Active Created [ ] 60 Apache ServiceMix :: JBI :: OSGi (1.5.0)
169 Active [ ] [ ] 60 Apache ServiceMix :: JBI :: Runtime (1.5.0)
170 Active Created [ ] 60 Apache ServiceMix :: JBI :: Commands (1.5.0)
171 Active Created [ ] 60 Apache ServiceMix :: Components :: Shared Libraries :: Common (2011.02.0)
172 Active [ ] [ ] 60 Apache ServiceMix :: Specs :: JBI API 1.0 (1.9.0)
173 Active [ ] [ ] 60 Apache XBean :: Classloader (3.7)
174 Active [ ] [ ] 60 Apache ServiceMix :: Bundles :: ant (1.7.0.4)
175 Active [ ] [ ] 50 Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack (2011.02.0)
176 Active [ ] [ ] 50 Apache ServiceMix :: Components :: Shared Libraries :: SOAP Stack v2 (2011.02.0)
177 Active Created [ ] 50 Apache ServiceMix :: Components :: CXF Binding Component (2011.02.0)
178 Active [ ] [ ] 50 Apache CXF Runtime JBI Transport (2.4.4)
179 Active [ ] [ ] 50 Apache ServiceMix :: Components :: CXF Service Engine (2011.02.0)
180 Active [ ] [ ] 50 Apache CXF Runtime JBI Binding (2.4.4)
188 Active Created [ ] 50 Apache ServiceMix :: Components :: HTTP Binding Component (2011.02.0)
189 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: jetty (6.1.26.1)
190 Active [ ] [ ] 50 Apache ServiceMix :: Bundles :: commons-httpclient (3.1.0.5)
191 Active [ ] [ ] 50 camel-http (2.8.3)
194 Active Created [ ] 50 Apache ServiceMix :: Components :: Camel Service Engine (2011.02.0)
197 Active [ ] [ ] 60 servicemix-sa (0.0.0)
karaf@root>

The pom.xml of servicemix-sa :

<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>servicemix-project-root</artifactId>
<groupId>com.qiu.servicemix</groupId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>com.qiu.servicemix.sa</groupId>
<artifactId>servicemix-sa</artifactId>
<version>0.1.1-SNAPSHOT</version>
<packaging>jbi-service-assembly</packaging>
<name>Apache ServiceMix :: Service Assembly</name>

<dependencies>
<dependency>
<groupId>com.qiu.servicemix.camel</groupId>
<artifactId>servicemix-camel-su</artifactId>
<version>0.1.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.qiu.servicemix.cxfbc</groupId>
<artifactId>servicemix-cxfbc-su</artifactId>
<version>0.1.1-SNAPSHOT</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.servicemix.tooling</groupId>
<artifactId>jbi-maven-plugin</artifactId>
<version>4.5</version>
<extensions>true</extensions>
<configuration>
<type>service-assembly</type>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.servicemix.tooling
</groupId>
<artifactId>
jbi-maven-plugin
</artifactId>
<versionRange>[4.5,)</versionRange>
<goals>
<goal>
generate-jbi-service-assembly-descriptor
</goal>
<goal>
generate-depends-file
</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>

xiaoqiu

Posts: 9
Registered: 01/05/12
Re: Component not installed: servicemix-camel
Posted: Mar 22, 2012 10:16 AM   in response to: ffang in response to: ffang
 
  Click to reply to this thread Reply
I have tested that it runned well in the smx4.3.1.
ffang

Posts: 1,320
Registered: 12/24/07
Re: Component not installed: servicemix-camel
Posted: Mar 22, 2012 10:36 AM   in response to: xiaoqiu in response to: xiaoqiu
 
  Click to reply to this thread Reply
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
xiaoqiu

Posts: 9
Registered: 01/05/12
Re: Component not installed: servicemix-camel
Posted: Mar 22, 2012 11:05 AM   in response to: ffang in response to: ffang
 
  Click to reply to this thread Reply
The project is in the attachment!
ffang

Posts: 1,320
Registered: 12/24/07
Re: Component not installed: servicemix-camel
Posted: Apr 1, 2012 6:48 AM   in response to: xiaoqiu in response to: xiaoqiu
 
  Click to reply to this thread Reply
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 Sun Apr 01 14:33:18 CST 2012; 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: Endpointseda://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 Sun Apr 01 14:33:21 CST 2012; 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 http://META-INF/cxf/cxf.xml
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 http://META-INF/cxf/cxf-extension-soap.xml
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 http://META-INF/cxf/cxf-extension-http-jetty.xml
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 http://cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.servicemix.cxfbc.CxfBcConsumer#0,org.apache.servicemix.cxfbc.CxfBcProvider#0; 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 Sun Apr 01 14:33:21 CST 2012; 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 http://cxf,org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor,org.apache.cxf.bus.spring.Jsr250BeanPostProcessor,org.apache.cxf.bus.spring.BusExtensionPostProcessor,org.apache.cxf.binding.soap.SoapBindingFactory,org.apache.cxf.binding.soap.SoapTransportFactory,org.apache.cxf.binding.soap.customEditorConfigurer,org.apache.cxf.transport.http_jetty.JettyHTTPTransportFactory,org.apache.servicemix.cxfbc.CxfBcConsumer#0,org.apache.servicemix.cxfbc.CxfBcProvider#0; 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

xiaoqiu

Posts: 9
Registered: 01/05/12
Re: Component not installed: servicemix-camel
Posted: Apr 1, 2012 8:59 AM   in response to: ffang in response to: ffang
 
  Click to reply to this thread Reply
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