It's all about the answers!

Ask a question

Configuring tomcat to support symbolic links


Norman Dignard (356688168) | asked Dec 03 '14, 10:16 a.m.

We're running CLM 406 soon to go to 502. Our setup is a single server install using the default tomcat and Oracle as backend running on Redhat 6.4

We are trying to use a common dir nfs mounted across our production and testbed servers. This dir (/data) s to contain various xml files (data) that we want to use. This data populates pick lists in workitems.

In the tomcat/webapps/ROOT dir we created a data symlink to  /data and restarted tomcat.

We still can't seem to access this data.  We've searched various tomcat forums and noted that there needs to be a directive defined in either the tomcat  context.xml or server.xml file to support symlinks.  We still have not gotten this to work.

Can someone tell me how to implement this functionality?

 

One answer



permanent link
sam detweiler (12.5k6195201) | answered Dec 03 '14, 10:31 p.m.

Comments
Norman Dignard commented Dec 04 '14, 6:35 a.m.

I already found this and tried their suggestion but could not get it to work.

Is there something specific with Jazz's implementation of tomcat that changes how to enable this functionality?

 


sam detweiler commented Dec 04 '14, 8:01 a.m.

and the link has the right permissions for the userid that tomcat is running under, correct?  Unix file permissions cause s many lovely problems.. (and prevent others)

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.