I have solved the problem as follows:
1. I am using my own assembly.
2. It seems the problem that I comment occurs if I include the configuration
file datasource in my feature.
3. I removed the file of the feature and I put it directly in the /etc my
distribution.
Everything works.
--
View this
Has anybody got a working example with OpenJPA 2.4.1?
My model EntityManager is not registered as a service.
My api cannot start:
Error executing command: Error executing command on bundles:
Error starting bundle 223: Uses constraint violation. Unable to
resolve resource biz.lorien.niichi.
openjpa/2.4.1 feature depends on and installs persistence-api 2.0 featute.
jpa/2.3.0 feature depends on and installs persistence-api 2.1 featute.
We have two versions of persistence api.
Can it be some sort of version conflict between openjpa/2.4.1 and jpa/2.3.0
features?
--
View this message i
I have an installation of karaf 4.0.5.
I create the file etc/org.ops4j.datasource-myDS with the following
information:
url = jdbc:h2:file:./db/myDatabase
dataSourceName = myDS
osgi.jdbc.driver.name = H2-pool-xa
The result is that two javax.sql.DataSource services are created with the
same name =
An optional package import is “optional” meaning that it doesn’t need to be
wired by the OSGi framework for the bundle to resolve. If the package isn’t
wired then there will be no classes available from that package at runtime.
As I said previously. Optional packages require a lot of thought an
Thanks Timothy. Removing resolution:optional solved the issue. But any
guess why resolution:optional was creating the issue.?
Hi Debra,
I note that there are a lot of optional package imports in the manifest
snippet that you’ve provided. Optional package imports require a lot of
careful management
Hi Debra,
I note that there are a lot of optional package imports in the manifest snippet
that you’ve provided. Optional package imports require a lot of careful
management and are hard to get right. In this case it looks as though the
package import is declared as optional even though it actua
I am not able to make this work yet. Can some one suggest some thing what
could be going wrong?
On Wed, May 11, 2016 at 9:51 PM, Debraj Manna
wrote:
> Hi Jean,
>
> I am facing a similiar problem when I tried to use Afterburner from my toy
> application to an actual code base. In the same code ba