updated jboss5, renamed the functions so not to have a name conflict when jboss7 and jboss5 are both installed