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

cxf quickstarts log WARNs with fabric on Fuse

    XMLWordPrintable

Details

    • % %
    • Hide

      1. start fuse and create fabric with

      fabric:create --wait-for-provisioning

      2. build quickstart with

      mvn clean install

      3. upload quickstart to fabric

      mvn fabric8:deploy

      4. create child with

      fabric:container-create-child --profile quickstarts-cxf-camel.cxf.code.first root mychild
      Show
      1. start fuse and create fabric with fabric:create --wait- for -provisioning 2. build quickstart with mvn clean install 3. upload quickstart to fabric mvn fabric8:deploy 4. create child with fabric:container-create-child --profile quickstarts-cxf-camel.cxf.code.first root mychild

    Description

      The child container is created, but the quickstart does not work. We get these errors in mychild log:

      2016-08-01 13:57:06,405 | WARN  | loyer-3-thread-1 | FabricCxfRegistrationHandler     | 104 - io.fabric8.fabric-cxf-registry - 1.2.0.redhat-630157 | Failed to get CxfServlet attribute on org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.cxf-camel-cxf-code-first-cxf1598485026,type=Bus.Service.Endpoint,service="{http://order.camelinaction/}OrderEndpointService",port="OrderEndpointPort",instance.id=1206059708. javax.management.AttributeNotFoundException: getAttribute failed: ModelMBeanAttributeInfo not found for ServletContext
      javax.management.AttributeNotFoundException: getAttribute failed: ModelMBeanAttributeInfo not found for ServletContext
      	at javax.management.modelmbean.RequiredModelMBean.getAttribute(RequiredModelMBean.java:1524)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)[:1.8.0_31]
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)[:1.8.0_31]
      	at io.fabric8.cxf.registry.FabricCxfRegistrationHandler.getCxfServletPath(FabricCxfRegistrationHandler.java:403)
      	at io.fabric8.cxf.registry.FabricCxfRegistrationHandler.registerApiEndpoint(FabricCxfRegistrationHandler.java:291)
      	at io.fabric8.cxf.registry.FabricCxfRegistrationHandler.onMBeanEvent(FabricCxfRegistrationHandler.java:241)
      
      2016-08-01 13:57:06,427 | WARN  | loyer-3-thread-1 | FabricCxfRegistrationHandler     | 104 - io.fabric8.fabric-cxf-registry - 1.2.0.redhat-630157 | Could not find the CXF servlet path in config admin so using a default value: /cxf
      2016-08-01 13:57:06,431 | WARN  | loyer-3-thread-1 | FabricCxfRegistrationHandler     | 104 - io.fabric8.fabric-cxf-registry - 1.2.0.redhat-630157 | Name org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.cxf-camel-cxf-code-first-cxf1598485026,type=Bus.Service.Endpoint,service="{http://order.camelinaction/}OrderEndpointService",port="OrderEndpointPort",instance.id=1206059708 could not find attribute isWADL. javax.management.MBeanException: Operation isWADL not in ModelMBeanInfo
      javax.management.MBeanException: Operation isWADL not in ModelMBeanInfo
      	at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:961)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)[:1.8.0_31]
      

      when testing with "mvn -Ptest test" (after modifying pom, see ENTESB-2088) all tests fail

      Attachments

        1. fuse.log
          286 kB
        2. mychildlog.log
          306 kB

        Issue Links

          Activity

            People

              johnpoth John Poth
              jkasztur@redhat.com Jan Kasztura (Inactive)
              Jan Kasztura Jan Kasztura (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: