Deployment of Axis2 1.5.1 fails on a JBoss 5.1.0 GA on Solaris 10 with JDK 1.6.0

When trying to deploy the axis2.war archive of version 1.5.1 if fails with
errors. The admin-console shows NullPointerExceptions.

The log files shows an error that a SAX parser could not be created:

"Failed to create a new SAX parser".

Found the solution at:

You have to extract the war archive and remove from WEB-INF/lib:
xml-apis* and xercesImpl*
After this repackage with
jar -cf ../axis2.war .

This new archive is deployable via the /admin-console access of 
JBoss 5.1.0 GA.

I had troubles because of previous attempts. Restarting JBoss solved this.