From: Lennart J. <li...@rt...> - 2010-08-07 10:25:12
|
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: lennart@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. |