Tryed with the latest jboss 7.1.2 and the problem still exists.
to simulate, just add on a method "XMLSignatureFactory fac = XMLSignatureFactory.getInstance("DOM");" or use the static reference on the first example.
This is an issue or I need to import some another module on MANIFEST.MF ?