LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-10-2003, 06:15 PM   #1
jglazner
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Angry 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!
 
Old 09-10-2003, 10:11 PM   #2
lethargo
LQ Newbie
 
Registered: Aug 2003
Location: St. Paul, Minnesota, US
Distribution: Slackware 10
Posts: 27

Rep: Reputation: 15
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.)
 
Old 09-11-2003, 04:52 AM   #3
davee
Member
 
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
Why not move the whole tomcat directory and chenge CATALINA_HOME to point to the new location?

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sim link browncow Linux - Newbie 1 05-24-2005 09:38 PM
Link apache tomcat problem rollinpark Linux - Software 1 01-28-2005 12:48 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
sim for 9.1? Vincent Slackware 5 11-02-2003 02:29 PM
Apache with Tomcat link xaviescuer Programming 0 06-13-2001 06:18 AM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration