Hi,

I found out the reason for this persisting problem (Caused by:
java.io.IOException: Could not delete: .....\data\global.xml)
In GeoServerLoader.java look at these lines:

 if ( f != null ) {
                BufferedInputStream in = new BufferedInputStream( new
FileInputStream( f ) );
                GeoServerInfoImpl global = (GeoServerInfoImpl)
xpf.createXMLPersister().load( in, GeoServerInfo.class );
                geoServer.setGlobal( global );
            }
            
            //load logging
            f = resourceLoader.find( "logging.xml" );
            if ( f != null ) {
                BufferedInputStream in = new BufferedInputStream( new
FileInputStream( f ) );
                LoggingInfo logging = xpf.createXMLPersister().load( in,
LoggingInfo.class );
                geoServer.setLogging( logging );
            }

===> please close these BufferedInputStreams.

If I do this, I don't get this "org.geoserver.catalog.CatalogException:
Error persisting
GeoServerInfoImpl[null] to ....\data\global.xml" error any more.

-----
torres.at 
bestzeller.com 
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/StatusPage-error-on-reload-GeoServer2-1-RC3-tp6207161p6245780.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to