Hi,

did you start GeoServer with a data directory ? In the Arguments tab, 
add to VM arguments:

-DGEOSERVER_DATA_DIR=/home/username/geoserver/1.7.x/data/release

-Arne


Vincent2009 wrote:
> hello all,
>
> I am a new to study Geoserver, and I used the debug mode to study how the
> Geosever work, then to 
> develop my functions. 
> Here is my quesiton. When I debug the project, it can run. But when I click
> the link of Map Preview, there isn't any dynamic data displaying,except some
> static labels like Layer (NameSpace:FeatureType) Preview Map. I found in the
> source file of MapPreviewAction.java, the size of ftypes (List) is 0, thus,
> the the size of Arraylist dsList, ftList,..., all are 0. That maybe why
> don't display dynamic data.
>
> So why the size of ftypes (List) is 0 in debug mode? How can I display the
> dynamic data in debug mode?
>
> Thanks.
>
> Vincent.
>   


-- 
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to