Did you check the log and see if there's any exception related to activemq starting up? Can either open up the log file (data/log/servicemix.log) or just use log:display, maybe do "log:display | grep -i error" and see if that yields anything.
On Sat, Jan 23, 2010 at 3:00 AM, pawan269 <[email protected]> wrote: > > Hi again, > > I tried another method. > > s...@root:/> osgi/install > http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.commons-dbcp/1.2.2_3/org.apache.servicemix.bundles.commons-dbcp-1.2.2_3.jar > > and restarted servicemix... no more exception at startup but my database is > still empty, no tables created. :( > > Please help > > Regards, > Pawan > > > > Jean-Baptiste Onofré wrote: >> >> 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 >> >> > > -- > View this message in context: > http://old.nabble.com/MySQL-configuration-tp27266466p27284178.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
