-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to start camel-csv-to-xml using Karaf #49
Comments
hey, well, the problem is that your smooks package is in state installed instead of Active (which would have been the required state). Can you pls try to enter the following into your karaf console: start 89 please mind that 89 is the bundle ID here. It could be that it had been changed since you've done this post --> make sure that it is still the same or use the new one. This should either start the bundle and solve your problems or give you a detailed error message on the console and/or the log which should state what you're missing. Hope this helps and kind regards, |
Sorry, it is already active and error is same as before: [ 96] [Active ] [ ] [ ] [ 80] Smooks OSGi (1.5.1) |
looks like something is going wrong in the setup; can you please provide the most minimal sample creating this error? |
Yup:
|
Can somebody help? Already tried karaf 2.2.8 and Camel 2.10.0, but got same error. |
I have retested this with Smooks 1.6-SNAPSHOT and JBoss Fuse 6.0.0 and I can't reproduce the problem. |
@alartin Can you do a retest with Smook 1.6, please? |
I get the same problem with Karaf.4.0.2 and smooks 1.7.0. Bundle is installed state and when you try to start it it says missing component smooks. I should say the same dependency works when running it from Intellij. |
Hi all,
I tried to start Smooks 1.5.1's camel-csv-to-xml using Karaf 2.2.5 but failed. I strictly follow the readme file and make sure that I've install smooks in Karaf. The error is:
karaf@root> Exception in thread "SpringOsgiExtenderThread-22" org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route route17 at: >>> To[smooks://smooks-config.xml] <<< in route: Route[[From[xxxxx... because of Failed to resolve endpoint: smooks://smooks-config.xml due to: No component found with scheme: smooks
at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1196)
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:122)
at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:240)
You can see I've setup smooks osgi:
[ 89] [Installed ] [ ] [ ] [ 60] Smooks OSGi (1.5.1)
and features list shows:
[installed ] [1.5.1 ] smooks milyn-1.5.1
Why Karaf complains that it cannot find smooks component?
BTW, I've tried mvn exec:java and it worked well but only failed in Karaf
The text was updated successfully, but these errors were encountered: