Skip to main content

tomcat ignores a war file in webapps folder

Following happened today..
Tomcat was ignoring one single WAR file. We was able to (re)deploy all other applications in webapps folder by removing and adding WAR files from and into the folder. But for one file was completely ignored.

Solution..
A developer deployed the same WAR file earlier with context.xml file in META-INF folder. Tomcat stored this file into <tomcat home>/conf/Catalina/localhost named <context of application>.xml.
If you now remove the file and restart Tomcat it will  not ignore given WAR file anymore.

Tomcat version we used was 5.5.

There should be at least a warning message or something in log files to give a bit information why a file is getting ignored..

Comments

Popular posts from this blog

How to run Laravel and Angular app on the same development host?

I had to build a quick demo using Angular . I decided to use Laravel as back end for my app. Setup Setup went easy. I used  angular2-seed for Angular. Cloned it using git. $ git clone https://github.com/angular/angular2-seed.git my-demo-app-gui With command "npm start" after "npm install" in the "my-demo-app-gui" folder I got my angular application running locally - http://localhost:3000. To create a new Laravel project I used following command line command: "laravel new my-demo-app-web" to create PHP server side for my project. In folder I just created, I executed following command: "php -S localhost:8000 -t public" to start local back end server -  http://localhost:8000. So far everything went smoothly. So I started build something amazing, like script of Laravel is suggesting before it is finishing its job. Since the goal for me was to build a web application that will get its data from the back end of the same hos...