Startup of YouTrack raised an exception because /tmp is not writable
Hi,
on our systems, the /tmp folder is not read/writeable, so every application has to use it's own path for temporary files.
On startup of YouTrack, the following exception is raised:
2013-11-07 19:43:19.437:WARN::unavailable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file http://forum.jetbrains.com/xxxxx/yyyyyy/youtrack/.youtrack/work/jetty-0.0.0.0-8112-youtrack.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Application must have write and read access to http://forum.jetbrains.com/tmp
I've looked at
http://confluence.jetbrains.com/display/YTD5/YouTrack+Start+Java+Parameters
and could not find any option to change the temp path.
Thanks in advance
Stefan
on our systems, the /tmp folder is not read/writeable, so every application has to use it's own path for temporary files.
On startup of YouTrack, the following exception is raised:
2013-11-07 19:43:19.437:WARN::unavailable
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transientEntityStore' defined in file http://forum.jetbrains.com/xxxxx/yyyyyy/youtrack/.youtrack/work/jetty-0.0.0.0-8112-youtrack.jar--any-/webapp/WEB-INF/classes/jetbrains/charisma/persistent/storeConfigurationDatabase.xml: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Application must have write and read access to http://forum.jetbrains.com/tmp
I've looked at
http://confluence.jetbrains.com/display/YTD5/YouTrack+Start+Java+Parameters
and could not find any option to change the temp path.
Thanks in advance
Stefan
Please sign in to leave a comment.
Sorry for not responding earlier.
What YouTrack version do you use?
Please, try to start YouTrack with parameter
In this case, all tmp files (which can be extracted while Jetty is starting, logs) will be stored under USER.HOME
Thank you and let me know if have any further questions.
my colleague solved this problem by setting the temp dir via -Djava.io.tmpdir=/path/to/tmpdir
Thanks a lot
Stefan
Nice to hear this. This is also acceptable, but in case of providing user.home directly, all data connected to YouTrack will be stored in one place.
Thank you.