Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-208

Webdav fails on Solaris Sparc 11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • httpd 2.4.23 ER3
    • httpd 2.4.23 ER2
    • httpd
    • None
    • ER4
    • Hide

      I.e. COPY operation test on Solaris Sparc 11:
      1) Create a file in basedir + "/var/www/html" i.e. hello.txt
      2) Enable webdav on that directory - httpd.conf:

      <Directory "/opt/hudson8/jbcs-httpd24-2.4/var/www/html">
      ...
      Dav On
      ...
      </Directory>
      

      3) Perform webdav copy operation with hello.txt file.

      Show
      I.e. COPY operation test on Solaris Sparc 11: 1) Create a file in basedir + "/var/www/html" i.e. hello.txt 2) Enable webdav on that directory - httpd.conf: <Directory "/opt/hudson8/jbcs-httpd24-2.4/ var /www/html" > ... Dav On ... </Directory> 3) Perform webdav copy operation with hello.txt file.

      When testing Webdav operations with JBCS-2.4.23-ER2 on Solaris Sparc 11 the response code is 500 and operation is not performed.
      Logs contain:

      [Thu Nov 03 11:15:32.068359 2016] [dav:error] [pid 24579] [client 127.0.0.1:60629] Could not COPY /davTest/hello.txt due to a failed precondition on the source (e.g. locks).  [500, #0]
      [Thu Nov 03 11:15:32.068460 2016] [dav:error] [pid 24579] [client 127.0.0.1:60629] The locks could not be queried for verification against a possible "If:" header.  [500, #0]
      [Thu Nov 03 11:15:32.068576 2016] [dav:error] [pid 24579] [client 127.0.0.1:60629] Could not open the lock database.  [500, #400]
      [Thu Nov 03 11:15:32.068660 2016] [dav:error] [pid 24579] (120013)APR does not understand this error code: [client 127.0.0.1:60629] Could not open property database.  [500, #1]
      

      and access log:

      127.0.0.1 - - [03/Nov/2016:11:15:32 -0400] "COPY /davTest/hello.txt HTTP/1.1" 500 609 "-" "Sardine/5.6"
      

      This happens for these tests:

      createDirectoryTest - MKCOL Method
      unlockTest - UNLOCK Method
      copyTest - COPY Method
      putTest - PUT Method
      moveTest - MOVE Method
      deleteTest - DELETE Method
      lockTest - LOCK Method
      

      Same Webdav tests and JBCS zip for Solaris Sparc pass on Solaris Sparc 10.

              gzaronik@redhat.com George Zaronikas
              fgoldefu@redhat.com Filip Goldefus (Inactive)
              Filip Goldefus Filip Goldefus (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: