1 Reply Latest reply on Jun 3, 2006 2:36 PM by Alessandro Ribeiro

    Weird "Parsing web.xml error" on JBoss 4.0.3SP1

    Alessandro Ribeiro Newbie


      we deployed our Web application under a JBoss 4.0.3SP1 installation on eApps (www.eapps.com) VPS server. The problem is: 50% of the deployments failed for no reason. For example, we could deploy exactly the same WAR 4 times in a row. The result of our deployment could be SUCESS, FAIL, SUCESS, FAIL or FAIL, FAIL, SUCCESS, SUCCESS or any other combination of failures and successes, with approximately 50% successes and 50% failures.

      For 1 week, we tried to isolate the problem as we were using a plethora of web frameworks and we believed, at that point, that it ought to be some kind of incompatibility problem with the external libraries. Exhausted, we decided to create a very simple WAR, containing only 1 JSP, 2 GIFs and 1 CSS, and an almost empty web.xml. Then, to our surprise, we witnessed the same weird behaviour of JBoss with this very simple WAR.

      So, we decided to upgrade from JBOSS AS 4.0.3SP1 to 4.0.4GA. This problem disappeared completely. We didn't find this bug reported anywhere. Have anyone already seen this problem ? Has it already been reported ?

      Here goes the environment configuration of our server at eApps:
      Linux CentOS
      Kernel 2.6.8-022
      Java 1.5.0_06

      The only upgrade we did, was from JBoss 4.0.3SP1 to 4.0.4GA.