Tmp issues with java service on windows 2008 service

Posted by Mans on Stack Overflow See other posts from Stack Overflow or by Mans
Published on 2010-04-01T05:46:07Z Indexed on 2010/04/01 5:53 UTC
Read the original article Hit count: 272

Filed under:
|
|
|
|

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)
  • © Stack Overflow or respective owner

    Related posts about Windows

    Related posts about java