Which exact version do you use ?
And could you explain the exact steps to reproduce the problems ?

On 10/10/06, JimmyLee <[EMAIL PROTECTED]> wrote:

There is the full stack trace
INFO  - ComponentMBeanImpl             - Initializing component:
#SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - ComponentMBeanImpl             - Initializing component: receiver
INFO  - ComponentMBeanImpl             - Initializing component:
ID:jimmy-4733-1160495313453-0:0
Caught: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'jbi' defined in f
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'jbi' defined in file [D:\
Caused by: javax.jbi.JBIException: Error calling init
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:122)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:196)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1113)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1073)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:1030)
        at
org.apache.servicemix.jbi.container.JBIContainer.activateComponent(JBIContainer.java:978)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:68)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(Abstrac
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAu
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowi
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:242
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBe
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:239)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:155)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultL
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext
        at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext
        at org.apache.servicemix.Main.main(Main.java:80)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at
org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
Caused by: org.apache.servicemix.wsn.EndpointRegistrationException: Unable
to activate endpoint
        at
org.apache.servicemix.wsn.component.WSNLifeCycle$WSNEndpointManager.register(WSNLifeCycle.java:132)
        at
org.apache.servicemix.wsn.AbstractEndpoint.register(AbstractEndpoint.java:51)
        at
org.apache.servicemix.wsn.AbstractNotificationBroker.init(AbstractNotificationBroker.java:78)
        at
org.apache.servicemix.wsn.jms.JmsNotificationBroker.init(JmsNotificationBroker.java:40)
        at
org.apache.servicemix.wsn.component.WSNLifeCycle.doInit(WSNLifeCycle.java:66)
        at
org.apache.servicemix.wsn.spring.WSNSpringComponent$LifeCycle.doInit(WSNSpringComponent.java:103)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:115)
        ... 25 more
Caused by: java.lang.NullPointerException
        at
com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:287)
        at
com.sun.xml.bind.v2.model.impl.PropertyInfoImpl.calcXmlName(PropertyInfoImpl.java:260)
        at
com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl.getTypes(ElementPropertyInfoImpl.java:100)
        at
com.sun.xml.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.getTypes(RuntimeElementPropertyInfoImpl.
        at
com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.size(ElementPropertyInfoImpl.java:42)
        at java.util.AbstractList$Itr.hasNext(AbstractList.java:341)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:139)
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:49)
        at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:189)
        at
com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:204)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:343)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl$1.run(JAXBContextImpl.java:340)
        at java.security.AccessController.doPrivileged(Native Method)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:340)
        at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:204)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
        at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:589)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:381)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
        at
org.apache.servicemix.wsn.component.WSNEndpoint.createJAXBContext(WSNEndpoint.java:99)
        at
org.apache.servicemix.wsn.component.WSNEndpoint.activate(WSNEndpoint.java:79)
        at
org.apache.servicemix.wsn.component.WSNLifeCycle$WSNEndpointManager.register(WSNLifeCycle.java:129)
        ... 31 more

Thanks

gnodet wrote:
>
> Please paste the full stack trace.  It is very helpful
> to determine the root cause of a problem.  Usually,
> the last exception logged in the stack trace can be
> used to determine what the real problem is.
>
> On 10/6/06, JimmyLee <[EMAIL PROTECTED]> wrote:
>>
>> When I run the WS-Notification Example I got
>> javax.jbi.JBIException: Error calling init
>> ...
>> ...
>> Caused by: org.apache.servicemix.wsn.EndpointRegistrationException:
>> Unable
>> to activate endpoint
>>                at
>> 
org.apache.servicemix.wsn.component.WSNLifeCycle$WSNEndpointManager.register(WSNLifeCycle.java:132)
>>
>> Can someone help me?
>>
>> Thanks
>> --
>> View this message in context:
>> http://www.nabble.com/Get-Error-calling-init-tf2394873.html#a6677402
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>

--
View this message in context: 
http://www.nabble.com/Get-Error-calling-init-tf2394873.html#a6739370
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to