• 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

Tomcat configuration for Velocity Project

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
am trying to deploy an application that uses Velocity templates instead of JSP.I placed the application folder in tomcat 4.1.24 home in webapps..
also modified the <context> tag in server.xml to point to the application directory....I hope am not missing out on any configuration stuff...coz when I start tomcat and try to see the application through browser I get a HTTP Status 404 error....Any idea how this can be resolved??
Thanks in Advance!!
 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
If you have placed your application in '$TOMCAT_HOME/webapps' then
it is not required to add context information in server.xml.
Check/remove that and everything should work fine..
HTH,
Vadiraj
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> also modified the <context> tag in server.xml
Which context tag? You mean you added a new one? Post the exact configuration and we'll see if there is a mistake there.

> when I start tomcat and try to see the application through browser
What is the folder name? What do you type into the address bar ? Can you see your application in the manager app?

Are there any errors in CATALINA_HOME/logs/stderr.log (or any of the other logs)?
 
reply
    Bookmark Topic Watch Topic
  • New Topic