Hi,
could you paste your xbean.xml ?
It seems that your JBI target URI is not correct or doesn't exist.
Regards
JB
On 09/07/2011 04:04 PM, Dan Powell wrote:
Using ServiceMix 4.3.0, I am getting the following exception deploying some of
my CXF endpoints. The cxfse:endpoint service deploys fine, but when deploying
the cxfbc bundle containing the cxfbc:consumer I get the following exception.
I have two other endpoints that are deploying fine, and have been unable to
identify the difference in this one that fails. I have confirmed that the
MBeans are registered, and the logs are clean when deploying the cxfse bundle.
Any suggestions as to where to look would be greatly appreciated.
09:39:27,108 | ERROR | xtenderThread-12 | tServiceReferenceRecipe$Listener | 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.GeneratedMethodAccessor107.invoke(Unknown Source)
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.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.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3772)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.access$000(Felix.java:80)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:729)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:107)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.Felix.registerService(Felix.java:2861)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)[org.apache.felix.framework-3.0.9.jar:]
at
org.apache.servicemix.common.osgi.EndpointExporter.deploy(EndpointExporter.java:121)[124:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.osgi.EndpointExporter.afterPropertiesSet(EndpointExporter.java:185)[124:servicemix-common:2011.01.0]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)[62:org.springframework.beans:3.0.5.RELEASE]
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)[64:org.springframework.context:3.0.5.RELEASE]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[74:org.springframework.osgi.core:1.2.0]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[74:org.springframework.osgi.core:1.2.0]
at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[74:org.springframework.osgi.core:1.2.0]
at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[74:org.springframework.osgi.core:1.2.0]
at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:136)[75:org.springframework.osgi.extender:1.2.0]
at java.lang.Thread.run(Thread.java:680)[:1.6.0_26]
Caused by: java.lang.IllegalArgumentException: Endpoint: Endpoint[service:
null, endpoint: null, role: consumer] has no service name defined
at
org.apache.servicemix.common.endpoints.AbstractEndpoint.getKey(AbstractEndpoint.java:195)
at
org.apache.servicemix.common.osgi.EndpointExporter.checkAndRegisterSA(EndpointExporter.java:137)[124:servicemix-common:2011.01.0]
at
org.apache.servicemix.common.osgi.EndpointExporter$1.setDeployed(EndpointExporter.java:117)[124:servicemix-common:2011.01.0]
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.blueprint.container.AbstractServiceReferenceRecipe$JdkProxyFactory$1.invoke(AbstractServiceReferenceRecipe.java:632)
at $Proxy154.setDeployed(Unknown Source)
at
org.apache.servicemix.common.osgi.EndpointTracker.register(EndpointTracker.java:63)[124:servicemix-common:2011.01.0]
... 38 more
Thanks!
Dan
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com