• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Cannot find Class : [javax.sql.DataSource], while exposing Data Source as a Service in blueprint.xml

 
Ranch Hand
Posts: 375
1
Python Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am working on Enterprise OSGi.
I have a data source bundle (A Jar file with some extra Meta-Information in OSGI), which is trying to expose a DataSource as a Service...

The blueprint.xml inside that bundle looks like: -



I have added javax.sql.DataSource and mysql.jdbc.jdbc2.optional in the import-packages header in Manifest...

My Manifest looks like this: -


But when I am trying to load this bundle into the Apache Aries Environment, I am getting a ClassNotFoundException: javax.sql.DataSource
It is also showing: - Unable to start blueprint container for the bundle datasource

Anyone have any Idea, where I am doing anything wrong...
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!