this is the output of the command:

java -cp gt2-referencing-2.4.4.jar:gt2-epsg-hsql-2.4.4.jar
org.geotools.referencing.CRS -dependencies -forcexy -colors

--------------
Jul 10, 2008 8:04:19 PM org.geotools.referencing.factory.epsg.FactoryOnHSQL
isAv
ailable
WARNING: Unavailable authority factory: European Petroleum Survey Group
org.opengis.referencing.FactoryException: Failed to connect to the EPSG
database
.
        at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBacki
ngStore(ThreadedEpsgFactory.java:483)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingS
tore(DeferredAuthorityFactory.java:138)
        at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable
(BufferedAuthorityFactory.java:232)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable
(DeferredAuthorityFactory.java:126)
        at
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java
:681)
        at
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.jav
a:513)
        at
org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator
.java:213)
        at
org.geotools.referencing.ReferencingFactoryFinder.getAuthorityFactory
(ReferencingFactoryFinder.java:216)
        at
org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFaco
ry(ReferencingFactoryFinder.java:437)
        at
org.geotools.referencing.factory.epsg.LongitudeFirstFactory.createBac
kingStore(LongitudeFirstFactory.java:188)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingS
tore(DeferredAuthorityFactory.java:138)
        at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable
(BufferedAuthorityFactory.java:232)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable
(DeferredAuthorityFactory.java:126)
        at
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java
:681)
        at
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.jav
a:513)
        at
org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:19
0)
        at
javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at
javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry
.java:491)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegis
try.java:194)
        at
org.geotools.referencing.ReferencingFactoryFinder.getFactories(Refere
ncingFactoryFinder.java:174)
        at
org.geotools.referencing.ReferencingFactoryFinder.getCoordinateOperat
ionAuthorityFactories(ReferencingFactoryFinder.java:485)
        at
org.geotools.referencing.factory.AllAuthoritiesFactory.getFactories(A
llAuthoritiesFactory.java:150)
        at
org.geotools.referencing.factory.ManyAuthoritiesFactory.dependencies(
ManyAuthoritiesFactory.java:391)
        at
org.geotools.referencing.factory.FactoryDependencies.createTree(Facto
ryDependencies.java:184)
        at
org.geotools.referencing.factory.FactoryDependencies.createTree(Facto
ryDependencies.java:194)
        at
org.geotools.referencing.factory.FactoryDependencies.createTree(Facto
ryDependencies.java:194)
        at
org.geotools.referencing.factory.FactoryDependencies.createTree(Facto
ryDependencies.java:194)
        at
org.geotools.referencing.factory.FactoryDependencies.asTree(FactoryDe
pendencies.java:175)
        at
org.geotools.referencing.factory.FactoryDependencies.print(FactoryDep
endencies.java:158)
        at
org.geotools.referencing.Command.printAuthorityFactoryDependencies(Co
mmand.java:364)
        at org.geotools.referencing.Command.execute(Command.java:400)
        at org.geotools.referencing.CRS.main(CRS.java:1453)
Caused by: java.sql.SQLException: User not found: SA
        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
        at org.hsqldb.jdbc.jdbcDataSource.getConnection(Unknown Source)
        at org.hsqldb.jdbc.jdbcDataSource.getConnection(Unknown Source)
        at
org.geotools.referencing.factory.epsg.FactoryOnHSQL.createBackingStor
e(FactoryOnHSQL.java:317)
        at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBacki
ngStore0(ThreadedEpsgFactory.java:420)
        at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBacki
ngStore(ThreadedEpsgFactory.java:476)
        ... 32 more
