I am using an additional deployment directory besides the default deploy directory. To achieve that I changed the jboss-service.xml to include my new directory as well as the default in the MBean for org.jboss.deployment.scanner.URLDeploymentScanner.
This is working fine at startup of jboss, BUT hot deployment does not work. Hot deployment still works for the deploy directory but not for my added directory. What should I do in order to get it to work?
Never mind, I had forgotten a slash after the directory name. Once I added the slash hot deployment worked fine.