You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/07/05 11:23:52 UTC
[jira] Created: (SMXCOMP-773) servicemix-http and servicemix-jms
failed to start with felix 3.0.1
servicemix-http and servicemix-jms failed to start with felix 3.0.1
-------------------------------------------------------------------
Key: SMXCOMP-773
URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
Project: ServiceMix Components
Issue Type: Bug
Components: servicemix-http, servicemix-jms
Reporter: Freeman Fang
Fix For: servicemix-http-2010.02, servicemix-jms-2010.02
when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
at java.lang.Thread.run(Thread.java:637)
17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
at java.lang.Thread.run(Thread.java:637)
It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Work started: (SMXCOMP-773) servicemix-http and
servicemix-jms failed to start with felix 3.0.1
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on SMXCOMP-773 started by Freeman Fang.
> servicemix-http and servicemix-jms failed to start with felix 3.0.1
> -------------------------------------------------------------------
>
> Key: SMXCOMP-773
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http, servicemix-jms
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: servicemix-http-2010.02, servicemix-jms-2010.02
>
>
> when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
> 17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> 17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (SMXCOMP-773) servicemix-http and servicemix-jms
failed to start with felix 3.0.1
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang reassigned SMXCOMP-773:
------------------------------------
Assignee: Freeman Fang
> servicemix-http and servicemix-jms failed to start with felix 3.0.1
> -------------------------------------------------------------------
>
> Key: SMXCOMP-773
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http, servicemix-jms
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: servicemix-http-2010.02, servicemix-jms-2010.02
>
>
> when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
> 17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> 17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SMXCOMP-773) add
!META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName
for each component
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved SMXCOMP-773.
----------------------------------
Fix Version/s: servicemix-bean-2010.02
servicemix-camel-2010.02
servicemix-cxf-bc-2010.02
servicemix-cxf-se-2010.02
servicemix-drools-2010.02
servicemix-eip-2010.02
servicemix-exec-2010.02
servicemix-file-2010.02
servicemix-ftp-2010.02
servicemix-mail-2010.02
servicemix-osworkflow-2010.02
servicemix-quartz-2010.02
servicemix-saxon-2010.02
servicemix-scripting-2010.02
servicemix-smpp-2010.02
servicemix-snmp-2010.02
servicemix-truezip-2010.02
servicemix-validation-2010.02
servicemix-vfs-2010.02
servicemix-wsn2005-2010.02
servicemix-xmpp-2010.02
Resolution: Fixed
> add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName for each component
> ---------------------------------------------------------------------------------------------------------
>
> Key: SMXCOMP-773
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http, servicemix-jms
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: servicemix-bean-2010.02, servicemix-camel-2010.02, servicemix-cxf-bc-2010.02, servicemix-cxf-se-2010.02, servicemix-drools-2010.02, servicemix-eip-2010.02, servicemix-exec-2010.02, servicemix-file-2010.02, servicemix-ftp-2010.02, servicemix-http-2010.02, servicemix-jms-2010.02, servicemix-mail-2010.02, servicemix-osworkflow-2010.02, servicemix-quartz-2010.02, servicemix-saxon-2010.02, servicemix-scripting-2010.02, servicemix-smpp-2010.02, servicemix-snmp-2010.02, servicemix-truezip-2010.02, servicemix-validation-2010.02, servicemix-vfs-2010.02, servicemix-wsn2005-2010.02, servicemix-xmpp-2010.02
>
>
> when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
> 17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> 17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SMXCOMP-773) add
!META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName
for each component
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang updated SMXCOMP-773:
---------------------------------
Summary: add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName for each component (was: servicemix-http and servicemix-jms failed to start with felix 3.0.1)
> add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName for each component
> ---------------------------------------------------------------------------------------------------------
>
> Key: SMXCOMP-773
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http, servicemix-jms
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: servicemix-http-2010.02, servicemix-jms-2010.02
>
>
> when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
> 17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> 17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SMXCOMP-773) add
!META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName
for each component
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SMXCOMP-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60424#action_60424 ]
Freeman Fang commented on SMXCOMP-773:
--------------------------------------
similar as we do like !org.apache.servicemix.componentName*, for Import-Package, we also need add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName for Import-Package.
Though currently I only see problem in servicemix-jms and servciemix-http, I'm still going to add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName across all components.
> add !META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.compoentName for each component
> ---------------------------------------------------------------------------------------------------------
>
> Key: SMXCOMP-773
> URL: https://issues.apache.org/activemq/browse/SMXCOMP-773
> Project: ServiceMix Components
> Issue Type: Bug
> Components: servicemix-http, servicemix-jms
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: servicemix-http-2010.02, servicemix-jms-2010.02
>
>
> when run smx4 with felix 3.0.1, servicemix-jms and servicemix-http component failed to start caused by missing required package, exception like
> 17:18:40,817 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-jms [144]: Unable to resolve 144.0: missing requirement [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms) - [144.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.jms)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> 17:19:01,151 | INFO | l Console Thread | Console | araf.shell.console.jline.Console 198 | Exception caught while executing command
> org.osgi.framework.BundleException: Unresolved constraint in bundle servicemix-http [143]: Unable to resolve 143.0: missing requirement [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http) - [143.0] package; (package=META-INF.services.org.apache.xbean.spring.http.servicemix.apache.org.http)
> at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
> at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
> at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
> at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:29)
> at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:49)
> at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:41)
> at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
> at org.apache.felix.gogo.runtime.shell.CommandProxy.execute(CommandProxy.java:50)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:229)
> at org.apache.felix.gogo.runtime.shell.Closure.executeStatement(Closure.java:162)
> at org.apache.felix.gogo.runtime.shell.Pipe.run(Pipe.java:101)
> at org.apache.felix.gogo.runtime.shell.Closure.execute(Closure.java:79)
> at org.apache.felix.gogo.runtime.shell.CommandSessionImpl.execute(CommandSessionImpl.java:71)
> at org.apache.karaf.shell.console.jline.Console.run(Console.java:180)
> at java.lang.Thread.run(Thread.java:637)
> It's really weird for me, as those package do exist in the bundle jar and we use exactly same mechanism across all components, but only those two have problem now with felix 3.0.1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.