I modified the module.xml header. Instead of using
<?xml version="1.0" encoding="UTF-8"?>
<module name="org.elasticsearch">
I changed the header to
<module xmlns="urn:jboss:module:1.1" name="org.elasticsearch">
Now the extension has been added to JBoss, but when deploying elasticsearch.war, port 9200 is still not bounded