Opened 3 years ago

Closed 3 years ago

#2494 closed enhancement (fixed)

SECORE - try to create /opt/rasdaman/data/secoredb folders

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: critical Milestone: 10.0
Component: secore Version: 9.8
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

In case /opt/rasdaman/data folder doesn't exist, SECORE should try to create /opt/rasdaman/data/secoredb like with mkdir -p.

Caused by: InvalidParameterValue: secoredb.path points to non readable/writable folder path '/opt/rasdaman/data/secore' in secore.properties file for embedded SECORE.
        at org.rasdaman.secore.ConfigManager.getEmbeddedSecoreDbFolderPath(ConfigManager.java:341)
        at org.rasdaman.secore.util.IOUtil.getSecoreDbDir(IOUtil.java:149)
        at org.rasdaman.secore.db.DbManager.addEPSGDictionariesFromSecoreDBDir(DbManager.java:264)
        at org.rasdaman.secore.db.DbManager.<init>(DbManager.java:182)
        at org.rasdaman.secore.db.DbManager.getInstance(DbManager.java:337)
        at petascope.util.CrsUtil.loadInternalSecore(CrsUtil.java:171)
        ... 11 more

Change History (2)

comment:1 by Dimitar Misev, 3 years ago

Priority: majorcritical

comment:2 by Bang Pham Huu, 3 years ago

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