Unable to commit custom APM when using JBoss Application Server