Tmp issues with java service on windows 2008 service
- by Mans
Hello!
I am having a rather nasty problem with windows 2008 server. We have a java application that is running as a service using the local services user. The problem is this user does not have access to read/write to the specified java tmp directory (specified by the system). This means that every time the application tries to create a tmp file an IOException is thrown.
Is there any way to make a java application that need access to the tmp directory run as a service without:
Creating a new user specifically for the purspose
Specifying a new tmp directory (which you will have to clean up yourself)