Hi,
Could you elaborate what's the Camel Blueprint Postgresql Fragment
Bundle?
Is it the Postgresql jdbc bundle or the bundle include your camel
router?
You need
1. a Postgresql jdbc bundle as fragment bundle
2. spring-jdbc bundle as host
3. your customer bundle which have camel router.
spring-jdbc bundle will init the Postgresql jdbc driver so you need
ensure the Postgresql jdbc driver is available in spring-jdbc bundle,
so spring-jdbc bundle needn't export org.postgresql package.
Freeman
On 2011-12-1, at 上午3:55, bmccabe wrote:
I got a chance to redo it and I think it's correct. Here's what it
shows now:
[ 232] [Active ] [ ] [ ] [ 60] Spring JDBC
(3.0.5.RELEASE)
Fragments: 290
[ 290] [Resolved ] [ ] [ ] [ 60] Camel Blueprint
Postgresql Fragment Bundle (0.9.11)
Hosts: 232
karaf@root> packages:exports 232
ID Packages
232 org.springframework.jdbc
232 org.springframework.jdbc.config
232 org.springframework.jdbc.core
232 org.springframework.jdbc.core.metadata
232 org.springframework.jdbc.core.namedparam
232 org.springframework.jdbc.core.simple
232 org.springframework.jdbc.core.support
232 org.springframework.jdbc.datasource
232 org.springframework.jdbc.datasource.embedded
232 org.springframework.jdbc.datasource.init
232 org.springframework.jdbc.datasource.lookup
232 org.springframework.jdbc.object
232 org.springframework.jdbc.support
232 org.springframework.jdbc.support.incrementer
232 org.springframework.jdbc.support.lob
232 org.springframework.jdbc.support.nativejdbc
232 org.springframework.jdbc.support.rowset
232 org.springframework.jdbc.support.xml
232 org.postgresql
232 org.postgresql.core
232 org.postgresql.core.types
232 org.postgresql.core.v2
232 org.postgresql.core.v3
232 org.postgresql.ds
232 org.postgresql.ds.common
232 org.postgresql.ds.jdbc23
232 org.postgresql.fastpath
232 org.postgresql.geometric
232 org.postgresql.jdbc2
232 org.postgresql.jdbc2.optional
232 org.postgresql.jdbc3
232 org.postgresql.largeobject
232 org.postgresql.ssl
232 org.postgresql.translation
232 org.postgresql.util
232 org.postgresql.xa
Unfortunately I'm still getting the "ClassNotFoundException:
org.postgresql.Driver" error when I try to start my bundle. I've
included
all of the postgresql packages in my <Import-Package> section and
added
org.springframework as a depndency in the pom, but no joy. Any
suggestions
as to why it might not be picking it up?
Thanks again,
Bill
--
View this message in context:
http://servicemix.396122.n5.nabble.com/Blueprint-postgresql-camel-jdbc-newbie-question-tp4994862p5036590.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:ff...@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com