url.handler.protocol doesn't work with R10 patch of Red Hat Fuse 6.3.0
Issue
- We are running fabric server with basic version as jboss-fuse-6.3.0.redhat-310. For the first time, applied R10 patch following the instructions. All the containers came up successfully with applications deployed except for one which has the following code in the blueprint.xml
<reference availability="mandatory"
filter="(url.handler.protocol=profile)" id="resolverRef" interface="org.osgi.service.url.URLStreamHandlerService"/>
- Exception
2018-12-20 13:59:05,966 | ERROR | 7.1.1-1-thread-1 | DeploymentAgent | 87 - io.fabric8.fabric-agent - 1.2.0.redhat-630371 | Unable to update agent
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=com.assurantsolutions.applecare.esb; type=osgi.bundle; version="[2.0.5.SNAPSHOT,2.0.5.SNAPSHOT]"; resolution:=mandatory [caused by: Unable to resolve com.assurantsolutions.applecare.esb/2.0.5.SNAPSHOT: missing requirement [com.assurantsolutions.applecare.esb/2.0.5.SNAPSHOT] osgi.service; effective:=active; filter:="(&(objectClass=org.osgi.service.url.URLStreamHandlerService)(url.handler.protocol=profile))"]
at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:236)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:159)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.region.SubsystemResolver.resolve(SubsystemResolver.java:190)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.service.Deployer.deploy(Deployer.java:283)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.service.Agent.provision(Agent.java:366)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.service.Agent.provision(Agent.java:199)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:741)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at io.fabric8.agent.DeploymentAgent$4.run(DeploymentAgent.java:287)[87:io.fabric8.fabric-agent:1.2.0.redhat-630371]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_162]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_162]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_162]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_162]
Environment
- Red Hat Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.