• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Not able to display Tomcat Home Page

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
Ranch Hand
Posts: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 2908
1
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
reply
    Bookmark Topic Watch Topic
  • New Topic