I have deployed a app on tomcat. Some of the libraries used by the app use relative paths to resources. Therefore, they search the resources in TOMCAT-HOME/relative-path.
I can not create links nor copy resources to TOMCAT-HOME folder. Also I can not change the code of the libraries and use application context.
Can I somewhere in Tomcat configuration specify the “working directory” for this app alone.
I’ve tried using Context container, but I can not get my head around it.
Thanks.
I have deployed a app on tomcat. Some of the libraries used by the
Share
You need something like this inside your
server.xmland use
/tmpimagesinside your source code.