Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Not able to display Tomcat Home Page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to display Tomcat Home Page" Watch "Not able to display Tomcat Home Page" New topic
Author

Not able to display Tomcat Home Page

srinivasarao govada
Greenhorn

Joined: May 06, 2010
Posts: 4
Hi,

I have integrated Tomcat 6.0 with IBM Ration Application Developer 7.5 (RAD 7.5).
When i start Tomcat server through RAD, the server starting smoothly without having any problems/errors.

But, when i try to access the Home Page i.e. http://localhost:8080/ , it is displaying HTTP Status 404 - / message and detailed message The requested resource (/) is not available..

I have done the following changes.

1. web.xml (Tomcat)
uncommented InvokerServlet within <servlet> and invoker and <servlet-mapping>
2. context.xml
added reloadable="true" privileged="true" attributes to Context


Please let me know what are the other changes i have to do otherthan above.

Thanks in advance,

Srinivasa Rao.



Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

It is the ROOT app which points to the "/" context. If you're not getting any page on that context, it means there is no application deployed. BTW, what do you want to do with Tomcats Home page?


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
srinivasarao govada
Greenhorn

Joined: May 06, 2010
Posts: 4
Thanks for your reply.

I am on the way of adding one simple project in this environment i.e. RAD with Tomcat given in http://www.eclipse.org/webtools/jst/components/ws/M3/tutorials/BottomUpWebService.html.

When we lanuch Tomcat server using tomcat6w.exe or tomcat6.exe, we can access the Home Page.
In the same way when i started Tomcat throught RAD, i should able to see the Tomcat Home Page.

Thanks,

Srinivasa Rao.
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

srinivasarao govada wrote:When we lanuch Tomcat server using tomcat6w.exe or tomcat6.exe, we can access the Home Page.
In the same way when i started Tomcat throught RAD, i should able to see the Tomcat Home Page.

I don't think so. When you run tomcat thru the Eclipse, the IDE creates the another Eclipse specific "webapp" directory which contains the project from Eclipse. For more queries on this, Google OR ask in IDE section.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
ncommented InvokerServlet within <servlet> and invoker and <servlet-mapping>


Why did you think that was necessary? Tomcat home page does not require it.

Is the Tomcat 6 instance the only version of tomcat on your system?

Have you checked the tomcat log files?

Bill
Jayaprabahar Chandrasekaran
Greenhorn

Joined: Nov 03, 2010
Posts: 1
srinivasarao govada wrote:Hi,

I have integrated Tomcat 6.0 with IBM Ration Application Developer 7.5 (RAD 7.5).
When i start Tomcat server through RAD, the server starting smoothly without having any problems/errors.

But, when i try to access the Home Page i.e. http://localhost:8080/ , it is displaying HTTP Status 404 - / message and detailed message The requested resource (/) is not available..

I have done the following changes.

1. web.xml (Tomcat)
uncommented InvokerServlet within <servlet> and invoker and <servlet-mapping>
2. context.xml
added reloadable="true" privileged="true" attributes to Context


Please let me know what are the other changes i have to do otherthan above.

Thanks in advance,

Srinivasa Rao.





Hi.. Can you give the tomcat adaptor for RAD 7.5
Thanks in advance..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to display Tomcat Home Page