PDA

View Full Version : /etc/tomcat6/Catalina: symlink or actual directory



kborecky
19-Apr-2012, 20:46
I have a Shibboleth IdP running on SLES SP1. Until recently, my /etc/tomcat6/Catalina directory had actual contents. But two tomcat6 updates wouldn't install ('can't rename - is a Directory'). A helpful support person told me that the Catalina directory was supposed to be a symlink, and worked with me so I could get the updates on there.

After the Catalina directory was made a symlink, I had to find a place to put my idp.war file. I put it in the CATALINA_HOME webapps directory, but I'm having trouble with the latest war file not being used. The suggested fix for this is to use a context deployment fragment to point to a single stable location.* This small .xml file is supposed to go in

TOMCAT_HOME/conf/Catalina/localhost/

TOMCAT_HOME points to /usr/share/tomcat6. But under there, the conf directory points back to /etc/tomcat6. OK, that's where the conf files are. But (stepping down the path), with /etc/tomcat6/Catalina pointing to a /var/cache directory... well, it certainly doesn't seem like a good idea to put configuration files there.

So... what to do? Do I create a directory under /etc/tomcat6, put the current contents of /etc/tomcat6 in there, and point the conf symlink THERE (so I can create a "real" Catalina directory)? Or change /etc/tomcat6/Catalina back to be a real directory (until the next update)? Either way, I've got a non-standard SLES installation. What uses this Catalina symlink? I see an environment variable set for CATALINA_TMPDIR, so... I'm not sure what the point is.

How are other people solving this problem? Is there a different place I could/should put this config file?

Thank you for any insight!

full of questions,
Karla B

*For reference: https://wiki.shibboleth.net/confluence/display/SHIB2/IdPApacheTomcatPrepare

Automatic reply
26-Apr-2012, 13:30
kborecky,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your issue been resolved? If not, you might try one of the following options:

- Visit http://www.suse.com/support and search the knowledgebase and/or check all
the other support options available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.suse.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.suse.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your SUSE Forums Team
http://forums.suse.com