When testing embedded querying on Tomcat 7 using infinispan-embedded-query uber-jar, following exception is thrown: org.infinispan.commons.CacheConfigurationException: ISPN000278: Indexing can only be enabled if infinispan-query.jar is available on your classpath, and this jar has not been detected. at org.infinispan.configuration.cache.IndexingConfigurationBuilder.validate(IndexingConfigurationBuilder.java:144) at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:186) at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:202) at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:197) ... Please note that the same test works fine if uber-jars are not present. Also note, that the same tests pass with EAP 6.4, EAP 6.3 and even Tomcat 8 when using uber-jars. It looks like the Tomcat 7 doesn't see all the dependencies via infinispan-embedded-query.
Link to the Jenkins job and stacktrace: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jdg-func-invm-in-containers/SERVER=tomcat7,TEST_MODULE=embedded-queries,jdk=java17_default,label=RHEL6&&x86_64&&mem4G/14/testReport/junit/com.jboss.datagrid.test.query/SimpleQueryIT/testSimpleQuery/
The possible cause is in the server log: INFO: validateJarFile(/mnt/hudson_workspace/workspace/jdg-func-invm-in-containers/d94808d1/ews-server/tomcat70/webapps/test/WEB-INF/lib/infinispan-embedded-query.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class IMHO it doesn't make sense to have the javax.servlet package in the uber-jar.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.