Return to Issues Table 

EPSG database is not created in web app context

Issue ID#:
924
Category:
WFS 2.0
Type:
Issue
Status:
Closed (Change Required)
Priority:
Normal
Entered By:
Martell, Richard
Created On:
2014-01-13 12:06:14
Updated By:
Bermudez, Luis
Last Update:
2014-07-24 17:59:07
Assigned To:
Martell, Richard

Original Issue Details:

The WFS2 test suite uses an embedded Derby database that stores the EPSG dataset (to perform coordinate transformations); it is accessed using the geotk-epsg module from the Geotoolkit.org library. When run as a web application in a servlet container (Tomcat), the location of the Derby system directory is specified by the derby.system.home property.


If the database does not already exist it is supposed to be created. However, this does not happen so the test run fails because the database is not available.


Status: Fixed - Requires Review
Assigned To: Martell, Richard

Fixed in 2.0-r14 (and teamengine 4.0.4). In TestRunListener attempt to create EPSG database if it does not already exist (according to 'jdbc/EPSG' DataSource config in context.xml).

Hours Worked: 0.00
Entered By: Martell, Richard - 2014-01-14 12:14:40
18
Status: Fixed - Requires Review
Assigned To: Martell, Richard

If running the test suite in teamengine-4.0.3, modify the DataSource configuration in META-INF/context.xml file as shown below:


url="jdbc:derby:EPSG/7.09;create=true"

Hours Worked: 0.00
Entered By: Martell, Richard - 2014-01-14 12:30:41
Status: Closed (Change Required)
Assigned To: Martell, Richard

Hours Worked: 0.00
Entered By: Bermudez, Luis - 2014-07-24 17:59:07