openejb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <ja...@laskowski.net.pl>
Subject Re: For adventurous: first run of OSGified OpenEJB *seems* running fine
Date Mon, 26 Oct 2009 22:01:13 GMT
On Mon, Oct 26, 2009 at 10:44 PM, Mohammad Nour El-Din
<nour.mohammad@gmail.com> wrote:

>   I still have the same error showing up
....
> -> ERROR: Error starting
> file:C:\Users\mnour\.m2\repository\org\apache\openejb\openejb-core\3.1.2-SNAPSHOT\openejb-core-3.1.2-SNAPSHOT.jar
> (org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.openejb.core [6]: package;
> (&(package=javax.transaction)(version>=5.0.0)))
> org.osgi.framework.BundleException: Unresolved constraint in bundle
> org.apache.openejb.core [6]: package;
> (&(package=javax.transaction)(version>=5.0.0))
>        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)
>        at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>        at java.lang.Thread.run(Thread.java:619)

After you rebuild the openejb-core bundle project you have to update
it in felix. The org.apache.openejb.core has the identifier 6 so you
should do as follows:

-> update 6

If the issue keeps showing up, send 'headers 6' command output. I do
'refresh' sometimes to make felix happy with my current bundle setup.
Give it a try too.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://www.JacekLaskowski.pl

Mime
View raw message