Yes, you are right. In the debug mode, the data directory is empty. So I copy
some data from a release folder to replace the empty one. And then my
problem is resolved. 
Thank you, Andrea.



Andrea Aime-4 wrote:
> 
> Vincent2009 ha scritto:
>> PS: I used the SVN of 1.7x branch. thx.
>> 
>> 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?
> 
> It seems that in debug mode you're playing against an empty data 
> directory? That's the most likely cause at least, that when in debug
> your GeoServer is configured differently than when you're not debugging
> it.
> 
> Cheers
> Andrea
> 
> -- 
> Andrea Aime
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-in-debug-mode%2C-the-Map-Preview-page-don%27t-display-any-dynamic-information-except-static-lables--tp23193095p23243591.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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