HI Mauricio,

Based on description, it seems like you have a situation like this:
https://gis.stackexchange.com/questions/366331/geoserver-2-17-1-war-running-on-tomcat-9-not-finding-geoserver-data-dir-context

(on which Ian also suggested: try using different path separators).
Anyway, what it's interesting about that thread in particular it's that
ChrisP (who created the question) also commented which was the solution

https://gis.stackexchange.com/a/366416

"...After adding LOCAL SERVICE with read/write permissons GeoServer was
able to find and use the new data directory specified in web.xml
correctly...."

Maybe that would help you

Regards

Jose




On Mon, Dec 6, 2021 at 1:45 PM Mauricio Vieira Cardoso Filho <
mcard...@topocart.com.br> wrote:

> Hi Ian... thanks for response.
>
> Yes.. user tomcat, group tomcat...
>
> Is a mistery...750 permissions (tested with 777 too.. 755...).. but, not
> resolve...
>
>
>
> Em seg., 6 de dez. de 2021 13:20, Ian Turton <ijtur...@gmail.com>
> escreveu:
>
>> Are you sure you are running tomcat as the tomcat user? Look to see who
>> owns the default working directory
>>
>> Ian
>>
>> On Mon, 6 Dec 2021 at 15:44, Mauricio Vieira Cardoso Filho <
>> mcard...@topocart.com.br> wrote:
>>
>>>
>>> Maurício Vieira Cardoso Filho
>>> Gerente TI Infra
>>> Tel: +556137995051
>>> email : mcard...@topocart.com.br;
>>> skype: mauricio.cardoso1974
>>>
>>>
>>> ---------- Forwarded message ---------
>>> De: Mauricio Vieira Cardoso Filho <mcard...@topocart.com.br>
>>> Date: dom., 5 de dez. de 2021 às 17:48
>>> Subject: Help please!!!!
>>> To: <claudius.ptoloma...@gmail.com>
>>>
>>>
>>> Hi Claudius, how are you?
>>>
>>> Dear, I have a problem on the geoserver, which I've been trying to solve
>>> for 5 days and I can't find any kind of solution.
>>>
>>> I can't make the server read the data directory I point to.
>>>
>>> In the logs, I get this message:
>>>
>>> 2021-12-05 19:42:38,249 WARN [geoserver.platform] - Found Servlet
>>> context parameter GEOSERVER_DATA_DIR set to /var/lib/geoserverv , which is
>>> not writeable
>>> 2021-12-05 19:42:38,250 INFO [geoserver.platform] - Falling back to
>>> embedded data directory: /var/lib/tomcat9/webapps/geoserversg/data
>>>
>>> I already set permissions on the folder to tomcat:tomcat (750).
>>>
>>> Wherever I put the data folder on the server, I always have the same
>>> message (whether on a secondary disk, on the root, or anywhere).
>>>
>>> I've already tried to insert the path in the tomcat9.service file, but
>>> the problem persists.
>>>
>>> I have installed tomcat9, java 11.
>>>
>>> What else can I check to try to solve this problem?
>>>
>>> Please give me some tips, possibilities to solve this problem. I don't
>>> know what else to look at here. Any guidance, suggestion or observation, I
>>> know will have a great effect.
>>>
>>> Best regards.
>>>
>>> Maurício Vieira Cardoso Filho
>>> Gerente TI Infra
>>> Tel: +556137995051
>>> email : mcard...@topocart.com.br;
>>> skype: mauricio.cardoso1974
>>> _______________________________________________
>>> 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
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>> Ian Turton
>>
> _______________________________________________
> 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
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
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

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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

Reply via email to