Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-2882

BeanCreationException on JBoss startup with Diu

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Diu
    • Fix Version/s: All Time Backlog
    • Component/s: None
    • Labels:
      None
    • Environment:

      Bidmgr: bidmgr-distribution-2.4.1.diu-SNAPSHOT-BUILD_48-t20140512091135-bin.tar.gz
      Core: smb-ear-2.4.1.diu-SNAPSHOT-p20-t20140430-190858-CI.ear

      Description

      The following is the exception I noticed when I restarted jboss and listener after upgrading Newport with Diu.
      I see this in jboss log.
      I dint see this while deploying orders.

      09:38:38,507 WARN [SpringBusFactory] Initial attempt to create application context was unsuccessful.
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cxf' defined in URL [vfszip:/home/TSAApp/apps/jboss-5.1.0.GA/server/tsa_messaging_node1/farm/smb-ear-2.4.1.diu-SNAPSHOT-p20-t20140430-190858-CI.ear/lib/cxf-rt-core-2.7.5.jar/META-INF/cxf/cxf.fixml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.apache.cxf.bus.spring.SpringBeanLocator.<init>(Lorg/springframework/context/ApplicationContext;Lorg/apache/cxf/Bus;)V
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

      Caused by: java.lang.NoSuchMethodError: org.apache.cxf.bus.spring.SpringBeanLocator.<init>(Lorg/springframework/context/ApplicationContext;Lorg/apache/cxf/Bus;)V
      at org.apache.cxf.bus.spring.SpringBus.setApplicationContext(SpringBus.java:87)
      at org.springframework.context.support.ApplicationContextAwareProcessor.invokeAwareInterfaces(ApplicationContextAwareProcessor.java:106)
      at org.springframework.context.support.ApplicationContextAwareProcessor.postProcessBeforeInitialization(ApplicationContextAwareProcessor.java:85)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1405)
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      ... 91 more
      09:38:38,509 INFO [BusApplicationContext] Refreshing org.apache.cxf.bus.spring.BusApplicationContext@1fcb4e28: startup date [Wed May 14 09:38:38 UTC 2014]; root of context hierarchy

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: