infinispan/infinispan — pull request #2143 by anistor (2013-10-06 19:10:36+00:00)
Title: ISPN-3583 When indexing is enabled but Query module isn't available configuration validation should fail

This is Sanne's PR + 2 additional commits:
1. a fix for the classloader being used
2. Throw exception also for legacy config.

WARNING: no 2 is debatable. Not sure if it's OK to fail if config is wrong, maybe a lenient warning is preferable, this being a legacy configuration. @mmarkus I believe the check was first added by you. Is it ok to turn the warning into an exception?

Please integrate in master.
Jira: https://issues.jboss.org/browse/ISPN-3583