Yes, I think caching had nothing to do with the problem (but did not
edit the title :) )

Yes we should add this to the Ubuntu docs.

Ariel.

On Mon, Jun 20, 2011 at 11:25 AM, David Winslow <[email protected]> wrote:
> So caching had nothing to do with the problem right?  If you don't have
> fonts I would expect the non-cached wms requests to fail as well.
> Should we add this to the Ubuntu deployment documentation?
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> On Sun, Jun 19, 2011 at 9:46 PM, Ariel Nunez <[email protected]>
> wrote:
>>
>> Hello people,
>>
>> This message has two parts, I wrote the first one as a draft
>> explaining the problem. And the second exploring the solution.
>>
>> Email #1 The problem
>>
>> We set up a GeoNode last week and found out that every time we enable
>> labels in cached styles we get pink tiles. It seems like GeoWebCache
>> does not like caching styles with labels, is that a known issue?
>>
>> I will have to debug this further early next week (because our maps
>> are starting to look beautiful but we need to be able to add labels.
>>
>> My plan of action will be:
>>
>> #1. See if I can completely disable caching for a particular layer (names
>> only).
>> #2. Dig deeper and get the right stack trace from GeoServer / GWC that
>> causes the pink tiles.
>>
>> -------
>>
>> Email #2 The solution
>>
>> I tried #2 right away (downloaded geoserver.log from the admin
>> interface and did a grep for 'label'. I stumbled upon this line:
>>
>> 2011-06-17 22:00:59,483 ERROR [geoserver.ows] -
>>    2 java.lang.Error: Probable fatal error:No fonts found.
>>    3         at
>> sun.font.FontManager.getDefaultPhysicalFont(FontManager.java:1088)
>>
>> Which was solved by installing the java fonts package:
>>
>> sudo apt-get install sun-java6-fonts
>>
>> I order to fix another issue I also switched from OpenJDK to the
>> Oracle / Sun JDK therefore I don't know if installing the fonts
>> package for openjdk will fix it too.
>>
>> Hope this is useful,
>>
>> Ariel.
>
>

Reply via email to