You will not need to put any context in server.xml as jboss will not read
this file anyway. The problem with your context seems to be linked to your
This is either a classpath conflict or you have put jars in your lib
directory which are conflicting with required ones. You should probably
check both, making sure that you only have the minimum required. For example
a classpath of tools.jar in your jre and that is about it.