• 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

Web Application Deployment

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
Can anyone point me towards information regarding deploying web applications with tomcat. I've almost completed my first servlet/jsp project and now have to deal with getting it working on the target server. To me this seems to be the most intimidating part of the whole process. I've developed the project with Jbuilder so can organize everything in a WAR file, but am unsure of where to put it what to do with the jdbc driver(postgres) and such. Any help would be great
Cheers
Randy
 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Put the JDBC driver in the /lib directory and put that in your CLASSPATH.
I havent tried using a WAR file deployment yet so I'll be watching the answers for info.
Hope that helps,
Terry
 
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
If you install Tomcat on your system, then simply place that *.war file in the webapps directory, and it will be deployed automatically when you start Tomcat.

Also, Tomcat itself has good documentation.
 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Heres a link I had filed away for future use:
http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html?page=1
bye,
Terry
 
Randy Trover
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks all
the link to O'reilly really helped lots of great info on all sorts of stuff.
Cheers
Randy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic