Hi Andrea,

Thank you again for your using your expertise to look into this.

The geoserver instance is actually implemented in a docker container that I
forked from this repo: https://github.com/oscarfonts/docker-geoserver
It appears that  "-Djava.awt.headless=true" is added to an environment
variable CATALINA_OPTS and then the server is started with "catalina.sh
run":
https://github.com/oscarfonts/docker-geoserver/blob/8fe256b22bd36a584e20313b55c251bee1b1ff45/2.11.3/Dockerfile#L61

I'll try recreating the container again and see if that changes anything.

On Tue, Oct 31, 2017 at 6:34 AM, Andrea Aime <andrea.a...@geo-solutions.it>
wrote:

> Hi,
> the source of the error seems to be here:
>
> Request: getServiceInfo
> 2017-10-30 12:58:12,128 ERROR [geotools.rendering] - Assistive Technology
> not found: org.GNOME.Accessibility.AtkWrapper
> java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.
> AtkWrapper
> at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
> at org.apache.batik.bridge.CursorManager.<clinit>(CursorManager.java:102)
> at org.apache.batik.bridge.BridgeContext.<init>(BridgeContext.java:1154)
> at org.apache.batik.bridge.BridgeContext.<init>(BridgeContext.java:301)
> at org.geotools.renderer.style.SVGGraphicFactory$
> RenderableSVG.getGraphicNode(SVGGraphicFactory.java:401)
> at org.geotools.renderer.style.SVGGraphicFactory$RenderableSVG.<init>(
> SVGGraphicFactory.java:345)
> at org.geotools.renderer.style.SVGGraphicFactory.getIcon(
> SVGGraphicFactory.java:170)
> at org.geotools.renderer.lite.MetaBufferEstimator.visit(
> MetaBufferEstimator.java:357)
>
> Is your GeoServer running in headless mode? If so add
> "-Djava.awt.headless=true" to the command line starting
> up your Tomcat (e.g., JAVA_OPTS for example).
>
> Cheers
> Andrea
>
>
> On Mon, Oct 30, 2017 at 2:01 PM, Kris Johnson <krist...@d.umn.edu> wrote:
>
>> ​Hello Andrea,​
>>
>> Thank you for your response.
>>
>> I will attach the whole log file downloaded from geoserver web admin.
>> The latest entries to the file were produced by going to the "layer
>> preview" tab under the style in question. So, in essence, they are produced
>> when a WMS request is being made that involves the style producing this
>> error.
>>
>> I don't know what could be causing the batik-bridge error. Any assistance
>> you can provide is appreciated.
>>
>>
>> On Mon, Oct 30, 2017 at 5:26 AM, Andrea Aime <
>> andrea.a...@geo-solutions.it> wrote:
>>
>>> Hi Kris,
>>> it seems that you don't have batik-bridge in your classpath (in
>>> geoserver/WEB-INF/lib) for some reason, but
>>> I don't know why...
>>>
>>> Also, are you sure the stack trace shared on stack overflow is complete?
>>> I have the impression it
>>> might be missing one or more "caused by" elements (but might be wrong).
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> On Thu, Oct 26, 2017 at 6:36 PM, Kris Johnson <krist...@d.umn.edu>
>>> wrote:
>>>
>>>> I am attempting to style a point layer using a CSS style in geoserver.
>>>> Here is the style definition:
>>>>
>>>> /* @title red point */* {
>>>>   mark: 
>>>> url(https://raw.githubusercontent.com/mapbox/maki/master/icons/industry-15.svg);
>>>>   mark-mime: "image/svg";}
>>>> [@scale < 2000000] {
>>>>   mark-size: 30;}
>>>> [@scale > 2000000] [@scale < 4000000] {
>>>>   mark-size: 15;}
>>>> [@scale > 4000000] {
>>>>   mark-size: 7.5;}
>>>>
>>>> I've attached (what I believe to be) the pertinent portion of this log 
>>>> file for this error.
>>>>
>>>> I believe CSS styling was working at one point, so I'm inclined to think 
>>>> it's an issue with my syntax.
>>>>
>>>> Any assistance with this issue would be appreciated. Thanks.
>>>>
>>>> Cross-posted here as well: https://stackoverflow.com/q/46959440/6072959
>>>>
>>>>
>>>> --
>>>> Kris Johnson
>>>> Natural Resources Research Institute
>>>> 5013 Miller Trunk Highway, Duluth, MN 55811
>>>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>>>> p: 218.788.2767 <(218)%20788-2767>
>>>> www.nrri.umn.edu
>>>>
>>>>
>>>> ------------------------------------------------------------
>>>> ------------------
>>>> Check out the vibrant tech community on one of the world's most
>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>>
>>>> Please make sure you read the following two resources before posting to
>>>> this list:
>>>> - Earning your support instead of buying it, but Ian Turton:
>>>> http://www.ianturton.com/talks/foss4g.html#/
>>>> - The GeoServer user list posting guidelines:
>>>> http://geoserver.org/comm/userlist-guidelines.html
>>>>
>>>> Geoserver-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Regards,
>>>
>>> Andrea Aime
>>>
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Andrea Aime
>>> @geowolf
>>> Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> 55054  Massarosa
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> (LU)
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>>> mob: +39  339 8844549 <+39%20339%20884%204549>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility  for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>>
>>
>>
>> --
>> Kris Johnson
>> Natural Resources Research Institute
>> 5013 Miller Trunk Highway, Duluth, MN 55811
>> <https://maps.google.com/?q=5013+Miller+Trunk+Highway,+Duluth,+MN+55811&entry=gmail&source=g>
>> p: 218.788.2767 <(218)%20788-2767>
>> www.nrri.umn.edu
>>
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> 55054  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa+%3Chttps://maps.google.com/?q%3DVia%2Bdi%2BMontramito%2B3/A%2B55054%2B%25C2%25A0Massarosa%26entry%3Dgmail%26source%3Dg%3E&entry=gmail&source=g>
> (LU)
> phone: +39 0584 962313 <+39%200584%20962313>
> fax: +39 0584 1660272 <+39%200584%20166%200272>
> mob: +39  339 8844549 <+39%20339%20884%204549>
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
>


-- 
Kris Johnson
Natural Resources Research Institute
5013 Miller Trunk Highway, Duluth, MN 55811
p: 218.788.2767
www.nrri.umn.edu
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to