<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 05/02/2016 04:06 AM, Max Rydahl
      Andersen wrote:<br>
    </div>
    <blockquote
      cite="mid:18E8B1D4-D9AD-4AFD-9AB7-5AC27121140C@redhat.com"
      type="cite">On 29 Apr 2016, at 6:02, Rob Stryker wrote:
      <br>
      <br>
      <blockquote type="cite">Hey All:
        <br>
        <br>
        Not sure what list to send this to, since it's part CDK, part
        openshift, part EAP. Hope this is the right list.
        <br>
        <br>
        Two issues...
        <br>
        First, despite me deleting a .deployed marker
        (ROOT.war.deployed), and rsyncing back up to the pod using the
        --delete flag, the server seems to be replacing the file
        immediately, rather than undeploying the app as it's supposed
        to.  Is it the case that eap on openshift cannot undeploy
        root.war ?
        <br>
      </blockquote>
      <br>
      I don't know - but Have you tried doing it manually by ssh'ing in
      ?
      <br>
    </blockquote>
    <br>
    Yes, I've tried this by ssh'ing in and deleting the file, and the
    server log didn't seem to have any output indicating the module
    stopped. <br>
    <br>
    <blockquote
      cite="mid:18E8B1D4-D9AD-4AFD-9AB7-5AC27121140C@redhat.com"
      type="cite">Have you tried do it on a local running EAP ?
      <br>
    </blockquote>
    <br>
    Yes, on a local running EAP, the server immediately responds with
    some undeploy output. This is not occurring via openshift. <br>
    <br>
    <blockquote
      cite="mid:18E8B1D4-D9AD-4AFD-9AB7-5AC27121140C@redhat.com"
      type="cite">
      <br>
      I don't spot what you believe is strange here. Can you be more
      specific about what you actually expected ?
      <br>
    </blockquote>
    <br>
    I was expecting at least one of the commands to behave as the
    documents indicate they should.  The contents of the remote server
    inside folder 'x' should be transferred to the local folder 'y'. 
    ie,   x/* should be moved into y  as if i had done a cp x/* y/.   
    Instead, behavior seems to be either creation of a symlink (?!) or
    the contents of x (ie x/*) are being placed inside
    y/y-last-segment/. <br>
    <br>
    For example,  when openshift folder 'deployments' has file "x.txt", 
    then I would expect oc rsync eap-app-1-auugc:<i
      class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/eap/standalone/deployments<span
        class="moz-txt-tag">/</span></i> <i class="moz-txt-slash"><span
        class="moz-txt-tag">/</span>home/local/path</i>/deploy 
    to place file x.txt inside <i class="moz-txt-slash"><span
        class="moz-txt-tag">/</span>home/local/path</i>/deploy/. 
    Instead, it is placing x.txt inside <i class="moz-txt-slash"><span
        class="moz-txt-tag">/</span>home/local/path</i>/deploy/deploy.    
    This is VERY wrong. <br>
    <br>
    Is anyone else able to replicate this??<br>
    <br>
    <blockquote
      cite="mid:18E8B1D4-D9AD-4AFD-9AB7-5AC27121140C@redhat.com"
      type="cite">
      <br>
      note: The ending slash matters in rsync.
      <br>
      <br>
      <br>
      /max
      <br>
      <a class="moz-txt-link-freetext" href="http://about.me/maxandersen">http://about.me/maxandersen</a>
      <br>
    </blockquote>
    <br>
  </body>
</html>