Hello Freeman,
Over that hump, on to next one. I’m now seeing the following exception in the
log file:
08:20:22,875 | INFO | ExtenderThread-8 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route4 started and
consuming from: Endpoint[direct://com.xxx.yyy.docstore]
08:20:22,904 | WARN | ExtenderThread-8 | BrokerRegistry | 50
- org.apache.activemq.activemq-core - 5.5.0.fuse-00-27 | Broker localhost not
started so using default instead
08:20:22,911 | INFO | ExtenderThread-8 | TransportConnector | 50
- org.apache.activemq.activemq-core - 5.5.0.fuse-00-27 | Connector
vm://localhost Started
08:20:22,935 | INFO | ExtenderThread-8 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route5 started and
consuming from:
Endpoint[activemq://queue:com.xxx.yyy.vrm?transferException=true]
08:20:22,958 | INFO | ExtenderThread-8 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Total 5 routes, of which 5
is started.
08:20:22,990 | INFO | ExtenderThread-8 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Apache Camel
2.7.1-fuse-00-27 (CamelContext: com.xxx.yyy.vrm) started in 4.983 seconds
08:20:23,047 | WARN | ExtenderThread-8 | EventHelper | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Error notifying event
Started CamelContext: com.xxx.yyy.vrm. This exception will be ignored.
java.lang.IllegalStateException: Can only register services while bundle is
active or activating.
at
org.apache.felix.framework.Felix.registerService(Felix.java:2821)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.camel.core.osgi.OsgiCamelContextPublisher.notify(OsgiCamelContextPublisher.java:62)[87:org.apache.camel.camel-spring:2.7.1.fuse-00-27]
at
org.apache.camel.util.EventHelper.doNotifyEvent(EventHelper.java:580)[76:org.apache.camel.camel-core:2.7.1.fuse-00-27]
at
org.apache.camel.util.EventHelper.notifyCamelContextStarted(EventHelper.java:87)[76:org.apache.camel.camel-core:2.7.1.fuse-00-27]
at
org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1330)[76:org.apache.camel.camel-core:2.7.1.fuse-00-27]
at
org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)[87:org.apache.camel.camel-spring:2.7.1.fuse-00-27]
at
org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)[87:org.apache.camel.camel-spring:2.7.1.fuse-00-27]
at
org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:238)[87:org.apache.camel.camel-spring:2.7.1.fuse-00-27]
at
org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[70:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)[70:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)[70:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[85:org.springframework.osgi.extender:1.2.1]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
08:20:23,061 | INFO | ExtenderThread-8 | OsgiBundleXmlApplicationContext | 70
- org.springframework.context - 3.0.5.RELEASE | Publishing application context
as OSGi service with properties
{org.springframework.context.service.name=com.xxx.yyy.ABCIntegrationService,
Bundle-SymbolicName=com.xxx.yyy.ABCIntegrationService,
Bundle-Version=1.0.0.SNAPSHOT}
08:20:23,061 | ERROR | ExtenderThread-8 | ContextLoaderListener | 85
- org.springframework.osgi.extender - 1.2.1 | Application context refresh
failed
(OsgiBundleXmlApplicationContext(bundle=com.xxx.yyy.ABCIntegrationService,
config=osgibundle:/META-INF/spring/*.xml))
java.lang.IllegalStateException: Can only register services while bundle is
active or activating.
at
org.apache.felix.framework.Felix.registerService(Felix.java:2821)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[82:org.springframework.osgi.core:1.2.1]
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[85:org.springframework.osgi.extender:1.2.1]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
08:20:23,061 | INFO | Timer-1 | OsgiBundleXmlApplicationContext | 70
- org.springframework.context - 3.0.5.RELEASE | Application Context service
already unpublished
08:20:23,062 | INFO | Timer-1 | OsgiBundleXmlApplicationContext | 70
- org.springframework.context - 3.0.5.RELEASE | Closing
OsgiBundleXmlApplicationContext(bundle=com.xxx.yyy.ABCIntegrationService,
config=osgibundle:/META-INF/spring/*.xml): startup date [Fri Jun 24 08:20:11
CDT 2011]; root of context hierarchy
08:20:23,097 | INFO | Timer-1 | DefaultListableBeanFactory | 68
- org.springframework.beans - 3.0.5.RELEASE | Destroying singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1106462:
defining beans
[producerTemplate,consumerTemplate,com.xxx.yyy.vrm:beanPostProcessor,com.xxx.yyy.vrm,jmsConnectionFactory,jmsConfig,activemq,camelExceptionMapper,runtimeCamelExceptionMapper,baseExceptionMapper,systemExceptionMapper,businessExceptionMapper,entityNotFoundExceptionMapper,validationExceptionMapper,userAuthenticationExceptionMapper,accessDeniedExceptionMapper,authenticationHandler,enrichOutboundExchangeRef,processInboundExchangeEnrichmentsRef,loggingInterceptor,loggingInterceptorAdvisor,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,visAuthProvider,ABCIntegrationServiceImpl,ABCIntegrationServiceImplTarget,vrmServiceRef,vrmProps,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0];
root of factory hierarchy
08:20:23,098 | INFO | Timer-1 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Apache Camel
2.7.1-fuse-00-27 (CamelContext:com.xxx.yyy.vrm) is shutting down
08:20:23,099 | INFO | Timer-1 | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Starting to graceful
shutdown 5 routes (timeout 300 seconds)
08:20:23,139 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route5 suspended and
shutdown deferred, was consuming from:
Endpoint[activemq://queue:com.xxx.yyy.vrm?transferException=true]
08:20:23,140 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route4 suspension
deferred.
08:20:23,141 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route3 suspension
deferred.
08:20:23,141 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route2 suspension
deferred.
08:20:23,141 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route1 suspension
deferred.
08:20:23,141 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route4 preparing to
shutdown complete.
08:20:23,141 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route3 preparing to
shutdown complete.
08:20:23,142 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route2 preparing to
shutdown complete.
08:20:23,142 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route1 preparing to
shutdown complete.
08:20:24,137 | INFO | 5 - ShutdownTask | TransportConnector | 50
- org.apache.activemq.activemq-core - 5.5.0.fuse-00-27 | Connector
vm://localhost Stopped
08:20:24,143 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route5 shutdown
complete.
08:20:24,143 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route4 shutdown
complete.
08:20:24,143 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route3 shutdown
complete.
08:20:24,143 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route2 shutdown
complete.
08:20:24,143 | INFO | 5 - ShutdownTask | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Route: route1 shutdown
complete.
08:20:24,143 | INFO | Timer-1 | DefaultShutdownStrategy | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Graceful shutdown of 5
routes completed in 1 seconds
08:20:24,147 | INFO | Timer-1 | DefaultInflightRepository | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Shutting down with no
inflight exchanges.
08:20:24,148 | INFO | Timer-1 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Uptime: 6.174 seconds
08:20:24,148 | INFO | Timer-1 | OsgiSpringCamelContext | 76
- org.apache.camel.camel-core - 2.7.1.fuse-00-27 | Apache Camel
2.7.1-fuse-00-27 (CamelContext: com.xxx.yyy.vrm) is shutdown in 1.050 seconds
08:20:24,149 | INFO | Timer-1 | ContextLoaderListener | 85
- org.springframework.osgi.extender - 1.2.1 | Application context succesfully
closed
(OsgiBundleXmlApplicationContext(bundle=com.xxx.yyy.ABCIntegrationService,
config=osgibundle:/META-INF/spring/*.xml))
08:20:24,610 | ERROR | lixDispatchQueue | FeatureDeploymentListener | 25
- org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to install
features
java.lang.Exception: Could not start bundle mvn:com.xxx.aaa/IntegrationService
in feature(s) com.xxx.aaa-1.0.0: Unresolved constraint in bundle
com.xxx.yyy.IntegrationService [440]: Unable to resolve 440.0: missing
requirement [440.0] package; (package=com.xxx.yyy.service.util.test.facade)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[8:org.apache.aries.proxy:0.3.0]
at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[8:org.apache.aries.proxy:0.3.0]
at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[8:org.apache.aries.proxy:0.3.0]
at $Proxy0.installFeatures(Unknown
Source)[17:org.apache.karaf.features.core:2.2.0.fuse-00-27]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:133)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle
com.xxx.yyy.IntegrationService [440]: Unable to resolve 440.0: missing
requirement [440.0] package; (package=com.xxx.yyy.service.util.test.facade)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3436)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1728)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:350)
... 15 more
08:20:25,888 | ERROR | lixDispatchQueue | FeatureDeploymentListener | 25
- org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to install
deployed features for bundle: org.apache.servicemix.bundles.abdera -
0.4.0.incubating_4
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)[:1.6.0_26]
at java.util.zip.ZipFile.entries(ZipFile.java:311)[:1.6.0_26]
at
org.apache.felix.framework.cache.JarContent.getEntries(JarContent.java:108)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.EntryFilterEnumeration.<init>(EntryFilterEnumeration.java:60)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1526)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:293)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:125)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
08:20:25,889 | ERROR | lixDispatchQueue | FeatureDeploymentListener | 25
- org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to install
deployed features for bundle: org.apache.camel.camel-mail - 2.7.1.fuse-00-27
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)[:1.6.0_26]
at java.util.zip.ZipFile.entries(ZipFile.java:311)[:1.6.0_26]
at
org.apache.felix.framework.cache.JarContent.getEntries(JarContent.java:108)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.EntryFilterEnumeration.<init>(EntryFilterEnumeration.java:60)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1526)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:293)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:125)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
Many thanks for your help!
Vishal
From: Freeman-2 [via Karaf]
[mailto:[email protected]]
Sent: Thursday, June 23, 2011 8:05 PM
To: Bhasin, Vishal - Xxx Team
Subject: Re: 'Unable to resolve missing requirement' error while deploying
features in SMix/Fuse 4.4.0
Hi,
Your feature miss commons-io bundle which export org.apache.commons.io package,
add bundle like
mvn:commons-io/commons-io/1.4
into your feature should be ok.
Freeman
On 2011-6-24, at 上午4:50, vbhasin wrote:
Hello:
I'm seeing the following error while deploying bundles in SMix/Fuse 4.4.0.
Not sure why it is complaining about org.apache.commons.io..
java.lang.Exception: Could not start bundle mvn:com.xxx.yyy/ZBundle in
feature(s) com.xxx.yyy-1.0.0: Unresolved constraint in bundle
com.xxx.yyy.ZBundle [341]: Unable to resolve 341.0: missing requirement
[341.0] package; (package=org.apache.commons.io)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)[:1.6.0_26]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_26]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_26]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_26]
at
org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:50)[8:org.apache.aries.proxy:0.3.0]
at
org.apache.aries.proxy.impl.DefaultWrapper.invoke(DefaultWrapper.java:31)[8:org.apache.aries.proxy:0.3.0]
at
org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:78)[8:org.apache.aries.proxy:0.3.0]
at $Proxy3.installFeatures(Unknown
Source)[17:org.apache.karaf.features.core:2.2.0.fuse-00-27]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:133)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle com.xxx.yyy.ZBundle [341]: Unable to resolve 341.0: missing
requirement [341.0] package; (package=org.apache.commons.io)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3436)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1728)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:914)
at
org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:350)
... 15 more
15:40:23,215 | ERROR | lixDispatchQueue | FeatureDeploymentListener |
25 - org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to
install deployed features for bundle: com.xxx.yyy.ABundle - 1.0.0.SNAPSHOT
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)[:1.6.0_26]
at java.util.zip.ZipFile.entries(ZipFile.java:311)[:1.6.0_26]
at
org.apache.felix.framework.cache.JarContent.getEntries(JarContent.java:108)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.EntryFilterEnumeration.<init>(EntryFilterEnumeration.java:60)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1526)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:293)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:125)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
15:40:23,215 | ERROR | lixDispatchQueue | FeatureDeploymentListener |
25 - org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to
install deployed features for bundle: com.xxx.yyy.CBundle - 1.0.0
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)[:1.6.0_26]
at java.util.zip.ZipFile.entries(ZipFile.java:311)[:1.6.0_26]
at
org.apache.felix.framework.cache.JarContent.getEntries(JarContent.java:108)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.EntryFilterEnumeration.<init>(EntryFilterEnumeration.java:60)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1526)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:293)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:125)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
15:40:23,216 | ERROR | lixDispatchQueue | FeatureDeploymentListener |
25 - org.apache.karaf.deployer.features - 2.2.0.fuse-00-27 | Unable to
install deployed features for bundle: com.xxx.yyy.DBundle - 1.0.0
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:416)[:1.6.0_26]
at java.util.zip.ZipFile.entries(ZipFile.java:311)[:1.6.0_26]
at
org.apache.felix.framework.cache.JarContent.getEntries(JarContent.java:108)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.EntryFilterEnumeration.<init>(EntryFilterEnumeration.java:60)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.Felix.findBundleEntries(Felix.java:1526)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.BundleImpl.findEntries(BundleImpl.java:293)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.karaf.deployer.features.FeatureDeploymentListener.bundleChanged(FeatureDeploymentListener.java:125)[25:org.apache.karaf.deployer.features:2.2.0.fuse-00-27]
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:952)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:41)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at
org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:93)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
Appreciate your help!
Vishal
--
View this message in context:
http://karaf.922171.n3.nabble.com/Unable-to-resolve-missing-requirement-error-while-deploying-features-in-SMix-Fuse-4-4-0-tp3101643p3101643.html
Sent from the Karaf - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[hidden email]</user/SendEmail.jtp?type=node&node=3102443&i=0>[hidden
email]</user/SendEmail.jtp?type=node&node=3102443&i=1>
Web: fusesource.com<http://fusesource.com/>
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
________________________________
If you reply to this email, your message will be added to the discussion below:
http://karaf.922171.n3.nabble.com/Unable-to-resolve-missing-requirement-error-while-deploying-features-in-SMix-Fuse-4-4-0-tp3101643p3102443.html
To unsubscribe from 'Unable to resolve missing requirement' error while
deploying features in SMix/Fuse 4.4.0, click
here<http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3101643&code=dmlzaGFsX2JoYXNpbkBkZWxsdGVhbS5jb218MzEwMTY0M3wxNTU4Njk2NTk2>.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Unable-to-resolve-missing-requirement-error-while-deploying-features-in-SMix-Fuse-4-4-0-tp3101643p3104303.html
Sent from the Karaf - User mailing list archive at Nabble.com.