FUSE ESB
  1. FUSE ESB
  2. ESB-6

Fixes to match newer Spring APIs when setting an object name.

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: fuse-3.2.0.0
    • Fix Version/s: fuse-3.2.0.1
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 9 results 

      Description

      This issue prevented the Fuse ESB from starting up due to the following error:

      Caught: org.springframework.beans.factory.BeanCreationException: Error creating bean with name
      'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean' defined in class path resource [jmx.xml]: Invocation of init method failed; nested exception is
      javax.management.MalformedObjectNameException: Invalid ObjectName value type [javax.xml.namespace.QName]: only ObjectName and String
      supported.
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean'
      defined in class path resource [jmx.xml]: Invocation of init method failed; nested exception is javax.management.MalformedObjectNameException: Invalid
      ObjectName value type [javax.xml.namespace.QName]: only ObjectName and String supported.
      Caused by: javax.management.MalformedObjectNameException: Invalid ObjectName value type [javax.xml.namespace.QName]: only ObjectName and
      String supported.
      at org.springframework.jmx.support.ObjectNameManager.getInstance(ObjectNameManager.java:58)
      at org.springframework.jmx.support.ConnectorServerFactoryBean.setObjectName(ConnectorServerFactoryBean.java:104)
      at org.apache.servicemix.jbi.jmx.ConnectorServerFactoryBean.afterPropertiesSet(ConnectorServerFactoryBean.java:186)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1201)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1171)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:425)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
      at org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
      at org.apache.servicemix.Main.main(Main.java:51)
      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:585)
      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)

      Fixed in 15525

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Bruce Snyder
            Reporter:
            Bruce Snyder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: