Hi,
commons-dbcp bundle is not resolved.
We provide a bundle for commons-dbcp 1.2.2. You can find it here:
http://svn.apache.org/repos/asf/servicemix/smx4/bundles/trunk/commons-dbcp-1.2.2/
Once you have made mvn install to install the bundle in your mvn local
repo, you can install the bundle:
osgi:install -s
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_6-SNAPSHOT
Regards
JB
pawan269 wrote:
Hi Charles and Stan,
Many thanks for helping ...
I have moved the bean part out of broker tag and restarted the ServiceMix.
it has generated an exception as
s...@root:/> ERROR: Error starting
file:/usr/local/apache-servicemix-4.0.0/data/generated-bundles/activemq-broker.xml.jar
(org.osgi.framework.BundleException: Unresolved constraint in bundle 43:
package; (package=org.apache.commons.dbcp))
org.osgi.framework.BundleException: Unresolved constraint in bundle 43:
package; (package=org.apache.commons.dbcp)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3059)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
at
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
at java.lang.Thread.run(Thread.java:636)
Tables are still not popluted.
I did a "osgi/list | grep Spring"... here is the output
s...@root:/> osgi/list | grep Spring
ID State Spring Level Name
[ 14] [Active ] [ ] [ 30] Apache ServiceMix Kernel :: Spring
Deployer (1.1.0)
[ 16] [Active ] [ ] [ 30] Spring Context (2.5.6)
[ 21] [Active ] [ ] [ 30] Spring Core (2.5.6)
[ 27] [Active ] [ ] [ 30] Spring Beans (2.5.6)
[ 34] [Active ] [ ] [ 30] Spring AOP (2.5.6)
[ 48] [Active ] [ ] [ 60] Spring Transaction (2.5.6)
[ 76] [Active ] [ ] [ 60] Apache ServiceMix NMR Spring (1.0.0)
[ 88] [Active ] [ ] [ 60] Spring JMS (2.5.6)
[ 144] [Active ] [ ] [ 60] Spring Context Support (2.5.6)
Also attaching a copy of my activemq-broker.xml with the reply... Please see
http://old.nabble.com/file/p27283847/activemq-broker-tmp.xml
activemq-broker-tmp.xml
--
Jean-Baptiste Onofré
---------------------------------
HomePage
http://www.nanthrax.net
---------------------------------
Contacts
[email protected]
[email protected]
---------------------------------
OpenSource
BuildProcess/AutoDeploy
http://buildprocess.sourceforge.net
Apache ServiceMix
http://servicemix.apache.org
-----------------------------------
PGP : 17D4F086