AFAIK JBoss AS 5.1.0.GA has not been tested with JDK7.
Search the forum for the other question and consider updating to JBoss AS 7.1.x
Reply to this message by going to Community
Start a new discussion in JBoss Web Services at Community