Opened 8 years ago

Closed 8 years ago

#1425 closed defect (fixed)

SECORE_userdb will be removed after restart Tomcat and multiple requests on CRS come in short time

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: 10.0
Component: secore Version: development
Keywords: userdb secore Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

When SECORE initialize secoredb normally (it will create these folder: gml_0, gml_85, gml_892 as versions) and then it can cache the CRSs in memory (so it is fast). However, if restart Tomcat and then it will need to reload the baseX data from secoredb in SECORE, if multiple requests (i.e: spam queries in short time, it seems something is wrong and it will delete the userdb from secore/db which leads to error)

Failed at querying the database, detail: Database 'userdb' was not found. 
Check collection name and version are valid first.


Attachments (1)

test_secore.sh (430 bytes ) - added by Bang Pham Huu 8 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Bang Pham Huu, 8 years ago

or something like this

Failed at querying the database, detail: /var/lib/tomcat/webapps/secoredb/userdb/inf.basex (No such file or directory) Check collection name and version are valid first.

by Bang Pham Huu, 8 years ago

Attachment: test_secore.sh added

comment:2 by Dimitar Misev, 8 years ago

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