Hi,

sadly, it didn´t help. Everything stays the same, no matter where I
point the directory. I also tried gt 2.6.4, still the same exception.
Someone got any other ideas?

Best regards
Felix

2010/7/2 Jan Torben Heuer <[email protected]>:
> Felix Bache wrote:
>
> Hi Felix,
>
> I had a similar problem a few days ago (also referencing+epsg-hsql). By
> looking at the source file I found a parameter (System property) called:
> -DEPSG-HSQL.directory=/tmp
>
> HTH,
>
> Jan
>
> Mabye
>> Hello everyone,
>>
>> I´m new to geotools and I want to use the CRS.decode() method on the
>> server side of my GWT (Jetty Servlet Container) application. But I
>> always get an Exception. I included all the jars from the binarys
>> except the epsg ones, because I read about that (only extension and
>> hsql are included). I´m using geotools 2.7 M1, Eclipse Helios, Java
>> JDK 1.6.0_18 and Windows 7 32bit. It might be the case that Windows
>> prevents the hsql-epsg from writing its database to the harddisk, I id
>> not find any of the files. I do not know how to give geotools write
>> access if that´s whats causing the error...
>>
>> I appreciate all comments and ideas.
>>
>> Thank you and Best regards
>> Felix
>>
>> WARNUNG: Can't load a service for category "CRSAuthorityFactory".
>> Cause is "ServiceConfigurationError:
>> org.opengis.referencing.crs.CRSAuthorityFactory: Provider org (...)
>> lang.ClassCastException: class
>> org.geotools.referencing.operation.DefaultMathTransformFactory".
>> sun.misc.ServiceConfigurationError:
>> org.opengis.referencing.crs.CRSAuthorityFactory: Provider
>> org.geotools.referencing.factory.epsg.DefaultFactory could not be
>> instantiated: java.lang.ClassCastException: class
>> org.geotools.referencing.operation.DefaultMathTransformFactory
>> at sun.misc.Service.fail(Service.java:120)
>> at sun.misc.Service.access$200(Service.java:111)
>> at sun.misc.Service$LazyIterator.next(Service.java:276)
>> at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:829)
>> at
>>
> org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:773)
>> at
>>
> org.geotools.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:808)
>> at
>>
> org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:195)
>> at
>>
> org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:176)
>> at
>>
> org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:451)
>> at
>>
> org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88)
>> at
>>
> org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
>> at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:199) at
>> org.geotools.referencing.CRS.decode(CRS.java:437) at
>> org.geotools.referencing.CRS.decode(CRS.java:365) at
>>
> org.n52.server.oxf.serviceImpl.StationPositionsServiceImpl.getStationPositions(StationPositionsServiceImpl.java:100)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
>>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597) at
>> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:562)
>> at
>>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188)
>> at
>>
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224)
>> at
>>
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:362)
>> at
>>
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>> at
>> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
>> at
>> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
>> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>> at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> at
>>
> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
>> at
>> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>> at org.mortbay.jetty.Server.handle(Server.java:324) at
>> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at
>>
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
>> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647) at
>> org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at
>> org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at
>>
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
>> at
>>
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
>> Caused by: java.lang.ClassCastException: class
>> org.geotools.referencing.operation.DefaultMathTransformFactory at
>> java.lang.Class.asSubclass(Class.java:3018) at
>> org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:866) at
>>
> org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:773)
>> at
>>
> org.geotools.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:808)
>> at
>>
> org.geotools.factory.FactoryRegistry.getUnfilteredProviders(FactoryRegistry.java:229)
>> at
>>
> org.geotools.factory.FactoryRegistry.getServiceImplementation(FactoryRegistry.java:429)
>> at
>>
> org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:364)
>> at
>>
> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:143)
>> at
>>
> org.geotools.referencing.ReferencingFactoryFinder.getFactory(ReferencingFactoryFinder.java:193)
>> at
>>
> org.geotools.referencing.ReferencingFactoryFinder.getMathTransformFactory(ReferencingFactoryFinder.java:503)
>> at
>>
> org.geotools.referencing.factory.ReferencingFactoryContainer.getMathTransformFactory(ReferencingFactoryContainer.java:273)
>> at
>>
> org.geotools.referencing.factory.ReferencingFactoryContainer.initialize(ReferencingFactoryContainer.java:180)
>> at
>>
> org.geotools.referencing.factory.ReferencingFactoryContainer.getImplementationHints(ReferencingFactoryContainer.java:205)
>> at
>>
> org.geotools.factory.FactoryRegistry.usesAcceptableHints(FactoryRegistry.java:551)
>> at
>>
> org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:505)
>> at
>>
> org.geotools.factory.FactoryRegistry.getServiceImplementation(FactoryRegistry.java:436)
>> at
>>
> org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:364)
>> at
>>
> org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:143)
>> at
>>
> org.geotools.referencing.factory.ReferencingFactoryContainer.instance(ReferencingFactoryContainer.java:170)
>> at
>>
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.<init>(ThreadedEpsgFactory.java:188)
>> at
>>
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.<init>(ThreadedEpsgFactory.java:150)
>> at
>>
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.<init>(ThreadedEpsgFactory.java:143)
>> at
>>
> org.geotools.referencing.factory.epsg.DefaultFactory.<init>(DefaultFactory.java:37)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>> at
>>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>> at
>>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at
>> java.lang.Class.newInstance0(Class.java:355) at
>> java.lang.Class.newInstance(Class.java:308) at
>> sun.misc.Service$LazyIterator.next(Service.java:271) ... 39 more
>>
>>
> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
> --
> From address is valid until 01.06.2011
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Geotools-gt2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>



-- 
Felix Bache

52° North Initiative for Geospatial Open Source Software GmbH
Martin-Luther-King-Weg 24
48155 Münster, Germany
EMail: [email protected]
Tel: +49 (0) 251 83 30098
http://52north.org/
http://ifgi.uni-muenster.de/~f_bach02/
General Managers: Dr. Albert Remke, Dr. Andreas Wytzisk
Local Court Muenster HRB 10849

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to