cxfbc consumer secure
fsalceda May 5, 2011 1:01 PMUsing Fuse ESB 4.3. Trying to configure my WSS4j Interceptor in a cxfbc consumer bean.xml:
When I install de bundle:
19:01:21,220 | INFO | Thread-38 | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator 67 | 76 - org.springframework.osgi.extender - 1.2.0 | Discovered configurations in bundle
19:01:21,236 | INFO | tenderThread-109 | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 456 | 65 - org.springframework.context - 3.0.3.RELEASE | Refreshing OsgiBundleXmlApplicationContext(bundle=PielStreetDirectory-Secure-Consumer-1.0.0, config=osgibundle:/META-INF/spring/*.xml): startup date ; root of context hierarchy
19:01:21,236 | INFO | tenderThread-109 | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 359 | 65 - org.springframework.context - 3.0.3.RELEASE | Unpublishing application context OSGi service for bundle PielStreetDirectory-Secure-Consumer-1.0.0 (PielStreetDirectory-Secure-Consumer-1.0.0)
19:01:21,236 | INFO | tenderThread-109 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 315 | 63 - org.springframework.beans - 3.0.3.RELEASE | Loading XML bean definitions from URL bundleentry://365.fwk927449563/META-INF/spring/beans.xml
19:01:21,308 | INFO | tenderThread-109 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 315 | 63 - org.springframework.beans - 3.0.3.RELEASE | Loading XML bean definitions from OSGi resource[classpath:META-INF/cxf/cxf.xml|bnd.id=365|bnd.sym=PielStreetDirectory-Secure-Consumer-1.0.0]
19:01:21,348 | INFO | tenderThread-109 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 315 | 63 - org.springframework.beans - 3.0.3.RELEASE | Loading XML bean definitions from OSGi resource[classpath:META-INF/cxf/cxf-extension-soap.xml|bnd.id=365|bnd.sym=PielStreetDirectory-Secure-Consumer-1.0.0]
19:01:21,372 | INFO | tenderThread-109 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 315 | 63 - org.springframework.beans - 3.0.3.RELEASE | Loading XML bean definitions from OSGi resource[classpath:META-INF/cxf/cxf-extension-http.xml|bnd.id=365|bnd.sym=PielStreetDirectory-Secure-Consumer-1.0.0]
19:01:21,396 | INFO | tenderThread-109 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 315 | 63 - org.springframework.beans - 3.0.3.RELEASE | Loading XML bean definitions from OSGi resource[classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml|bnd.id=365|bnd.sym=PielStreetDirectory-Secure-Consumer-1.0.0]
19:01:21,452 | INFO | tenderThread-109 | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 252 | 76 - org.springframework.osgi.extender - 1.2.0 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=PielStreetDirectory-Secure-Consumer-1.0.0, config=osgibundle:/META-INF/spring/*.xml)
19:01:21,468 | INFO | tenderThread-110 | DefaultListableBeanFactory | pport.DefaultListableBeanFactory 549 | 63 - org.springframework.beans - 3.0.3.RELEASE | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@203f85c7: defining beans ; root of factory hierarchy
19:01:21,500 | INFO | tenderThread-110 | OsgiServiceProxyFactoryBean | al.aop.ServiceDynamicInterceptor 470 | 75 - org.springframework.osgi.core - 1.2.0 | Looking for mandatory OSGi service dependency for bean matching filter (objectClass=org.apache.cxf.transport.http_osgi.OsgiDestinationRegistryIntf)
19:01:21,504 | INFO | tenderThread-110 | OsgiServiceProxyFactoryBean | al.aop.ServiceDynamicInterceptor 476 | 75 - org.springframework.osgi.core - 1.2.0 | Found mandatory OSGi service for bean
19:01:21,596 | ERROR | tenderThread-110 | tServiceReferenceRecipe$Listener | tServiceReferenceRecipe$Listener 556 | 7 - org.apache.aries.blueprint - 0.2.0.incubating | Error calling listener method public void org.apache.servicemix.common.osgi.EndpointTracker.register(org.apache.servicemix.common.osgi.EndpointWrapper,java.util.Map) throws java.lang.Exception
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_20]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:221)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.invokeMethods(AbstractServiceReferenceRecipe.java:553)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe$Listener.bind(AbstractServiceReferenceRecipe.java:518)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.bind(AbstractServiceReferenceRecipe.java:415)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.ReferenceListRecipe.track(ReferenceListRecipe.java:135)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.serviceAdded(AbstractServiceReferenceRecipe.java:365)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.apache.aries.blueprint.container.AbstractServiceReferenceRecipe.serviceChanged(AbstractServiceReferenceRecipe.java:349)[7:org.apache.aries.blueprint:0.2.0.incubating]
at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:933)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:756)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:711)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:507)[osgi-3.6.0.v20100517.jar:]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:525)[osgi-3.6.0.v20100517.jar:]
at org.apache.servicemix.common.osgi.EndpointExporter.deploy(EndpointExporter.java:121)[94:servicemix-common:2010.02.0.fuse-02-00]
at org.apache.servicemix.common.osgi.EndpointExporter.afterPropertiesSet(EndpointExporter.java:174)[94:servicemix-common:2010.02.0.fuse-02-00]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1469)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)[63:org.springframework.beans:3.0.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[65:org.springframework.context:3.0.3.RELEASE]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[75:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[75:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[75:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[75:org.springframework.osgi.core:1.2.0]
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)[76:org.springframework.osgi.extender:1.2.0]
at java.lang.Thread.run(Thread.java:619)[:1.6.0_20]
Caused by: javax.jbi.management.DeploymentException: java.io.IOException: Protocol mismatch for port 9091: engine's protocol is http, the url protocol is https
at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:561)
at org.apache.servicemix.common.osgi.EndpointTracker$OsgiServiceUnit.(ServerImpl.java:60)
at org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:556)
... 40 more
19:01:21,644 | INFO | tenderThread-110 | EndpointExporter | mix.common.osgi.EndpointExporter 125 | 94 - servicemix-common - 2010.02.0.fuse-02-00 | Waiting for all endpoints to be deployed before registering service assembly
19:01:21,644 | INFO | tenderThread-110 | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 327 | 65 - org.springframework.context - 3.0.3.RELEASE | Publishing application context as OSGi service with properties {org.springframework.context.service.name=PielStreetDirectory-Secure-Consumer-1.0.0, Bundle-SymbolicName=PielStreetDirectory-Secure-Consumer-1.0.0, Bundle-Version=1.0.0}
19:01:21,644 | INFO | tenderThread-110 | ContextLoaderListener | BundleApplicationContextListener 45 | 76 - org.springframework.osgi.extender - 1.2.0 | Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=PielStreetDirectory-Secure-Consumer-1.0.0, config=osgibundle:/META-INF/spring/*.xml))
Any help would be very appreciated.
Thx.
Edited by: fsalceda on May 5, 2011 6:58 PM