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

Camel deployment on EAP domain mode is not working on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Release Backlog
    • Major
    • Resolution: Unresolved
    • fuse-7.6-CR4
    • fuse-7.x-GA
    • Fuse EAP
    • None
    • Hide

      1. Prepare EAP domain
      I have used domain controller and 2 host controllers on localhost.
      You can recreate it by following steps described here. I have used EAP 7.2.5 GA where the configuration is slightly different from referred guide.
      2. copy fuse-eap-installer-7.6.0.fuse-760020-redhat-00001.jar to jboss-eap-7.2 directory from previous step
      3. java -jar fuse-eap-installer-7.6.0.fuse-760020-redhat-00001.jar
      After installation the Camel module should be enabled.
      4. Go to jboss-eap-7.2/quickstarts/camel/camel-cxf-jaxrs and modify example to bind to the port 8180 (in cxfrs-camel-context.xml). This is because we will deploy application to primary-server-group and test endpoint on server11.
      5. build quickstart
      6. Start DC, HC1 and HC2 using configuration done in step 1
      7. go to EAP console Deployments -> Server Groups -> primary-server-group -> add previously built application
      8. application should deploy and expose endpoint on localhost:8180/example-camel-cxf-jaxrs

      At this point there are no error messages in server or DC/HC logs so it looks like application has been deployed successfully but there is "404 - Not Found" on expected address.

      Probably it's possible to reproduce this issue on smaller more basic environment but I was testing on this configuration.

      Exactly same steps works on RHEL. I have also tested to deploy application on Windows in standalone mode and the endpoint is at least responding and web form is loaded but will fail after sending a new request.

      Show
      1. Prepare EAP domain I have used domain controller and 2 host controllers on localhost. You can recreate it by following steps described here . I have used EAP 7.2.5 GA where the configuration is slightly different from referred guide. 2. copy fuse-eap-installer-7.6.0.fuse-760020-redhat-00001.jar to jboss-eap-7.2 directory from previous step 3. java -jar fuse-eap-installer-7.6.0.fuse-760020-redhat-00001.jar After installation the Camel module should be enabled. 4. Go to jboss-eap-7.2/quickstarts/camel/camel-cxf-jaxrs and modify example to bind to the port 8180 (in cxfrs-camel-context.xml). This is because we will deploy application to primary-server-group and test endpoint on server11. 5. build quickstart 6. Start DC, HC1 and HC2 using configuration done in step 1 7. go to EAP console Deployments -> Server Groups -> primary-server-group -> add previously built application 8. application should deploy and expose endpoint on localhost:8180/example-camel-cxf-jaxrs At this point there are no error messages in server or DC/HC logs so it looks like application has been deployed successfully but there is "404 - Not Found" on expected address. Probably it's possible to reproduce this issue on smaller more basic environment but I was testing on this configuration. Exactly same steps works on RHEL. I have also tested to deploy application on Windows in standalone mode and the endpoint is at least responding and web form is loaded but will fail after sending a new request.

    Description

      Camel application on Fuse on EAP in domain mode is not working.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ecervena@redhat.com Emil Cervenan
              Emil Cervenan Emil Cervenan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: