Looks like a bug that occurs with certain specific combinations of JRE and OS versions (see https://jira.jboss.org/jira/browse/JBAS-6981). Basically, the JBoss config is relying on reflection to return constructors in a certain order, and in some cases this order is different, causing the exception. Did you change your JRE version when you reinstalled, say from 1.6.0_17 to _18?
Anyway, the workaround is described in the JIRA issue, and also here. You need to change the content of
conf/bootstrap/profile.xml. Look for the definition of the
AttachmentStore, and change the constructor line so that it starts like this (i.e. add the
class XML attribute to the
<constructor><parameter class="java.io.File"><inject …
The original version doesn't have the
Pretty sloppy of the JBoss folks, but there you go.