having problems deploying WAR in Tomcat

Hi there,

I am building an application in Netbeans using Java / JSP / Struts, and I am trying to deploy the current version I have in Tomcat on a different machine using a WAR file. I have never done this before, and I think I might be missing something...

The application deploys fine in Netbeans, but when I put it in the webapps folder and re-start Tomcat on the other machine, it goes through the "process context configuration file" for it but never gets to the "installing web application" phase. It doesnt seem to throw any errors between.

I did configure the packaging in Netbeans to build the WAR with all the jars and libraries I need so it cant be that :(

Please could somebody shed some light on this, It has been a really long day trying to figure it out!

[799 byte] By [o_O] at [2007-11-26 9:03:43]
# 1
Have you looked at the log files on the second computer to see if there are any error messages?You may also want to compare the war file that works with the war file that doesn't, just to see if they are not the same...
KarthikR at 2007-7-6 23:13:12 > top of Java-index,Development Tools,Java Tools...
# 2

Nope, no error messages. I think I have narrowed down a little bit more, I cant deploy the project alone just using Tomcat (not netbeans) on my machine either. The .xml file is never generated in conf/Catalina/localhost on either machines unless I use Netbeans. Still havent managed to fix it though :(

o_O at 2007-7-6 23:13:12 > top of Java-index,Development Tools,Java Tools...
# 3

Ref: http://tomcat.apache.org/faq/deployment.html#tc5Conf

Why does tomcat 5 create context configuration files?

...The suggested practice for tomcat 5 is to place context configuration files in the META-INF/context.xml directory of your webapp, and use Tomcat's Manager webapp to deploy/undeploy your applications.

Are u using tomcat 5?

KarthikR at 2007-7-6 23:13:12 > top of Java-index,Development Tools,Java Tools...