LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-04-2011, 01:01 PM   #1
obedraju
LQ Newbie
 
Registered: Oct 2011
Location: Hyderabad
Posts: 18

Rep: Reputation: Disabled
apache tomcat on ubuntu


Hi every one..
I'm Obedraju.

I've installed jdk n tomcat6 on my desktop. I've made the settings as guided but am unable to start with it. Localhost:8080 is working for me but when i'm trying to access my deployed files, i'm getting error 404 message on the screen. So could any one guide me plz!!!
 
Old 10-04-2011, 01:14 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Quote:
Localhost:8080 is working for me
Q: This means you point your browser to http://localhost:8080 and you see the Tomcat "welcome" page. Correct?

Quote:
I've made the settings as guided ... [but] I'm getting error 404 message
1. Please try this:
Quote:
http://www.coderanch.com/t/87666/Tom...s-error-tomcat

Could you try setting the following the

>On Server tab
>Select Tomcat Server (the one you are trying to start)
> Right Click - Select Open
> Go to section Server Location
>Selct Radio button for Use Tomcat Installation
>Set Server Path to //:the_tomcat_home_location
>Set Deploy Path to //:the_tomcat_home_location
2. Please check your Tomcat error logs. Please cut/paste any errors you find.

3. Please double-check your web.xml configuration file.

Good luck!
 
Old 10-04-2011, 01:24 PM   #3
obedraju
LQ Newbie
 
Registered: Oct 2011
Location: Hyderabad
Posts: 18

Original Poster
Rep: Reputation: Disabled
i start my server thru sudo code(command line)

where to click it??

please help me in detail.

on localhost:8080 am getting "It works!!!" and all. But on localhost:8080/obed/obed.html am getting 404 error.
 
Old 10-04-2011, 01:29 PM   #4
obedraju
LQ Newbie
 
Registered: Oct 2011
Location: Hyderabad
Posts: 18

Original Poster
Rep: Reputation: Disabled
Am also getting http://localhost:8080/examples/ pages and all and can also execute them. But the thing is, wen i'm deploying my own folder in webapps using war file, its going there. But cudnt access it on page.

Can any one help me.???

Thank u...!!!

Last edited by obedraju; 10-04-2011 at 01:32 PM. Reason: No response.
 
Old 10-04-2011, 01:41 PM   #5
obedraju
LQ Newbie
 
Registered: Oct 2011
Location: Hyderabad
Posts: 18

Original Poster
Rep: Reputation: Disabled
Am new to Linux... Could any one help me please???

ThanQ!
 
Old 10-05-2011, 05:27 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Per above:
Quote:
* Please check your Tomcat error logs. Please cut/paste any errors you find.

* Please read this link:
http://www.coderanch.com/t/87666/Tom...s-error-tomcat

* Please double-check your web.xml configuration file.
Being "new to Linux" doesn't mean you can't read

Please try the above, and please let us know what SPECIFIC things you tried, and what SPECIFIC question you have, or errors you're encountering.

PS:
Please post back what you find. If you get it working, please tell us HOW you got it working. This will help the NEXT person who encounters a similar problem

Last edited by paulsm4; 10-05-2011 at 05:29 PM.
 
  


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
Session replication using apache+mod_jk+tomcat(5.5.28-veriosn of tomcat) sreejithp Linux - Server 1 12-24-2010 07:46 AM
apache-tomcat and jakarta-tomcat shifter Programming 1 07-28-2007 11:36 PM
Any problems using Ubuntu desktop as an apache/tomcat/mysql server? glennyboi Ubuntu 2 05-18-2007 02:51 PM
Why use Apache with Tomcat rather than just Tomcat itself? davee Linux - Software 1 08-21-2003 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration