Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22913

Server Adapter: Publish does not work

XMLWordPrintable

    • Hide

      ASSERT: Have an OpenShift 3 connection with a running application (e.g. eap-64 template based).
      EXEC: Select a service in OpenShift explorer view and select Server Adapter... in its context menu.
      EXEC: Finish wizard.

      RESULT: Server adapter is created and error is thrown.
      EXPECTED RESULT: Flawless server adapter is created and publishment works.

      Show
      ASSERT: Have an OpenShift 3 connection with a running application (e.g. eap-64 template based). EXEC: Select a service in OpenShift explorer view and select Server Adapter... in its context menu. EXEC: Finish wizard. RESULT: Server adapter is created and error is thrown. EXPECTED RESULT: Flawless server adapter is created and publishment works.

      When I create a new OpenShift 3 server adapter with already running application pod, I get following error in error dialog and initial publish does not work. Autopublish does not work at all and also manual triggering of publishment throws same error.

      Could not sync /home/mlabuda/workspaces/0804/.metadata/.plugins/org.jboss.ide.eclipse.as.core/projectname000@eap-app/deploy to all pods running the service eap-app
      OpenShiftBinaryCapability process exited: WARNING: rsync command not found in path. Please use your package manager to install it.
      Ignoring the following flags because they only apply to rsync: --exclude, --no-perms
      tar: ROOT.war/META-INF/MANIFEST.MF: Cannot open: Not a directory
      tar: ROOT.war/META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink/pom.properties: Cannot open: Not a directory
      tar: ROOT.war/META-INF/maven/org.jboss.quickstarts.eap/jboss-kitchensink/pom.xml: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/beans.xml: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/META-INF/persistence.xml: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/import.sql: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/controller/MemberController.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/data/MemberListProducer.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/data/MemberRepository.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/model/Member.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/rest/MemberResourceRESTService.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/service/MemberRegistration.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/classes/org/jboss/as/quickstarts/kitchensink/util/Resources.class: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/faces-config.xml: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/kitchensink-quickstart-ds.xml: Cannot open: Not a directory
      tar: ROOT.war/WEB-INF/templates/default.xhtml: Cannot open: Not a directory
      tar: ROOT.war/index.html: Cannot open: Not a directory
      tar: ROOT.war/index.xhtml: Cannot open: Not a directory
      tar: ROOT.war/resources/css/screen.css: Cannot open: Not a directory
      tar: ROOT.war/resources/gfx/asidebkg.png: Cannot open: Not a directory
      tar: ROOT.war/resources/gfx/banner.png: Cannot open: Not a directory
      tar: ROOT.war/resources/gfx/bkg-blkheader.png: Cannot open: Not a directory
      tar: ROOT.war/resources/gfx/headerbkg.png: Cannot open: Not a directory
      tar: ROOT.war/resources/gfx/rhjb_eap_logo.png: Cannot open: Not a directory
      tar: Exiting with failure status due to previous errors
      error: error extracting tar at destination directory: error executing remote command: Error executing command in container: Error executing in Docker Container: 2
      

      I have installed rsync rsync-3.1.2-2.fc24.x86_64. I tried oc binary 1.2.0. and also 1.2.1. Issue describes not found rsync on PATH, although it is present there.

              nickboldt Nick Boldt
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: