Read the docs for the JBoss server you are using - you need to place external libraries in the appropriate location for them to be on the classpath (not sure about this version, but in other versions...