Hello,
I use PAX construct to create my Osgi project as follows:

mvn org.ops4j:maven-pax-plugin:create-project
-DgroupId=com.hcsc.itf.osgi.samples.aries.blog
-DartifactId=com.hcsc.itf.osgi.samples.aries.blog -Dversion=1.0-SNAPSHOT


I provision external bundles as follows:

mvn pax:import-bundle     -DgroupId=org.apache.aries.jpa
-DartifactId=org.apache.aries.jpa.api
mvn pax:import-bundle     -DgroupId=org.apache.aries.jpa
-DartifactId=org.apache.aries.jpa.container
mvn pax:import-bundle     -DgroupId=org.apache.aries.jpa
-DartifactId=org.apache.aries.jpa.blueprint.aries
mvn pax:import-bundle     -DgroupId=org.apache.aries.jpa
-DartifactId=org.apache.aries.jpa.container.context
mvn pax:import-bundle     -DgroupId=org.apache.aries.transaction
-DartifactId=org.apache.aries.transaction.manager
mvn pax:import-bundle     -DgroupId=org.apache.aries.transaction
-DartifactId=org.apache.aries.transaction.blueprint
mvn pax:import-bundle     -DgroupId=org.apache.aries.transaction
-DartifactId=org.apache.aries.transaction.wrappers

And so on .....


At run time my persistence service is not created due to issue with
javax.transaction resolution even though the Felix webconsole shows me that
all my bundles are resolved and active!

I suspect that I want to specify the boot delegation property so I added the
following two lines inside the

runner/
        felix/config.ini file

as follows:

##############################
# System properties
##############################
org.osgi.framework.bootdelegation=javax.transaction,javax.transaction.*
org.ops4j.pax.logging.DefaultServiceLog.level=INFO


I'm still getting the same error and the log level is still @debug.

Any idea please?  Been stuck on this for a while - Have a demo coming up
soon. Any help would be appreciated.

Thanks
Matt
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to