sim link in tomcat
OK!
I'm really frusterated at this point. I am new to linux, and have installed tomcat 4.1.27 Everythign works fine as long as i keep it in the /webapps/ROOT dir. The problem is that i am running out of hd space. I installed a 2nd drive and was hoping that i could make a sim link to my new drive. Here is what i did exactly: cd $CATALINA_HOME/webapps/ROOT ln -s /web/djackman djackman now that /web/djackman dir is on a separate HD that where tomcat is installed to. I did a chmod 755 on in the link and on that dir. but when i try to browse to it, i get: "The requested resource (/djackman) is not available" Am I doing something wrong??? HELP ME PLEASE BEFORE I TEAR OUT MY EYEBALLS! |
I don't use Tomcat, but on a hunch it might be related to security, I did a google search on 'apache tomcat security "symbolic links"'. Here are a couple posts to other forums/mailing lists that it returned which looked promising.
http://www.jguru.com/faq/view.jsp?EID=1028397 http://marc.theaimsgroup.com/?l=tomc...9411609623&w=2 If those things don't help, what about mounting the partition on your new hard drive directly onto $CATALINA_HOME/webapps/ROOT/djackman instead of using a symbolic link. (Disclaimer, I don't know Tomcat, and that may be a bad idea for some reason, but it seems like it should work. If the partition was mounted there, apache/tomcat should never know the difference.) |
Why not move the whole tomcat directory and chenge CATALINA_HOME to point to the new location?
Dave |
All times are GMT -5. The time now is 10:56 PM. |