Tomcat does not normally clear the temp directory, that's probably an Ubuntu thing.
That said, it's an artifact of two things 1) The old -bin distribution used to set GEOSERVER_DATA_DIR (and for the WAR you should really set it anyway) 2) The coupling between GWC and GeoServer used to be really loose, so unless that environment variable was set, it wasn't easy for GWC to figure out where to put stuff. But 2) isn't an excuse anymore, I'll see whether I have time to do a 1.2.2b update with just a few patches for other stuff. -Arne On 8/7/10 12:25 PM, Lennart Jütte wrote: > Yep. > > I added the attached shp to a new workspace. I then published the data as new > layer and opened the layer preview. Everything went fine. > > The workspace, store and layer were still there after i restarted tomcat. > They moved up in the workspace/store/layer-lists though, so i thought they > weren't there at first. > I restarted the machine and even then everything was still where it should be. > > Do you want access to the VM to see for yourself or check the installation? > > One thing that's suboptimal is the way the gwc cache is placed. Everything > will be stored in /tmp/tomcat6-tmp/geowebcache/. This folder will be deleted > upon shutdown of tomcat. > There's another folder called Geotools. Here's a tree of /tmp/tomcat6-tmp: > > lenn...@ubuntuserver:~$ tree /tmp/tomcat6-tmp/ > /tmp/tomcat6-tmp/ > ├── Geotools > │ └── Databases > │ └── HSQL > │ └── v7.4.0 > │ ├── EPSG_creation_marker.txt > │ ├── EPSG.data > │ ├── EPSG.properties > │ └── EPSG.script > └── geowebcache > └── meta_jdbc_h2 > ├── gwc_metastore.0.log.db > ├── gwc_metastore.data.db > ├── gwc_metastore.index.db > ├── gwc_metastore.lock.db > └── gwc_metastore.trace.db > > 6 directories, 9 files > > > > > Am 07.08.2010 um 12:12 schrieb Andrea Aime: > >> Lennart Jütte ha scritto: >>>> Last time I checked Ubuntu's Tomcat was severely crippled down, would not >>>> allow apps to hit the file system, use enviroment >>>> variables, use reflections and whatnot. That effectively made GS >>>> unusable unless you changed the default permissions. >>>> Has this changed? >>> It looks like it has changed, indeed. >>> I was able to set up GS based on my 4-Step guide (including >>> installing tomcat6). Now i have tomcat6 running with default settings >>> and openjdk. I'm able to view the layers installed by default via >>> layer preview. I also executed some of the demo requests (selected >>> randomly). >> Interesting. Can you also add layers? And if so, do the changes survive >> a restart? >> >> Cheers >> Andrea >> >> >> -- >> Andrea Aime >> OpenGeo - http://opengeo.org >> Expert service straight from the developers. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