DefaultAuthorityFactory["All"] (crs, buffered)
└───ManyAuthoritiesFactory["All"] (crs, cs, datum, operation, optional)
    ├───AutoCRSFactory["AUTO2", "AUTO"] (crs, registered)
    │   ├───GeotoolsFactory[direct] (crs, cs, datum, buffered, registered)
    │   └───DatumAliases[direct] (datum, registered)
    ├───WebCRSFactory["CRS"] (crs, registered)
    │   ├───GeotoolsFactory[direct] (crs, cs, datum, buffered, registered)
    │   └───DatumAliases[direct] (datum, registered)
    ├───HTTP_AuthorityFactory["http://www.opengis.net";] (crs, cs, datum,
operati
on, optional, registered)
    │   └───AllAuthoritiesFactory["All"] (crs, cs, datum, operation,
optional)
    │       ├───URN_AuthorityFactory["urn:ogc:def", "urn:x-ogc:def"] (crs,
cs, d
atum, operation, optional, registered)
    │       ├───AutoCRSFactory["AUTO2", "AUTO"] (crs, registered)
    │       │   ├───GeotoolsFactory[direct] (crs, cs, datum, buffered,
registere
d)
    │       │   └───DatumAliases[direct] (datum, registered)
    │       └───WebCRSFactory["CRS"] (crs, registered)
    │           ├───GeotoolsFactory[direct] (crs, cs, datum, buffered,
registere
d)
    │           └───DatumAliases[direct] (datum, registered)
    └───URN_AuthorityFactory["urn:ogc:def", "urn:x-ogc:def"] (crs, cs,
datum, op
eration, optional, registered)
        └───AllAuthoritiesFactory["All"] (crs, cs, datum, operation,
optional)
            ├───HTTP_AuthorityFactory["http://www.opengis.net";] (crs, cs,
datum,
 operation, optional, registered)
            ├───AutoCRSFactory["AUTO2", "AUTO"] (crs, registered)
            │   ├───GeotoolsFactory[direct] (crs, cs, datum, buffered,
registere
d)
            │   └───DatumAliases[direct] (datum, registered)
            └───WebCRSFactory["CRS"] (crs, registered)
                ├───GeotoolsFactory[direct] (crs, cs, datum, buffered,
registere
d)
                └───DatumAliases[direct] (datum, registered)




Jody Garnett wrote:
> 
> There is a utility class that can print out or otherwise display all the 
> authorities found on the classpath.
> - 
> http://docs.codehaus.org/display/GEOTDOC/1+Referencing+Configuration+and+Tool
> 
> You can always call the class mentioned there from your own application 
> - in case you are operating in a strange environment like an application 
> server.
> Can you be specific about the environment you are working on?
> Jody
> 
> mzorova wrote:
>> BTW, I did read the other post stating that the epsg-hsql plugin requires
>> write access to the disk - which could be the source of the problem - but
>> not sure where on the disk it tries to write. If someone could point me
>> in
>> the right direction on where?
>>
>>
>> mzorova wrote:
>>   
>>> I am unable to decode EPSG:4326 in some environments on 2.4.4 - works
>>> fine
>>> in development, but fails in production.. I think I saw something about
>>> a
>>> user 'SA' unknown or something like that in old logs, but unable to find
>>> that anymore.. Any pointers please? Thanks.. 
>>>
>>> -schwark
>>>
>>>
>>> org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG"
>>> is
>>> unknow
>>> n or doesn't match the supplied hints. Maybe it is defined in an
>>> unreachable JAR
>>>  file?
>>>         at
>>> org.geotools.referencing.factory.ManyAuthoritiesFactory.noSuchAuthori
>>> ty(ManyAuthoritiesFactory.java:544)
>>>         at
>>> org.geotools.referencing.factory.ManyAuthoritiesFactory.getAuthorityF
>>> actory(ManyAuthoritiesFactory.java:522)
>>>         at
>>> org.geotools.referencing.factory.ManyAuthoritiesFactory.getCRSAuthori
>>> tyFactory(ManyAuthoritiesFactory.java:605)
>>>         at
>>> org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordi
>>> nateReferenceSystem(AuthorityFactoryAdapter.java:744)
>>>         at
>>> org.geotools.referencing.factory.BufferedAuthorityFactory.createCoord
>>> inateReferenceSystem(BufferedAuthorityFactory.java:715)
>>>         at org.geotools.referencing.CRS.decode(CRS.java:410)
>>>
>>>
>>>
>>>     
>>
>>   
> 
> 
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/default-EPSG-database-issue-tp18393709p18395857.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to