| 22 |   | === Petascope cannot import data with tomcat 9 === | 
          
          
            | 23 |   |  | 
          
          
            | 24 |   | If you installed tomcat9 (stricter than previous tomcat versions in term of security) and then wcst_import cannot import data anymore with the error as below from petascope | 
          
          
            | 25 |   |  | 
          
          
            | 26 |   |  | 
          
          
            | 27 |   | {{{ | 
          
          
            | 28 |   |  <ows:ExceptionText>The URL provided in the coverageRef parameter is malformed.</ows:ExceptionText> | 
          
          
            | 29 |   | }}} | 
          
          
            | 30 |   |  | 
          
          
            | 31 |   | then, you could try this solution first | 
          
          
            | 32 |   |  | 
          
          
            | 33 |   |  | 
          
          
            | 34 |   | {{{ | 
          
          
            | 35 |   | /lib/systemd/system/tomcat9.service and set PrivateTmp=yes to PrivateTmp=no | 
          
          
            | 36 |   |  | 
          
          
            | 37 |   | Then sudo systemctl daemon-reload | 
          
          
            | 38 |   | sudo service tomcat9 restart | 
          
          
            | 39 |   | }}} | 
          
          
            | 40 |   |  | 
          
          
            | 41 |   | If it does not work, then, undo the change above and you would need to update rasdaman to the latest version which fixed this problem in petascope and wcst_import. | 
          
          
            |   | 22 | === Cannot import data with rasdaman 9.8.x on Ubuntu 18.04 === | 
          
          
            |   | 23 |  | 
          
          
            |   | 24 | On Ubuntu 18.04 when rasdaman 9.8.x is deployed in Tomcat 9 with the default system configuration, wcst_import cannot import data anymore with the error as below from petascope: | 
          
          
            |   | 25 |  | 
          
          
            |   | 26 | {{{ | 
          
          
            |   | 27 | The URL provided in the coverageRef parameter is malformed. | 
          
          
            |   | 28 | }}} | 
          
          
            |   | 29 | Fixing this requires allowing Tomcat to use the normal system /tmp directory: | 
          
          
            |   | 30 |  | 
          
          
            |   | 31 | - edit `/lib/systemd/system/tomcat9.service` and set `PrivateTmp=yes` to `PrivateTmp=no` | 
          
          
            |   | 32 | - sudo systemctl daemon-reload | 
          
          
            |   | 33 | - sudo service tomcat9 restart |