Hi Greg,

I know nothing about CORBA but it looks like the app is dying when it
tries to create the EPSG database (in your temp directory unless
you've set a system property for it to be elsewhere).

Do you have the necessary jars included ?  e.g. gt-epsg-hsql

Is your temp directory set to be somewhere other than your local drive ?

Michael


org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createDataSource(ThreadedEpsgFactory.java:306)
>        at 
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:384)
>        at 
> org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:476)
>        at 
> org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(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.java:513)
>        at 
> org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:190)
>        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(FactoryRegistry.java:197)
>        at 
> org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:174)
>        at 
> org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:452)
>        at 
> org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:81)
>        at 
> org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:62)
>        at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:176)
>        at org.geotools.referencing.CRS.decode(CRS.java:410)
>        at 
> org.geotools.data.coverage.grid.AbstractGridFormat.<clinit>(AbstractGridFormat.java:97)
>        at 
> gov.noaa.nws.displayGUI.SvrClrGui.initComponents(SvrClrGui.java:1054)
>        at gov.noaa.nws.displayGUI.SvrClrGui.<init>(SvrClrGui.java:197)
>        at gov.noaa.nws.displayGUI.SvrClrGui.main(SvrClrGui.java:343)
> Caused by: java.lang.RuntimeException: java.net.SocketException: Network is 
> unreachable
>
>
>
> -----------------------------ATTACHED CODE----------------------------
> package test;
>
> import java.util.logging.Level;
> import java.util.logging.Logger;
> import org.geotools.data.coverage.grid.AbstractGridFormat;
> import org.opengis.referencing.crs.CoordinateReferenceSystem;
>
> /**
>  *
>  * @author greg
>  */
> public class Main {
>
>    /**
>     * @param args the command line arguments
>     */
>    public static void main(String[] args) {
>        try {
>            System.out.println("Starting");
>            CoordinateReferenceSystem crs = AbstractGridFormat.getDefaultCRS();
>            System.out.println("crs="+crs.toString());
>        } catch (Exception ex) {
>            Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex);
>        }
>
>    }
>
> }
>
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to