2 Replies Latest reply on Jun 22, 2009 8:27 AM by concombremasqué

    ESB startup: lot of warnings in log file

    concombremasqué

      Hi,

       

      Each time I start Fuse ESB 4.1 I get a bunch of warnings in the log file. What's the meaning of those warnings? How can I get rid of them?

       

      Example from my log file:

       

      18:35:26,715 | WARN  | FelixStartLevel  | CustomListenerAdapterUtils       | apter.CustomListenerAdapterUtils  161 | Custom method threw exception when passing service type

      java.lang.NullPointerException

           at org.apache.servicemix.kernel.gshell.features.management.ManagedFeaturesRegistry.registerMBeanServer(ManagedFeaturesRegistry.java:192)

           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:597)

           at org.springframework.osgi.util.internal.ReflectionUtils.invokeMethod(ReflectionUtils.java:108)

           at org.springframework.osgi.config.internal.adapter.CustomListenerAdapterUtils.invokeCustomMethods(CustomListenerAdapterUtils.java:155)

           at org.springframework.osgi.config.internal.adapter.OsgiServiceLifecycleListenerAdapter.bind(OsgiServiceLifecycleListenerAdapter.java:187)

           at org.springframework.osgi.service.importer.support.internal.util.OsgiServiceBindingUtils.callListenersBind(OsgiServiceBindingUtils.java:50)

           at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor$Listener.serviceChanged(ServiceDynamicInterceptor.java:154)

           at org.springframework.osgi.util.OsgiListenerUtils.dispatchServiceRegistrationEvents(OsgiListenerUtils.java:113)

           at org.springframework.osgi.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:172)

           at org.springframework.osgi.util.OsgiListenerUtils.addSingleServiceListener(OsgiListenerUtils.java:140)

           at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.afterPropertiesSet(ServiceDynamicInterceptor.java:457)

           at org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean.createProxy(OsgiServiceProxyFactoryBean.java:194)

           at org.springframework.osgi.service.importer.support.AbstractServiceImporterProxyFactoryBean.getObject(AbstractServiceImporterProxyFactoryBean.java:86)

           at org.springframework.osgi.service.importer.support.OsgiServiceProxyFactoryBean.getObject(OsgiServiceProxyFactoryBean.java:141)

           at org.springframework.beans.factory.support.FactoryBeanRegistrySupport$1.run(FactoryBeanRegistrySupport.java:121)

           at java.security.AccessController.doPrivileged(Native Method)

      ....

       

       

      and then I get several logs like the one below:

       

       

      18:35:27,309 | WARN  | FelixStartLevel  | ManagedFeaturesRegistry          | nagement.ManagedFeaturesRegistry  105 | Unable to register managed feature: java.lang.NullPointerException

      java.lang.NullPointerException

           at org.apache.servicemix.kernel.gshell.features.management.ManagedFeaturesRegistry.register(ManagedFeaturesRegistry.java:102)

           at org.apache.servicemix.kernel.gshell.features.management.ManagedFeaturesRegistry.register(ManagedFeaturesRegistry.java:150)

           at org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.internalAddRepository(FeaturesServiceImpl.java:132)

           at org.apache.servicemix.kernel.gshell.features.internal.FeaturesServiceImpl.start(FeaturesServiceImpl.java:392)

           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:597)

           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)

           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)

           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)

           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

           at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

           at java.security.AccessController.doPrivileged(Native Method)

       

      ...

       

       

       

      I haven't changed anything in the etc/ configuration files. I observe this behaviour with the default configuration.

       

      Thanks.

      DD

       

      Edited by: concombre masqué on Jun 22, 2009 9:43 AM