permaculture playing cards*
The moose likes Tomcat and the fly likes Tomcat Problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Problems" Watch "Tomcat Problems" New topic
Author

Tomcat Problems

kristof taveirne
Greenhorn

Joined: Sep 21, 2004
Posts: 4
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.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
During development you might as well skip the WAR stage and copy the class files to WEB-INF/classes directly.
Bill
kristof taveirne
Greenhorn

Joined: Sep 21, 2004
Posts: 4
Thanks,
You were right.
Skipping the war step is the fastest and easiest way.

Thanks for your help

K.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Problems
 
Similar Threads
sending JMS message to ESB from JBoss app
Restarting Tomcat in Eclipse?
Deploying WAR file on Tomcat
Help with war file from Tomcat to Websphere
tomcat incommunicado