Anyway, I would recommend that you use the latest version of WildFly (JBoss AS is now known as WildFly) from here http://wildfly.org/downloads/, instead of using that very old and admittedly buggy version. I won't be surprised if you keep running into more issues on that older version.
Looks like you have Java version mismatches. The version of Java you are using to create your ear is later than the version of Java your appserver is using?