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

        

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to