Hi Andrew,

you really made this complicated :) Please read below:

On Tue, Feb 22, 2011 at 8:05 PM, Andrew Parker <[email protected]> wrote:
>
>
>
> Ivan Grcic-3 wrote:
>>
>>
>> I think what is Andrew trying to say is that he changed default data
>> directory for geoserver, but extracted styler inside (old )default
>> data directory that ships with geoserver.
>>
>> Andrew, you cant divide data dir and data/www directory. www directory
>> is always relative to data. So you must unzip styler to your new
>> data/www directory. I guess that should solve the problem.
>>
>> Hope this helps,
>>
>> Regards,
>> Ivan
>>
>
> Hello Ivan and Justin:
>
> My install notes are listed here:
> http://old.nabble.com/How-To%3A-Install-GeoServer-on-Ubuntu-10.04-td30927479.html#a30927479.
> I still need to upload them to the contrib docs.
>
> This is how I divided that data directory (copied from my install how-to,
> above):
> ...
> Change the data directory so you do not delete your data if you reinstall or
> upgrade GeoServer.  Or need to place
> data into a larger disk partition.  WARNING: Stop GeoServer before
> continuing.
> ~$ mkdir /location/to/new/directory
> ~$ sudo cp -r /usr/local/geoserver/data_dir/data/*
> /location/to/new/directory/
> For example: sudo cp -r /usr/local/geoserver/data_dir/data/*
> /var/www/gisdata/
>
> Then configure tomcat to point to new directory by editing the
> setclasspath.sh
> ~$ sudo vim /usr/share/tomcat6/bin/setclasspath.sh
> Right after the intro comments add:
> CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/var/www/gisdata/"
>
> Then restart GeoServer and test.  If data loads then rename original data
> folder to avoid using the original data directory
> ~$ mv /usr/local/geoserver/data_dir/data
> /usr/local/geoserver/data_dir/data.original
>
>
> Create a Startup script for GeoServer
> ~$ wget http://docs.geoserver.org/stable/en/user/_downloads/geoserver_deb
> Changed permissions of geoserver_deb
> ~$ chmod 770 geoserver_deb
> ~$ sudo chown root:your_user_name geoserver_deb
> Copy to /etc/init.d (and rename it to geoserver)
> ~$ sudo mv geoserver*_deb /etc/init.d/geoserver
>
> Create default setting.  In a text editor create a file called geoserver and
> save it in /etc/default with the following settings:
>
> #! /bin/sh
> # user that shall run GeoServer
> USER=your_user_name
> GEOSERVER_DATA_DIR=/var/www/gisdata/
> GEOSERVER_HOME=/usr/local/geoserver
> JAVA_HOME=/usr/lib/jvm/java-6-sun
> JAVA_OPTS="-Xms128m -Xmx512m"
> # end of file
> ...
>
> Ivan, I thought that this is how I could divide the data folder. No?  I
> tried placing www/styler into /var/www/gisdata with no success.  But that is
> really putting www/styler into /var/www/gisdata/www/styler which will not
> work.  I also tried /var/www/gisdata/styler which did not work as it should
> go into data_dir/data.  Perhaps I am reading this wrong.
>
If you set up your GEOSERVER_DATA_DIR variable right, styler should be
in /var/www/gisdata/www/ directory.

The best way to confirm your actual data directory is to check the
beginning of log files, as Justin stated, or just click first link
"Server Status"  when you login into geoserver. the first line should
state your actual data directory.

Cheers,
Ivan
> I am also trying to figure out where the geoserver log is at so I can grep
> it for Justin.
>
> I just logged into the geoserver IRC if anyone wants to meet in the room.
> Listed as source3.
>
>
> Thanks!
>
>
>
>
> --
> View this message in context: 
> http://old.nabble.com/Cannot-get-GeoExt-Styler-to-display-tp30968716p30988706.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
-------------------------------------------------------
Ivan Grcic
GeoSolutions S.A.S.
Software Engineer


Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:   +39 328 0559267


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://twitter.com/geosolutions_it
http://www.youtube.com/user/GeoSolutionsIT


-------------------------------------------------------

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to