Opened 8 years ago

Closed 8 years ago

#1523 closed defect (fixed)

Petascope_RasUtil uses port from rasdaman_url config in petascope.properties

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.4
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
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 by Bang Pham Huu, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.