I am coming to this late but have you checked the tomcat.service file in 
/usr/lib/systemd/system

Is there a line something like;

ReadWritePaths=/data/

for wherever your data directory is?

Russ

> On 16 Dec 2021, at 11:30, Mauricio Vieira Cardoso Filho 
> <mcard...@topocart.com.br> wrote:
> 
> Hi, A good day to all.
> 
> Problem with connection to the bank is solved. Simply reconnected.
> However, when I direct the geoserver to read the specific data directory 
> (/dados/geoserverv), it cannot load the data from this directory, giving an 
> error 404.
> But if you leave the default path 
> (/var/lib/tomcat8v/webapps/geoserverv/WEB-INF/data), it works just fine.
> 
> I've already looked at the permissions of the destination directory (owner 
> and group are tomcat8) as well as already applied 750, 770, 755 and 777 in 
> folders, but it still doesn't load.
> 
> Apart from the web.xml on the geoserver, should I configure it elsewhere?
> 
> Att.,
> 
> Maurício Vieira Cardoso Filho
> Gerente TI Infra
> Tel: +556137995051
> email : mcard...@topocart.com.br <mailto:mcard...@topocart.com.br>;
> skype: mauricio.cardoso1974
> 
> 
> Em qua., 15 de dez. de 2021 às 10:58, Mauricio Vieira Cardoso Filho 
> <mcard...@topocart.com.br <mailto:mcard...@topocart.com.br>> escreveu:
> Hi,
> 
> I recently started a request for help, however, I had to be away from the 
> service due to other issues. But now I returned and the problem got worse.
> 
> In addition to not being able to read the data directory specified in the 
> web.xml, now I have another problem that the geoserver cannot connect to the 
> postgree database.
> 
> I use jdbc extension, and nothing in the configuration has changed. Simply 
> all geoserver stopped running. (see image below):
> 
> <Captura de tela de 2021-12-15 10-42-52.png>
> 
> What can I say on the subject:
> 
> - All permissions on the pointed data folder are for tomcat user and group;
> - All content is readable;
> - username and password to connect to the bank is ok (credentials are correct)
> - the bank is on the same server as the application (it was trying to address 
> it by ip address and by localhost).
> - I have a base of two geoservers in the same directory (/dados/geoserverv 
> and /dados/geoserveri), one of which is working perfectly with the same 
> settings.
> - I've deployed a new war many times.
> 
> Attached, I'll send my catalina.out if it's any help in assessing the issues 
> and the possibility of sending some guidance.
> Maurício Vieira Cardoso Filho
> Gerente TI Infra
> Tel: +556137995051
> email : mcard...@topocart.com.br <mailto: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

_______________________________________________
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