From: Justin D. <jde...@op...> - 2007-04-04 02:19:16
|
Hi Sylvain, sylvain broucke wrote: > Hi, > > I have just tried to upgrade my geoserver application from Geoserver > 1.5-RC1 to Geoserver 1.5-RC3. First, I followed the "upgrade tutorial > war file". The upgrade seemed to work well for most things including the > demos but I have a problem with my personal geotiff data. On the > Geoserver, I had only three pieces of data: 1 shapefile, 2 geotiff. The > shapefile works good, but the geotiffs appears smaller than what it > should. It is as if it had been miniaturized (something like 8x8 times > smaller!!!!). Are your geotiff's actual geotiffs ( tagged ) or world image files ( .tif + .tfw ). There was a recent patch to the world image stuff that might be throwing the rendering off. Andrea should better be able to know. My Java server is Tomcat-5.5.12 and the platform is > Xubuntu Dapper Drake 6.06.1. > I have another question: How I am supposed to set the permission on the java server to allow the preview of my data when I put the data directory appart from the geoserver's directory. Because what I did was this: > > grant codebase "file:${com.sun.aas.installRoot}/domains/domain1/applications/j2ee-modules/geoserver/-" { > permission java.io.FilePermission "/datadirectory/-", "read,write,delete"; > permission java.util.PropertyPermission "*", "read,write"; > permission java.util.logging.LoggingPermission "control"; > permission java.lang.RuntimePermission "getClassLoader"; > permission java.lang.RuntimePermission "preferences"; > permission java.lang.RuntimePermission "shutdownHooks"; > permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; > }; > > But when I attempt to access the preview page it tells me: > GeoServer - Exception > The following exception was thrown: > java.security.AccessControlException: access denied (java.io.FilePermission /opt/SUNWappserver/domains/domain1/applications/j2ee-modules/geoserver/preview/gvtnc_communesConfig.xml delete) Hmm, I have never had to do anything special with tomcat running on linux even with an external data directory. Could it be another system setting that is not allowing you to write to that directory. I notice the directory trying to be written to is the one under your application server. Are you sure the user runnign tomcat has write access to that directory. Apologies if you have already verified this but its the only thing i can think of. > > > Thank you so much if you could have look at that. > > Sylvain Broucke > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira The Open Planning Project jde...@op... |