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

With EAP 7.1 + patch 7.1.4, CXF(soap) Producer not able to get response from the service.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.2
    • fuse-7.1
    • CXF, Fuse EAP
    • None
    • % %
    • Hide

      1. Download EAP 7.1 Update 04 Patch from software download portal.
      2. Patch can be applied as per the steps described in release notes.

      bin\jboss-cli.bat "patch apply path\to\jboss-eap-7.1.4-patch.zip"
      

      3. We have to also make sure that FuseOnEAP jar is installed on EAP. We can get it from this link. We have to download "Red Hat Fuse 7.1.0 on EAP Installer".
      4. Attached is the reproducer reproducer_02194032.zip.
      5. Import maven project to Eclipse IDE and build project.
      6. Copy war example-camel-cxf-jaxws.war to jboss-eap-7.1/standalone/deployments.
      7. Logs observed(note: camel timer executes 3 times).

      07:51:02,762 INFO  [cxfConsumerToProcessorRoute] (default task-1) BODY: hey
      07:51:02,765 WARNING [javax.faces] (default task-2) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:02,765 WARNING [javax.faces] (default task-2) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:12,530 WARNING [javax.faces] (default task-3) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:12,530 WARNING [javax.faces] (default task-3) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:12,534 INFO  [cxfConsumerToProcessorRoute] (default task-3) BODY: hey
      07:51:12,535 WARNING [javax.faces] (default task-4) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:12,536 WARNING [javax.faces] (default task-4) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:22,530 WARNING [javax.faces] (default task-5) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:22,530 WARNING [javax.faces] (default task-5) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:22,533 INFO  [cxfConsumerToProcessorRoute] (default task-5) BODY: hey
      07:51:22,534 WARNING [javax.faces] (default task-6) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      07:51:22,534 WARNING [javax.faces] (default task-6) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      
      

      8. If we try to shutdown EAP, we get inflight messages in logs and EAP doesn't shutdown unless we kill process id.

      08:18:30,235 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges:
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=45220]
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=35225]
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-5, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=25225]
      08:18:31,235 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) Waiting as there are still 6 inflight and pending exchanges to complete, timeout in 280 seconds. Inflights per route: [route1 = 3, timerToAamsRoute2 = 3]
      08:18:31,235 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges:
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=46220]
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=36225]
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-5, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=26225]
      08:18:32,236 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) Waiting as there are still 6 inflight and pending exchanges to complete, timeout in 279 seconds. Inflights per route: [route1 = 3, timerToAamsRoute2 = 3]
      08:18:32,236 INFO  [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges:
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=47221]
      	InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=37226]
      

      9. While if we deploy war to EAP 7.1.0 GA(non-patched) than we get correct response from webservice correctly. This works well in Fuse on Karaf too.

      08:21:07,477 INFO  [cxfConsumerToProcessorRoute] (default task-1) BODY: hey
      08:21:07,480 WARNING [javax.faces] (default task-2) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      08:21:07,481 WARNING [javax.faces] (default task-2) Multiple JSF Applications found on same ClassLoader.  Unable to safely determine which FactoryManager instance to use. Defaulting to first match.
      08:21:07,512 INFO  [route1] (default-workqueue-1) just after calling webservice hey hello
      
      
      Show
      1. Download EAP 7.1 Update 04 Patch from software download portal . 2. Patch can be applied as per the steps described in release notes . bin\jboss-cli.bat "patch apply path\to\jboss-eap-7.1.4-patch.zip" 3. We have to also make sure that FuseOnEAP jar is installed on EAP. We can get it from this link . We have to download "Red Hat Fuse 7.1.0 on EAP Installer". 4. Attached is the reproducer reproducer_02194032.zip. 5. Import maven project to Eclipse IDE and build project. 6. Copy war example-camel-cxf-jaxws.war to jboss-eap-7.1/standalone/deployments. 7. Logs observed(note: camel timer executes 3 times). 07:51:02,762 INFO [cxfConsumerToProcessorRoute] ( default task-1) BODY: hey 07:51:02,765 WARNING [javax.faces] ( default task-2) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:02,765 WARNING [javax.faces] ( default task-2) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:12,530 WARNING [javax.faces] ( default task-3) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:12,530 WARNING [javax.faces] ( default task-3) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:12,534 INFO [cxfConsumerToProcessorRoute] ( default task-3) BODY: hey 07:51:12,535 WARNING [javax.faces] ( default task-4) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:12,536 WARNING [javax.faces] ( default task-4) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:22,530 WARNING [javax.faces] ( default task-5) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:22,530 WARNING [javax.faces] ( default task-5) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:22,533 INFO [cxfConsumerToProcessorRoute] ( default task-5) BODY: hey 07:51:22,534 WARNING [javax.faces] ( default task-6) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 07:51:22,534 WARNING [javax.faces] ( default task-6) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 8. If we try to shutdown EAP, we get inflight messages in logs and EAP doesn't shutdown unless we kill process id. 08:18:30,235 INFO [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges: InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=45220] InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=35225] InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-5, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=25225] 08:18:31,235 INFO [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) Waiting as there are still 6 inflight and pending exchanges to complete, timeout in 280 seconds. Inflights per route: [route1 = 3, timerToAamsRoute2 = 3] 08:18:31,235 INFO [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges: InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=46220] InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=36225] InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-5, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=26225] 08:18:32,236 INFO [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) Waiting as there are still 6 inflight and pending exchanges to complete, timeout in 279 seconds. Inflights per route: [route1 = 3, timerToAamsRoute2 = 3] 08:18:32,236 INFO [org.apache.camel.impl.DefaultShutdownStrategy] (Camel (cxfws-camel-context) thread #2 - ShutdownTask) There are 3 inflight exchanges: InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-1, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=47221] InflightExchange: [exchangeId=ID-localhost-localdomain-1538534852824-0-3, fromRouteId=timerToAamsRoute2, routeId=route1, nodeId=client1, elapsed=0, duration=37226] 9. While if we deploy war to EAP 7.1.0 GA(non-patched) than we get correct response from webservice correctly. This works well in Fuse on Karaf too. 08:21:07,477 INFO [cxfConsumerToProcessorRoute] ( default task-1) BODY: hey 08:21:07,480 WARNING [javax.faces] ( default task-2) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 08:21:07,481 WARNING [javax.faces] ( default task-2) Multiple JSF Applications found on same ClassLoader . Unable to safely determine which FactoryManager instance to use. Defaulting to first match. 08:21:07,512 INFO [route1] ( default -workqueue-1) just after calling webservice hey hello

          tdiesler@redhat.com Thomas Diesler
          rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
          Viliam Kasala Viliam Kasala
          Votes:
          1 Vote for this issue
          Watchers:
          5 Start watching this issue

            Created:
            Updated:
            Resolved: