Opened 8 weeks ago

Closed 7 weeks ago

#1523 closed defect (fixed)

Petascope_RasUtil uses port from rasdaman_url config in petascope.properties

Reported by: bphamhuu Owned by: bphamhuu
Priority: major Milestone: 9.4
Component: petascope Version: development
Keywords: Cc: dmisev, vmerticariu
Complexity: Medium

Description

When rasmgr runs on different port, it could not connect with the default port from Petascope.

Service Call: http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=InsertCoverage&coverageRef=file:///tmp/0408eaa1_af3b_44b5_929e_e963928d9c37.gml&tiling=ALIGNED [0:0, 0:1023, 0:1023]&pixelDataType=Float32&useId=existing
Error Code: RuntimeError
Error Text: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ows:ExceptionReport version="2.0.0"
    xsd:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"
    xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>Runtime error while processing request</ows:ExceptionText>
    </ows:Exception>
    <ows:Exception exceptionCode="RuntimeError">
        <ows:ExceptionText>rasj.RasConnectionFailedException : RasManager Error: Requested database unknown.</ows:ExceptionText>
    </ows:Exception>

</ows:ExceptionReport>

RasUtil? should take the rasql port from petascope.properties, from the rasdaman_url property (Dimitar)

and all rasql queries should add the "-p PORT_CONFIG_FILE"

Change History (1)

comment:1 Changed 7 weeks ago by bphamhuu

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.