Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to display Tomcat Home Page

 
srinivasarao govada
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
srinivasarao govada
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2906
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic