You can add a separate directory for the scanner to look at, in addition to deploy/ (or even instead of). Look at end of conf/jboss-service.xml. Comments in there are pretty descriptive.
Thanks for you input :D. I have actually managed to deploy an ear file successfully but the problem is when i try to access the web app thru http://localhost:8080/webapp/index.jsp, i got a error output on the console:
16:10:33,421 INFO [Engine] StandardHost[localhost]: MAPPING configuration error for request URI /deploy/webapp/index.jsp
How do I do the mapping then?
opps sorry my mistake, there is no mapping error, it just my url on the browser is wrong. Thanks!!