vendredi 3 avril 2015

Apache Tomcat 7 write on remote directory Windows

I have a Jee web application running on Apache Tomcat that need to write some file on a remote machine in the local network.


The problem is that by default the Apache tomcat service on Windows runs as Local System privileges, and cannot write files on a remote location.


The only solution that I found it to run the service with "Log on as" a domain user that is allowed to access and write on that remote directory.


I'm not sure this is a good practice! are there any other solutions?


Davide


Aucun commentaire:

Enregistrer un commentaire