-
1. Re: Bundle Deplyment error
rhn-support-shsingh May 10, 2016 4:28 AM (in response to mitul.sanghani)can you check if the camel-sql bundle is installed and started. Verify the exports version by below command.
~~~
exports |grep org.apache.camel.component.sql
~~~
-
2. Re: Bundle Deplyment error
mitul.sanghani May 11, 2016 7:31 AM (in response to rhn-support-shsingh)Thanks for the reply Shailendra..
I have executed command you gave it shows version=2.15.1.redhat-621084, version is ok all the camel jars having that version only.
We have Camel-sql.jar is installed while we check from "features:list" and it show status = Installed instead of active it that make any problem, while other installed components are showing active.
-
3. Re: Bundle Deplyment error
rhn-support-shsingh May 11, 2016 7:36 AM (in response to mitul.sanghani)Can you start the bundle by using "osgi:start <bundle_id>" and see if it helps.
-
4. Re: Bundle Deplyment error
mitul.sanghani May 11, 2016 8:11 AM (in response to rhn-support-shsingh)Thanks for quick reply.
Tried with start comment as you mentioned now error get changed see following
Error executing command: Error starting bundles:
Unable to start bundle 401: Unresolved constraint in bundle org.apache.camel.camel-sql [401]: Unable to resolve 401.0: missing requirement [401.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.jdbc.core)(version>=3.2.0)(!(version>=5.0.0)))
I have already deployed and started spring-jdbc(version 4.0.0) on server, any idea is there any dependent jar missing or something .?
-
5. Re: Bundle Deplyment error
rhn-support-shsingh May 11, 2016 8:22 AM (in response to mitul.sanghani)Can you verify the version ,bundle id of spring-jdbc and its state by running the below command.
~~~~
exports |grep org.springframework.jdbc.core
~~~~
Version ship with JBoss Fuse 6.2.1 is "3.2.12.RELEASE"
You can install the "features:install spring-jdbc"
-
6. Re: Bundle Deplyment error
mitul.sanghani May 11, 2016 8:56 AM (in response to rhn-support-shsingh)Result of exports |grep org.springframework.jdbc.core shows
375 org.springframework.jdbc.core; version=0.0.0
375 org.springframework.jdbc.core.metadata; version=0.0.0
375 org.springframework.jdbc.core.namedparam; version=0.0.0
375 org.springframework.jdbc.core.simple; version=0.0.0
375 org.springframework.jdbc.core.support; version=0.0.0
from where it takes 0.0.0 no idea,i have deployed spring-jdbc-4.0.0
-
7. Re: Bundle Deplyment error
rhn-support-shsingh May 11, 2016 9:01 AM (in response to mitul.sanghani)Install the feature spring-jdbc - "features:install spring-jdbc"
-
8. Re: Bundle Deplyment error
mitul.sanghani May 11, 2016 9:30 AM (in response to rhn-support-shsingh)Did the following modification to install spring-jdbc ita installed but still facing same issue while starting it.
fabric:profile-edit --feature spring-jdbc default
Adding feature:spring-jdbc to profile:default version:1.0
Error executing command: Error starting bundles:
Unable to start bundle 407: Unresolved constraint in bundle org.apache.camel.camel-sql [407]: Unable to resolve 407.0: missing requirement [407.0] osgi.wiring.package; (&(osgi.wiring.package=org.springframework.jdbc.core)(version>=3.2.0)(!(version>=5.0.0)))
-
9. Re: Bundle Deplyment error
rhn-support-shsingh May 11, 2016 10:07 AM (in response to mitul.sanghani)can u verify the installed spring-jdbc version and its status. Have you removed the spring-jdbc-4.0.0 ? restart the container and then reverify