You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jay Joel Malaluan <ex...@yahoo.com> on 2008/05/26 06:01:33 UTC

ERROR message on the woodstox-3.2.3-1.0-m1 budle for SMX4 during startup

Hi,

Particularly I'm a novice with servicemix and started using servicemix 4 and followed some of the guidelines on the site. I have build the kernel (1.0-m3) and then used the nmr feature install.
When I start servicemix, here are the errors I encountered:
ERROR: Error starting file:$SERVICE_HOME/smx4/kernel/tags/kernel-1.0-m3/
assembly/target/apache-servicemix-kernel-1.0-m3/deploy/org.apache.servicemix.bun
dles.woodstox-3.2.3-1.0-m1.jar (org.osgi.framework.BundleException: Unresolved p
ackage in bundle 37: package; (&(package=javax.xml.stream.events)(version>=1.0.0
)))
org.osgi.framework.BundleException: Unresolved package in bundle 37: package; (&
(package=javax.xml.stream.events)(version>=1.0.0))
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
        at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
25)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
)
        at java.lang.Thread.run(Thread.java:595)

When I view the list of bundles using the osgi list command, the state of the bundle is Installed. 
But that's not the case when I run servicemix located on the features-4.0-m1 tag. The state of the org.apache.servicemix.bundles.woodstox-3.2.3-1.0-m1 bundle is Active.

Is there already a JIRA for this kind of problem? 
Or can anyone provide the solution?


Regards,
Jay Malaluan



      

Re: ERROR message on the woodstox-3.2.3-1.0-m1 budle for SMX4 during startup

Posted by Freeman Fang <fr...@gmail.com>.
Hi Jay,

I guess you use the nmr feature list from [1], I think the bundle 
dependency here is out of date.
You should use
features addUrl 
mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.0-m2-SNAPSHOT/xml/features 
features install nmr
to install the nmr feature

[1]http://svn.apache.org/repos/asf/servicemix/smx4/obr-repo/features-nmr-1.0-m1.xml

Regards
Freeman
Jay Joel Malaluan wrote:
> Hi,
>
> Particularly I'm a novice with servicemix and started using servicemix 4 and followed some of the guidelines on the site. I have build the kernel (1.0-m3) and then used the nmr feature install.
> When I start servicemix, here are the errors I encountered:
> ERROR: Error starting file:$SERVICE_HOME/smx4/kernel/tags/kernel-1.0-m3/
> assembly/target/apache-servicemix-kernel-1.0-m3/deploy/org.apache.servicemix.bun
> dles.woodstox-3.2.3-1.0-m1.jar (org.osgi.framework.BundleException: Unresolved p
> ackage in bundle 37: package; (&(package=javax.xml.stream.events)(version>=1.0.0
> )))
> org.osgi.framework.BundleException: Unresolved package in bundle 37: package; (&
> (package=javax.xml.stream.events)(version>=1.0.0))
>         at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
>         at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
>         at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
>         at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 25)
>         at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258
> )
>         at java.lang.Thread.run(Thread.java:595)
>
> When I view the list of bundles using the osgi list command, the state of the bundle is Installed. 
> But that's not the case when I run servicemix located on the features-4.0-m1 tag. The state of the org.apache.servicemix.bundles.woodstox-3.2.3-1.0-m1 bundle is Active.
>
> Is there already a JIRA for this kind of problem? 
> Or can anyone provide the solution?
>
>
> Regards,
> Jay Malaluan
>
>
>
>       
>