LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-29-2006, 09:41 AM   #1
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Starting Tomcat from Eclipse - Permission denied


Hi, this is on Ubuntu Dapper. Tomcat 5 has been installed through the default repositories, and I've registered the Sysdeo Tomcat plugin with Eclipse 3.1.

Now when I click the menu "Start Tomcat", there's the error message:
Code:
java.io.FileNotFoundException: /usr/share/tomcat5/work/Catalina/localhost/balancer/tldCache.ser (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
I've made sure there are read, write, and even execute permissions for everyone on the complete contents of /usr/share/tomcat5 (which I should revert once I got Tomcat starting).

I believe the error cause is, the folder work is a link to another folder (which??).

Could someone please aid me? Thanks

-------------------------------
Edit: I'm using another installation of Tomcat now, which works... So it was those "folder links", indeed.

- BTW, I didn't find a way to create or edit those links. Is that possible?

Last edited by robbbert; 06-29-2006 at 10:31 AM.
 
Old 06-30-2006, 05:23 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,000
Blog Entries: 11

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
If you didn't have perms to the target dir or the source, sure ...


Cheers,
Tink
 
  


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
tomcat - eclipse os2 Linux - Software 7 02-12-2007 01:54 PM
Tomcat plugin for Eclipse paraiso Programming 2 05-12-2006 01:46 AM
Tomcat plugin for eclipse, help! paraiso Linux - Software 0 03-17-2006 06:52 AM
Installing tomcat on Eclipse snowyice Linux - Software 1 01-02-2006 10:10 PM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 12:45 PM


All times are GMT -5. The time now is 03:54 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