"sasanplus" wrote : and then I corrupted the content by removing i.e. web.xml and few other stuff to make sure this is not a valid .war and not going to be deployed. The actualy binary can be opened but the content is not a .war any more i.e. no web.xml and a couple of classes are removed. |
The absence of a web.xml does *not* stop the war from being deployed. And it won't be considered as a corrupt deployment. Even the absence of some classes which are needed at runtime of the war and not deployment time, too will not cause the deployment failure. If you want to test the deployment failure then you can try by adding a web.xml with a non-existent servlet class. That should fail the deployment. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249658#4249658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249658 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user