From: Justin D. (JIRA) <ji...@co...> - 2009-05-23 23:13:50
|
ThreadedEpsgFactory fails to create data source when bogus JNDI information is provided --------------------------------------------------------------------------------------- Key: GEOT-2508 URL: http://jira.codehaus.org/browse/GEOT-2508 Project: GeoTools Issue Type: Bug Components: core referencing Affects Versions: 2.6-M1, 2.5.5 Reporter: Justin Deoliveira Assignee: Andrea Aime For jdbc-ng, testing requires setting up of a mock JNDI context in order to set up a JNDI connection. To do this the test setup sets a jndi root location which is local to the module (inside the target directory). However this throws off the epsg database setup because the EpsgThreadedFactory looks in that location when trying to create its database, but it does not exist so an IllegalArgumentException is thrown. To reproduce run the jdbc-h2 tests with the path from GEOT-2475 applied. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |