• 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 Problems

 
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'm trying to learn all about JSP and tomcat.
I've installed the latest binaries and got it working properly.
I use IntelliJ IDEA to write the code.

First problem I have is, that I can't find a way to deploy to tomcat directly from within idea.
Second when I've deployed manualy through the /manager section everything works, but when I fix something and I recompile my .war file and try to deploy my new version things go wrong. tomcat says that the file is already on the server, even if I've undeployed the old version. I have to go to the tree structure of the tomcat installation and delete it manualy, after I have to stop the server because xp would complain that the file is still in use.

All this together renders tomcat pretty useless to me. I can't hardly imagine that this is the way to work because it is so time consuming to do little things.

Any ideas what is going wrong here?

Kristof.
 
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
During development you might as well skip the WAR stage and copy the class files to WEB-INF/classes directly.
Bill
 
kristof taveirne
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks,
You were right.
Skipping the war step is the fastest and easiest way.

Thanks for your help

K.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic