Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-12587

FuseOnEAP on Windows OS: Cannot convert value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory': no matching editors or conversion strategy found

    XMLWordPrintable

Details

    • % %
    • ?
    • Hide
      • EAP 7.2.4
      • Fuse On EAP 7.5
      • Windows 10
      • Note: In Windows 10 war doesn't start/load successfully and throws error in logs. In Linux there are several WARN message for spring libraries but at last camel-context is up and running.
      • Build the attached reproducer with 'mvn clean package'.
      • Copy events.war file in target folder of project to jboss-eap-7.2/standalone/deployments/
      • Create three empty files at location /path/to/jboss-eap-7.2/standalone/configuration/prime
      1. admin-route.properties
      2. common-route.properties
      3. prmevents-route.properties
      • Start EAP server.
      • You will observe following error logs
        Caused by: java.lang.IllegalStateException: Cannot convert value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory': no matching editors or conversion strategy found
        	at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:307)
        	at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:588)
        	... 28 more
        
      • Now rename web.xmll to web.xml.
      • Rename application-camel-context.xml to applicationContext.xml and now build again. Deploy war. This run very well.
      • Deployment with "org.springframework.web.context.ContextLoaderListener" i.e. spring mvc procedure run well but not with camel wildfly procedure i.e. loading beans with a context file titled as app-camel-context.xml.
      • In Linux environment there are several WARN message for spring libraries but atlast camel-context start up and route start logging.
      • Also What is the reason of these WARN messages, how to avoid them ?
      Show
      EAP 7.2.4 Fuse On EAP 7.5 Windows 10 Note: In Windows 10 war doesn't start/load successfully and throws error in logs. In Linux there are several WARN message for spring libraries but at last camel-context is up and running. Build the attached reproducer with 'mvn clean package'. Copy events.war file in target folder of project to jboss-eap-7.2/standalone/deployments/ Create three empty files at location /path/to/jboss-eap-7.2/standalone/configuration/prime admin-route.properties common-route.properties prmevents-route.properties Start EAP server. You will observe following error logs Caused by: java.lang.IllegalStateException: Cannot convert value of type 'com.ibm.mq.jms.MQQueueConnectionFactory' to required type 'javax.jms.ConnectionFactory' for property 'connectionFactory' : no matching editors or conversion strategy found at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:307) at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:588) ... 28 more Now rename web.xmll to web.xml. Rename application-camel-context.xml to applicationContext.xml and now build again. Deploy war. This run very well. Deployment with "org.springframework.web.context.ContextLoaderListener" i.e. spring mvc procedure run well but not with camel wildfly procedure i.e. loading beans with a context file titled as app-camel-context.xml. In Linux environment there are several WARN message for spring libraries but atlast camel-context start up and route start logging. Also What is the reason of these WARN messages, how to avoid them ?

    Attachments

      Activity

        People

          ldemasi Luigi De Masi
          rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: