?
Solved

Tomcat runs fine, but can't find the root page

Posted on 2006-06-05
6
Medium Priority
?
216 Views
Last Modified: 2010-04-01
Hi:

I am using tomcat to run my jsp pages. Everything is fine, but it is strange that http://localhost:8080 doesn't show up and report 404 status error.

description The requested resource (/) is not available.

Can any one tell me what's wrong with my configuration?

Thank you.
0
Comment
Question by:ly_uwo
  • 3
  • 3
6 Comments
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 16834928
http://localhost:8080/ does this open our Tomcat Web Page????

If not i think that Tomcat has not started properly.

Are you using Eclipse??? and a plugin to start the Tomcat Server??? Its better you do start and stop of you Tomcat server using the Monitor Tomcat option.

Thank You.
0
 

Author Comment

by:ly_uwo
ID: 16835364
yes, I am using eclipse WTP.  I choose run on server, which is tomcat 5.5. Do you mean I better use the system tray of tomcat to start it? However, I have no problem to run programs on tomcat currently. I am just feel surprised why the root of tomcat doesn't display.
0
 
LVL 23

Expert Comment

by:Siva Prasanna Kumar
ID: 16838576
ya man even i had the same problem using WTP, i think theproblem is when your system starts up itself your Tomcat Start up program will start it and then even thou you stop it i don't think all the Threads of it are dumped properly.

Actually WTP uses some othe configration in the Tomcat if you ant check out when you do a run on server on the work space you can't see that file in the web apps.

ok fine forget about all that story.

now go your server properties by double clicking the server and there will be a check box (checked) Run from workspace.

just Unckeck it and restart the Tomcat Server Once(Best restart the Eclipse too.)

Thank You.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:ly_uwo
ID: 16842363
But I don't find the "Run from workspace" option in my eclipse-wtp by clicking windows-> preference->server. I am using the current version of wtp.
0
 
LVL 23

Accepted Solution

by:
Siva Prasanna Kumar earned 500 total points
ID: 16844198
no just double click on the sever which will be in the bottom of your eclipse just next to console in J2EE preference.

Thank You.
0
 

Author Comment

by:ly_uwo
ID: 16845426
solved! thank you.
Besides your suggestion, I check "automatically publish when starting server" which I unchecked before.  
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the below post we have mentioned the best hosting type for startups. Also, check out some of the superlative web hosting companies that are proposing affordable web hosting solutions to host your startup website.
Social messanging services like WhatsApp and Facebook can help businesses in ways that many owners don't even imagine, giving new opportunities to connect with customers. Discover some of the most innovative things they can do for your company.
Integration Management Part 2
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question