LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-26-2004, 02:08 PM   #1
chinaundead
Member
 
Registered: Feb 2004
Location: UK
Distribution: Mandrake 10 Official
Posts: 123

Rep: Reputation: 15
Problem of Tomcat


Hi, I just installed tomcat in my Mandrake10

After I set all the path ready,reboot my computer
and I go to tomcat directory and type: bin/startup.sh
It says permission denied

And I switch to root and try again, it says perimission denied as well, what's the problem? Any help please!

Thank you!
 
Old 03-26-2004, 05:58 PM   #2
chinaundead
Member
 
Registered: Feb 2004
Location: UK
Distribution: Mandrake 10 Official
Posts: 123

Original Poster
Rep: Reputation: 15
any help?
 
Old 03-26-2004, 06:29 PM   #3
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
try (as root if nessecary):

chmod a+x tomcat_directory_name
cd tomcat_directory_name
chmod a+x bin

when i say "bin" i mean ./tomcat_directory_name/bin

you may also need to:

chmod a+x tomcat_directory_name/bin/startup.sh

:~]
 
Old 03-27-2004, 05:00 AM   #4
chinaundead
Member
 
Registered: Feb 2004
Location: UK
Distribution: Mandrake 10 Official
Posts: 123

Original Poster
Rep: Reputation: 15
I can run startup.sh now. When I run it, the command line gives response:
Using CATALINA_BASE: /home/chinaundead/tomcat/jakarta-tomcat-4.1.30
Using CATALINA_HOME: /home/chinaundead/tomcat/jakarta-tomcat-4.1.30
Using CATALINA_TMPDIR: /home/chinaundead/tomcat/jakarta-tomcat-4.1.30/temp
Using JAVA_HOME: /home/chinaundead/java/j2sdk1.4.2_04

Is this response right?

When I go to Firefox, and type http://localhost:8080/index.html, it doesn't work, the webpage says:

HTTP Status 404 - /index.html

type Status report

message /index.html

description The requested resource (/index.html) is not available.
Apache Tomcat/4.1.30


Any solutions?
 
Old 03-27-2004, 02:41 PM   #5
chinaundead
Member
 
Registered: Feb 2004
Location: UK
Distribution: Mandrake 10 Official
Posts: 123

Original Poster
Rep: Reputation: 15
help,please!
 
Old 03-27-2004, 09:06 PM   #6
LinFreak!
Member
 
Registered: Jul 2003
Location: England
Distribution: slack9.1
Posts: 209

Rep: Reputation: 30
Could be a firewall or network setup problem, sorry can't help you any more as I have never run or administered a webserver :~[
 
Old 03-29-2004, 06:35 PM   #7
chinaundead
Member
 
Registered: Feb 2004
Location: UK
Distribution: Mandrake 10 Official
Posts: 123

Original Poster
Rep: Reputation: 15
I delete everything of Tomcat, redownload it, reconfig, then it works

I just do all the same thing, don't know why this time it works.

Anyway, thank you for all your helps!
 
  


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 problem roger600 Linux - Software 1 10-12-2005 06:12 AM
problem with tomcat... os2 Linux - Software 5 06-27-2005 08:57 PM
Problem of Tomcat chinaundead Linux - Networking 1 03-26-2004 05:59 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM
Tomcat connector problem vivck Linux - Software 1 12-04-2003 11:13 PM


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