1 2 Previous Next 15 Replies Latest reply on Jul 17, 2019 1:39 PM by klmurty

    teiid - EmbeddedServer - Cache issue after Spring boot migration

    klmurty

      We use the embedded server in our project with spring 4.x, running well.

       

      The server configuration is good in the above setup.

       

      EmbeddedServer server = new EmbeddedServer();

      loadDeaultFactories();

      EmbeddedConfiguration config = new EmbeddedConfiguration();

      server.start(config);

       

      Once we migrated this project to spring boot 2.x and teiid is broken and it asked for cache related configuration. We gain fixed this by using the following :

       

      EmbeddedServer  server = new EmbeddedServer();

      loadDeaultFactories();

      EmbeddedConfiguration config = new EmbeddedConfiguration();

      EmbeddedCacheManager cacheManager = new DefaultCacheManager(true);

      CacheFactory cacheFactory = new InfinispanCacheFactory(cacheManager, this.getClass().getClassLoader());

      config.setCacheFactory(cacheFactory);

      server.start(config);

       

       

      But we still see the following issue .

       

      Please help me to resolve this issue

       

       

      2019-07-15 14:38:32.027 INFO org.teiid.COMMAND_LOG - START USER COMMAND: startTime=2019-07-15 14:38:32.027 requestID=TBTspOdRVU71.0 txID=null sessionID=TBTspOdRVU71 applicationName=internal principal=embedded-async vdbName=fetchWebServiceForMetadata vdbVersion=1 sql=select count(*) from "pg_catalog"."matpg_datatype"

      2019-07-15 14:38:32.030 INFO org.teiid.COMMAND_LOG - START USER COMMAND: startTime=2019-07-15 14:38:32.03 requestID=J2Flbw2SA4/g.0 txID=null sessionID=J2Flbw2SA4/g applicationName=internal principal=embedded-async vdbName=fetchWebServiceForMetadata vdbVersion=1 sql=select count(*) from "pg_catalog"."pg_type"

      2019-07-15 14:38:32.087 INFO org.teiid.COMMAND_LOG - START USER COMMAND: startTime=2019-07-15 14:38:32.087 requestID=oCa4A4PMpej6.0 txID=null sessionID=oCa4A4PMpej6 applicationName=JDBC principal=anonymous vdbName=fetchWebServiceForMetadata vdbVersion=1 sql=SELECT A.* FROM (EXEC invokeHttp(action=>'GET',endpoint=>'https://raw.githubusercontent.com/srinivas460/testApi/master/complexJSON2.json',headers=>'{"Content-Type":"application/json"}',stream=>'TRUE')) AS f, XMLTABLE('/response/accounting' PASSING JSONTOXML('response',f.result) ) AS A LIMIT 100

      2019-07-15 14:38:32.150 INFO org.teiid.PROCESSOR.MATVIEWS - TEIID30013 Loading materialized view table #MAT_PG_CATALOG.PG_TYPE

      2019-07-15 14:38:32.150 INFO org.teiid.PROCESSOR.MATVIEWS - TEIID30013 Loading materialized view table #MAT_PG_CATALOG.MATPG_DATATYPE

      2019-07-15 14:38:32.169 ERROR org.teiid.PROCESSOR.MATVIEWS - TEIID30015 Failed to load materialized view table #MAT_PG_CATALOG.PG_TYPE.

      java.lang.NullPointerException: null

      at org.teiid.dqp.internal.process.SessionAwareCache.get(SessionAwareCache.java:96)

      at org.teiid.query.util.CommandContext.getPlan(CommandContext.java:596)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.getPreparedPlan(QueryProcessorFactoryImpl.java:87)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.createQueryProcessor(QueryProcessorFactoryImpl.java:74)

      at org.teiid.query.tempdata.TempTableDataManager$7.createTupleSource(TempTableDataManager.java:748)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.tempdata.TempTableDataManager$4.load(TempTableDataManager.java:636)

      at org.teiid.query.tempdata.TempTableDataManager$4.createTupleSource(TempTableDataManager.java:597)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:398)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:98)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:141)

      at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:148)

      at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:111)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:160)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:142)

      at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:480)

      at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:350)

      at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:47)

      at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:276)

      at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:115)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:206)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      2019-07-15 14:38:32.169 ERROR org.teiid.PROCESSOR.MATVIEWS - TEIID30015 Failed to load materialized view table #MAT_PG_CATALOG.MATPG_DATATYPE.

      java.lang.NullPointerException: null

      at org.teiid.dqp.internal.process.SessionAwareCache.get(SessionAwareCache.java:96)

      at org.teiid.query.util.CommandContext.getPlan(CommandContext.java:596)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.getPreparedPlan(QueryProcessorFactoryImpl.java:87)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.createQueryProcessor(QueryProcessorFactoryImpl.java:74)

      at org.teiid.query.tempdata.TempTableDataManager$7.createTupleSource(TempTableDataManager.java:748)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.tempdata.TempTableDataManager$4.load(TempTableDataManager.java:636)

      at org.teiid.query.tempdata.TempTableDataManager$4.createTupleSource(TempTableDataManager.java:597)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:398)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:98)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:141)

      at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:148)

      at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:111)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:160)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:142)

      at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:480)

      at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:350)

      at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:47)

      at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:276)

      at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:115)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:206)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

      2019-07-15 14:38:32.170 INFO org.teiid.COMMAND_LOG - ERROR USER COMMAND: endTime=2019-07-15 14:38:32.169 requestID=TBTspOdRVU71.0 txID=null sessionID=TBTspOdRVU71 principal=embedded-async vdbName=fetchWebServiceForMetadata vdbVersion=1 finalRowCount=null

      2019-07-15 14:38:32.170 INFO org.teiid.COMMAND_LOG - ERROR USER COMMAND: endTime=2019-07-15 14:38:32.169 requestID=J2Flbw2SA4/g.0 txID=null sessionID=J2Flbw2SA4/g principal=embedded-async vdbName=fetchWebServiceForMetadata vdbVersion=1 finalRowCount=null

      2019-07-15 14:38:32.170 ERROR org.teiid.PROCESSOR - TEIID30019 Unexpected exception for request TBTspOdRVU71.0

      java.lang.NullPointerException: null

      at org.teiid.dqp.internal.process.SessionAwareCache.get(SessionAwareCache.java:96)

      at org.teiid.query.util.CommandContext.getPlan(CommandContext.java:596)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.getPreparedPlan(QueryProcessorFactoryImpl.java:87)

      at org.teiid.dqp.internal.process.QueryProcessorFactoryImpl.createQueryProcessor(QueryProcessorFactoryImpl.java:74)

      at org.teiid.query.tempdata.TempTableDataManager$7.createTupleSource(TempTableDataManager.java:748)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.tempdata.TempTableDataManager$4.load(TempTableDataManager.java:636)

      at org.teiid.query.tempdata.TempTableDataManager$4.createTupleSource(TempTableDataManager.java:597)

      at org.teiid.query.tempdata.TempTableDataManager$ProxyTupleSource.nextTuple(TempTableDataManager.java:109)

      at org.teiid.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:398)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.LimitNode.nextBatchDirect(LimitNode.java:98)

      at org.teiid.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:277)

      at org.teiid.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:141)

      at org.teiid.query.processor.QueryProcessor.nextBatchDirect(QueryProcessor.java:148)

      at org.teiid.query.processor.QueryProcessor.nextBatch(QueryProcessor.java:111)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:160)

      at org.teiid.query.processor.BatchCollector.collectTuples(BatchCollector.java:142)

      at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:480)

      at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:350)

      at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:47)

      at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:276)

      at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:280)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:115)

      at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:206)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      at java.lang.Thread.run(Thread.java:748)

        • 1. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
          klmurty

          It was good earlier (teiid 10.2.1) without using cache. But After spring boot migration, it is broken.

          • 2. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
            rareddy

            This is due to [TEIID-5596] Remove the Infinispan dependency from Teiid Embedded - JBoss Issue Tracker

             

            Add the following to restore it

             

            <dependency>

              <groupId>org.teiid</groupId>

              <artifactId>cache-infinispan</artifactId>    

            </dependency>

             

            you can add your own cache manager implementation if you need using "EmbeddedConfiguration"

            • 3. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
              klmurty

              Thank you Ramesh.

               

              I added the following dependency:

               

              <dependency>

                  <groupId>org.teiid</groupId>

                  <artifactId>cache-infinispan</artifactId>

                  <version>12.0.0</version>

              </dependency>

               

              And I found that the previous error is disappeared. But application is looking for "org/teiid/resource/api/WrappedConnection", But I dont find this class instead I found "org/teiid/resource/spi/WrappedConnection"

               

              I am using teiid 11.2.1

               

              <teiid.version>11.2.1</teiid.version>

               

              I tried the same dependency, but this time it gave me another error :

               

              2019-07-15 22:29:41.786 ERROR c.r.e.controller.RouterController - Error calling method: populateColumns

              java.lang.NoClassDefFoundError: org/teiid/resource/api/WrappedConnection

              at org.teiid.query.metadata.NativeMetadataRepository.getMetadata(NativeMetadataRepository.java:76)

              at org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:55)

              at org.teiid.query.metadata.ChainingMetadataRepository.loadMetadata(ChainingMetadataRepository.java:51)

              at org.teiid.runtime.EmbeddedServer.loadMetadata(EmbeddedServer.java:887)

              at org.teiid.runtime.AbstractVDBDeployer.loadMetadata(AbstractVDBDeployer.java:221)

              at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:837)

              at org.teiid.runtime.EmbeddedServer.deployVDB(EmbeddedServer.java:710)

              at com.orbit.reporting.services.WebServiceMetadataHelper.deployWebServiceForMetadata(WebServiceMetadataHelper.java:492)

              at com.orbit.reporting.services.WebServiceMetadataHelper.populateMetadata(WebServiceMetadataHelper.java:258)

              at com.orbit.reporting.services.WebServiceMetadataService.populateRest(WebServiceMetadataService.java:571)

              at com.orbit.reporting.services.WebServiceMetadataService.populateColumns(WebServiceMetadataService.java:492)

              at com.orbit.reporting.web.controllers.WebserviceMetadataController.populateColumns(WebserviceMetadataController.java:40)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at ch.ralscha.extdirectspring.util.ExtDirectSpringUtil.invoke(ExtDirectSpringUtil.java:101)

              at ch.ralscha.extdirectspring.controller.RouterController.processRemotingRequest(RouterController.java:659)

              at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCall(RouterController.java:435)

              at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCallOne(RouterController.java:369)

              at ch.ralscha.extdirectspring.controller.RouterController.router(RouterController.java:303)

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

              at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

              at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)

              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)

              at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)

              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)

              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)

              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

              at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.saml.SAMLEntryPoint.doFilter(SAMLEntryPoint.java:102)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)

              at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.saml.SAMLLogoutProcessingFilter.processLogout(SAMLLogoutProcessingFilter.java:209)

              at org.springframework.security.saml.SAMLLogoutProcessingFilter.doFilter(SAMLLogoutProcessingFilter.java:107)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:168)

              at org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:110)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:468)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)

              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

              at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:158)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:468)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at com.orbit.reporting.csrf.filter.CsrfTokenResponseHeaderBindingFilter.doFilterInternal(CsrfTokenResponseHeaderBindingFilter.java:42)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

              at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)

              at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)

              at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)

              at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)

              at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

              at java.lang.Thread.run(Thread.java:748)

              Caused by: java.lang.ClassNotFoundException: org.teiid.resource.api.WrappedConnection

              at java.net.URLClassLoader.findClass(URLClassLoader.java:382)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

              ... 141 common frames omitted

              • 4. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                shawkins

                > I tried the same dependency, but this time it gave me another error

                 

                Things seem to be getting a little mixed up.  If you are on Teiid 11.2.1, then you cannot use the 12.0.0 dependency that Ramesh is referencing - as that issue does not affect 11.x.

                 

                If you are trying to address this for Teiid 11.2, then the root issue is likely that infinispan is being initialized with a configuration that is not creating the appropriate Teiid caches.  It looks like the Teiid InfinispanCacheFactory will just return null in that case for the cache, which would later produce a null pointer exception.

                 

                 

                • 5. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                  klmurty

                  Do we have any samaple code how to use this ? Please help to me to resolve this. It lkooks like code compatible issue.

                   

                  Please provide working compatible versions of both teidd and infispan

                   

                   

                  My pom dependencies are :

                   

                   

                   

                   

                  <properties>

                  <eclipselink.version>2.7.4</eclipselink.version>

                  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

                  <teiid.version>11.2.1</teiid.version>

                  <ignite.version>2.7.0</ignite.version>

                  <sencha.workingdir>src/main/webapp/orbitui</sencha.workingdir>

                  <warname>reporting</warname>

                  <extdirectspring.version>1.8.1</extdirectspring.version>

                  <build.number></build.number>

                  </properties>

                  <!-- Dependencies ... -->

                  <dependencies>

                  <dependency>

                  <groupId>org.passay</groupId>

                  <artifactId>passay</artifactId>

                  <version>1.5.0</version>

                  </dependency>

                   

                   

                  <!--New Plugin for Better solutions for Excel Export -->

                  <dependency>

                  <groupId>com.grapecity.documents</groupId>

                  <artifactId>gcexcel</artifactId>

                  <version>2.2.1</version>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.security</groupId>

                  <artifactId>spring-security-taglibs</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-mail</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>com.h2database</groupId>

                  <artifactId>h2</artifactId>

                  <scope>runtime</scope>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-data-jpa</artifactId>

                  <exclusions>

                  <exclusion>

                  <groupId>org.hibernate</groupId>

                  <artifactId>hibernate-entitymanager</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.hibernate</groupId>

                  <artifactId>hibernate-core</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-security</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-web</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.security</groupId>

                  <artifactId>spring-security-config</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>mysql</groupId>

                  <artifactId>mysql-connector-java</artifactId>

                  <scope>runtime</scope>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-test</artifactId>

                  <scope>test</scope>

                  </dependency>

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-starter-tomcat</artifactId>

                  <scope>provided</scope>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.orbit.reporting</groupId>

                  <artifactId>orbit-license</artifactId>

                  <version>${project.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.orbit.reporting</groupId>

                  <artifactId>orbit-marketplace</artifactId>

                  <version>${project.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.orbit.reporting</groupId>

                  <artifactId>orbit-yarg</artifactId>

                  <version>${project.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>ch.ralscha</groupId>

                  <artifactId>extdirectspring</artifactId>

                  <version>${extdirectspring.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>net.coobird</groupId>

                  <artifactId>thumbnailator</artifactId>

                  <version>0.4.8</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.quartz-scheduler</groupId>

                  <artifactId>quartz</artifactId>

                  </dependency>

                  <dependency>

                  <groupId>org.quartz-scheduler</groupId>

                  <artifactId>quartz-jobs</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.eclipse.persistence</groupId>

                  <artifactId>org.eclipse.persistence.jpa</artifactId>

                  <version>${eclipselink.version}</version>

                  <exclusions>

                  <exclusion>

                  <groupId>org.eclipse.persistence</groupId>

                  <artifactId>jakarta.persistence</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.eclipse.persistence</groupId>

                  <artifactId>org.eclipse.persistence.core</artifactId>

                  <version>${eclipselink.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.eclipse.persistence</groupId>

                  <artifactId>javax.persistence</artifactId>

                  <version>2.2.0</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.thoughtworks.xstream</groupId>

                  <artifactId>xstream</artifactId>

                  <version>1.4.11.1</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.yaml</groupId>

                  <artifactId>snakeyaml</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.hamcrest</groupId>

                  <artifactId>hamcrest-core</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.poi</groupId>

                  <artifactId>poi</artifactId>

                  <version>${poi.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.poi</groupId>

                  <artifactId>poi-ooxml</artifactId>

                  <version>${poi.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.googlecode.json-simple</groupId>

                  <artifactId>json-simple</artifactId>

                  <version>1.1.1</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.xmlgraphics</groupId>

                  <artifactId>fop</artifactId>

                  <version>2.3</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.velocity</groupId>

                  <artifactId>velocity</artifactId>

                  <version>1.7</version>

                  </dependency>

                   

                   

                  <!-- https://mvnrepository.com/artifact/org.teiid.connectors/connector-ws -->

                  <dependency>

                  <groupId>org.teiid.connectors</groupId>

                  <artifactId>connector-ws</artifactId>

                  <version>${teiid.version}</version>

                  <exclusions>

                  <exclusion>

                  <groupId>org.springframework</groupId>

                  <artifactId>spring-asm</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>com.sun.xml.bind</groupId>

                  <artifactId>jaxb-impl</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.wss4j</groupId>

                  <artifactId>wss4j-ws-security-dom</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.wss4j</groupId>

                  <artifactId>wss4j-ws-security-common</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                  <dependency>

                  <groupId>org.infinispan</groupId>

                  <artifactId>infinispan-core</artifactId>

                  </dependency>

                  <dependency>

                      <groupId>org.teiid</groupId>

                      <artifactId>cache-infinispan</artifactId>

                      <version>12.0.0</version>

                  </dependency>

                  <dependency>

                  <groupId>org.teiid.connectors</groupId>

                  <artifactId>translator-ws</artifactId>

                  <version>${teiid.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.teiid</groupId>

                  <artifactId>teiid-runtime</artifactId>

                  <version>${teiid.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.teiid</groupId>

                  <artifactId>teiid-admin</artifactId>

                  <version>${teiid.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.teiid.connectors</groupId>

                  <artifactId>translator-excel</artifactId>

                  <version>${teiid.version}</version>

                  <exclusions>

                  <exclusion>

                  <groupId>org.apache.poi</groupId>

                  <artifactId>poi-ooxml-schemas</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.xmlbeans</groupId>

                  <artifactId>xmlbeans</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.teiid.connectors</groupId>

                  <artifactId>connector-file</artifactId>

                  <version>${teiid.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.teiid.connectors</groupId>

                  <artifactId>translator-jdbc</artifactId>

                  <version>${teiid.version}</version>

                  <exclusions>

                  <exclusion>

                  <groupId>org.hibernate</groupId>

                  <artifactId>hibernate-entitymanager</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.hibernate</groupId>

                  <artifactId>hibernate-core</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>joda-time</groupId>

                  <artifactId>joda-time</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.zeroturnaround</groupId>

                  <artifactId>zt-zip</artifactId>

                  <version>1.13</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.google.code.gson</groupId>

                  <artifactId>gson</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.haulmont.yarg</groupId>

                  <artifactId>yarg</artifactId>

                  <exclusions>

                  <exclusion>

                  <groupId>com.haulmont.thirdparty</groupId>

                  <artifactId>poi</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.poi</groupId>

                  <artifactId>poi-scratchpad</artifactId>

                  </exclusion>

                   

                   

                  <exclusion>

                  <groupId>org.apache.xmlgraphics</groupId>

                  <artifactId>fop</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.xmlgraphics</groupId>

                  <artifactId>xmlgraphics-commons</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.poi</groupId>

                  <artifactId>poi</artifactId>

                  </exclusion>

                  <exclusion>

                  <groupId>org.apache.commons</groupId>

                  <artifactId>commons-compress</artifactId>

                  </exclusion>

                  </exclusions>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>commons-net</groupId>

                  <artifactId>commons-net</artifactId>

                  <version>3.6</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.jcraft</groupId>

                  <artifactId>jsch</artifactId>

                  <version>0.1.55</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.cronutils</groupId>

                  <artifactId>cron-utils</artifactId>

                  <version>8.0.0</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.springframework.security.extensions</groupId>

                  <artifactId>spring-security-saml2-core</artifactId>

                  <version>1.0.9.RELEASE</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.opensaml</groupId>

                  <artifactId>opensaml</artifactId>

                  <version>2.6.6</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>ca.juliusdavies</groupId>

                  <artifactId>not-yet-commons-ssl</artifactId>

                  <version>0.3.11</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.springframework.ldap</groupId>

                  <artifactId>spring-ldap-core</artifactId>

                  </dependency>

                   

                   

                  <!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-ldap -->

                  <dependency>

                  <groupId>org.springframework.security</groupId>

                  <artifactId>spring-security-ldap</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.ws.security</groupId>

                  <artifactId>wss4j</artifactId>

                  <version>1.6.19</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>commons-dbutils</groupId>

                  <artifactId>commons-dbutils</artifactId>

                  <version>1.7</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.github.mnadeem</groupId>

                  <artifactId>sql-table-name-parser</artifactId>

                  <version>0.0.5</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.predic8</groupId>

                  <artifactId>soa-model-core</artifactId>

                  <version>1.6.0</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.esotericsoftware.yamlbeans</groupId>

                  <artifactId>yamlbeans</artifactId>

                  <version>1.13</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>com.itextpdf</groupId>

                  <artifactId>itextpdf</artifactId>

                  <version>5.5.13</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.modelmapper</groupId>

                  <artifactId>modelmapper</artifactId>

                  <version>2.3.2</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.ignite</groupId>

                  <artifactId>ignite-core</artifactId>

                  <version>${ignite.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.apache.ignite</groupId>

                  <artifactId>ignite-spring</artifactId>

                  <version>${ignite.version}</version>

                  </dependency>

                  <dependency>

                  <groupId>org.apache.ignite</groupId>

                  <artifactId>ignite-indexing</artifactId>

                  <version>${ignite.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.ignite</groupId>

                  <artifactId>ignite-slf4j</artifactId>

                  <version>${ignite.version}</version>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>javax.servlet</groupId>

                  <artifactId>jstl</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.apache.tomcat.embed</groupId>

                  <artifactId>tomcat-embed-jasper</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.springframework</groupId>

                  <artifactId>spring-context-support</artifactId>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>org.springframework.boot</groupId>

                  <artifactId>spring-boot-configuration-processor</artifactId>

                  <optional>true</optional>

                  </dependency>

                   

                   

                  <!-- *********************************************************************************************************** -->

                  <!-- 3rd party jars -->

                  <dependency>

                  <groupId>lib.jars.groupId</groupId>

                  <artifactId>libbase-5.3.0.0-200</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/libbase-5.3.0.0-200.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>lib.jars.groupId</groupId>

                  <artifactId>libformula-5.3.0.0-200</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/libformula-5.3.0.0-200.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>lib.jars.groupId</groupId>

                  <artifactId>ojdbc8.jar</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/ojdbc8.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>sqljdbc4-4.0</groupId>

                  <artifactId>sqljdbc4-4.0</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/sqljdbc4-4.0.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>db2jcc4</groupId>

                  <artifactId>db2jcc4</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/db2jcc4.jar</systemPath>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>dremio2.1.6</groupId>

                  <artifactId>orbit-dremio</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/dremio-jdbc-driver-2.1.6.jar</systemPath>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>teradata</groupId>

                  <artifactId>orbit-teradata</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/terajdbc4.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>com.cloudera.impala.jdbc</groupId>

                  <artifactId>ImpalaJDBC41</artifactId>

                  <version>1.0</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/ImpalaJDBC41.jar</systemPath>

                  </dependency>

                   

                   

                  <dependency>

                  <groupId>e1dadriver</groupId>

                  <artifactId>e1dadriver</artifactId>

                  <version>1.0</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/e1dadriver.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>xmlparserv2</groupId>

                  <artifactId>xmlparserv2</artifactId>

                  <version>a.b</version>

                  <scope>system</scope>

                  <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/xmlparserv2.jar</systemPath>

                  </dependency>

                  <dependency>

                  <groupId>com.sap.cloud.db.jdbc</groupId>

                  <artifactId>ngdbc</artifactId>

                  <version>2.4.56</version>

                  <type>pom</type>

                  </dependency>

                  <!-- *********************************************************************************************************** -->

                   

                   

                  </dependencies>

                  • 6. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                    rareddy

                    If you are spring boot why not use Teiid Spring Boot? See here GitHub - teiid/teiid-spring-boot: Teiid Spring Boot Starter   and example here with vdb teiid-spring-boot/samples/vdb at master · teiid/teiid-spring-boot · GitHub

                     

                    Otherwise it is not clear to me why you are seeing the above issue, for 11.2.1 it should have worked out of box, unless in your Spring Boot app brought in dependencies that clashed with the other. You would need to run under the debugger to find out what the real issue is. As Steve mentioned you need to roll back my previous suggestion.

                    • 7. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                      klmurty

                      In mycase, I will get webservice and file urls dynamically from UI and need to deply them into VDB using EmbeddedServer. So " GitHub - teii demonstarted/teiid-spring-boot: Teiid Spring Boot Starter" is not fit to my requirement.

                       

                      I see this issue when work with restful webservice, Do we have any valid example to support this.

                      • 8. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                        rareddy

                        I am going to reiterate what Steve mentioned, you can not mix and match Teiid versions, that means if you are using the 11.2.1 then all the jars need to be from that version, that said you need to remove

                         

                        <dependency>

                            <groupId>org.teiid</groupId>

                            <artifactId>cache-infinispan</artifactId>

                            <version>12.0.0</version>

                        </dependency>

                         

                        I think the original issue you had with Infinispan is with you including the dependency

                         

                        <dependency>

                        <groupId>org.infinispan</groupId>

                        <artifactId>infinispan-core</artifactId>

                        </dependency>

                         

                        Which needs to EXACTLY match or the compatible version with the Infinispan used in the Teiid 11.2.1 that seems to be 9.1.2 as shown here [1]

                         

                        Then next the classnotfound exception is due to (if above pom.xml is complete) there is no dependency on

                        <dependency>

                            <groupId>org.teiid</groupId>

                            <artifactId>teiid-api</artifactId>

                        </dependency>

                         

                        and lastly, about SpringBoot, it is very similar to what you building Embedded Teiid wise, what you do with it like creating a dynamic vdb etc is entirely up to you. I gave an example with VDB there, but you can deploy other another. IMO it will simplify your Teiid dependency model and will give a better model to include/configure the data sources.

                         

                        [1] teiid/pom.xml at 11.2.x · teiid/teiid · GitHub

                        • 9. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                          klmurty

                          Thank you, Ramesh.

                           

                          I followed the given link and I change the versions accordingly.

                           

                          <teiid.version>11.2.3</teiid.version>

                          <infinispan.version>9.1.2.Final</infinispan.version>

                           

                          The error is changed now .

                           

                          2019-07-17 06:56:56.222 DEBUG c.o.r.s.WebServiceMetadataService - Started Web Service Populating Columns

                          2019-07-17 06:56:56.222 DEBUG c.o.r.s.WebServiceMetadataService - Started processing REST service.

                          2019-07-17 06:56:56.227 DEBUG c.o.r.s.WebServiceMetadataService - Teiid web service Query : SELECT A.* FROM (EXEC invokeHttp(action=>'GET',endpoint=>'https://raw.githubusercontent.com/srinivas460/testApi/master/complexJSON2.json',headers=>'{"Content-Type":"application/json"}',stream=>'TRUE')) AS f, XMLTABLE('/response/accounting' PASSING JSONTOXML('response',f.result) ) AS A LIMIT 100

                          2019-07-17 06:56:56.227 DEBUG c.o.r.s.OrbitTeiidEmbeddedServer - Orbit teiid server intializing

                          2019-07-17 06:56:56.340 WARN org.teiid.PROCESSOR - TEIID31263 Error loading functions from org.teiid.dataquality.OSDQFunctions: org.teiid.dataquality.OSDQFunctions

                          2019-07-17 06:56:56.855 ERROR c.r.e.controller.RouterController - Error calling method: populateColumns

                          java.lang.NoSuchFieldError: INSTANCE

                          at org.infinispan.factories.EncoderRegistryFactory.construct(EncoderRegistryFactory.java:33)

                          at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:300)

                          at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:279)

                          at org.infinispan.factories.GlobalComponentRegistry.<init>(GlobalComponentRegistry.java:141)

                          at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:253)

                          at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:166)

                          at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.startServer(OrbitTeiidEmbeddedServer.java:287)

                          at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.init(OrbitTeiidEmbeddedServer.java:444)

                          at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.getServer(OrbitTeiidEmbeddedServer.java:469)

                          at com.orbit.reporting.services.WebServiceMetadataHelper.deployWebServiceForMetadata(WebServiceMetadataHelper.java:481)

                          at com.orbit.reporting.services.WebServiceMetadataHelper.populateMetadata(WebServiceMetadataHelper.java:258)

                          at com.orbit.reporting.services.WebServiceMetadataService.populateRest(WebServiceMetadataService.java:571)

                          at com.orbit.reporting.services.WebServiceMetadataService.populateColumns(WebServiceMetadataService.java:492)

                          at com.orbit.reporting.web.controllers.WebserviceMetadataController.populateColumns(WebserviceMetadataController.java:40)

                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          at java.lang.reflect.Method.invoke(Method.java:498)

                          at ch.ralscha.extdirectspring.util.ExtDirectSpringUtil.invoke(ExtDirectSpringUtil.java:101)

                          at ch.ralscha.extdirectspring.controller.RouterController.processRemotingRequest(RouterController.java:659)

                          at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCall(RouterController.java:435)

                          at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCallOne(RouterController.java:369)

                          at ch.ralscha.extdirectspring.controller.RouterController.router(RouterController.java:303)

                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          at java.lang.reflect.Method.invoke(Method.java:498)

                          at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

                          at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

                          at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

                          at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)

                          at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)

                          at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

                          at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)

                          at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)

                          at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)

                          at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)

                          at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

                          at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)

                          at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.saml.SAMLEntryPoint.doFilter(SAMLEntryPoint.java:102)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)

                          at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.saml.SAMLLogoutProcessingFilter.processLogout(SAMLLogoutProcessingFilter.java:209)

                          at org.springframework.security.saml.SAMLLogoutProcessingFilter.doFilter(SAMLLogoutProcessingFilter.java:107)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:168)

                          at org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:110)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)

                          at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

                          at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:158)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at com.orbit.reporting.csrf.filter.CsrfTokenResponseHeaderBindingFilter.doFilterInternal(CsrfTokenResponseHeaderBindingFilter.java:42)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:124)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                          at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)

                          at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)

                          at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)

                          at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)

                          at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)

                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

                          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)

                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

                          at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

                          at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

                          at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

                          at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

                          at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                          at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

                          at java.lang.Thread.run(Thread.java:748)

                          • 10. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                            klmurty

                            Also, I removed the following dependency as well, I still see the above error log.

                             

                            <dependency>

                                <groupId>org.teiid</groupId>

                                <artifactId>cache-infinispan</artifactId>

                                <version>12.1.1</version>

                            </dependency>

                            • 11. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                              rareddy

                              Try also removing the Infinispan dependency from pom.xml as it will be pulled automatically as Teiid's dependency.

                              • 12. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                                klmurty

                                Actually, it is working fine earlier without having any infinispan related dependecies when we use spring 4.x with teiid embedded Server (10.2.1). It is simple configuration like :

                                 

                                EmbeddedServer server = new EmbeddedServer();

                                loadDeaultFactories();

                                EmbeddedConfiguration config = new EmbeddedConfiguration();

                                server.start(config);

                                 

                                After spring boot (2.x) migration, the same code didn't work and  it is expecting local cache to be intialised:  error is : "Missing configuration for default cache 'default' declared on container". Hence we thought of we need to added infinispan related dependencies.

                                 

                                2019-07-17 20:03:06.671 INFO o.i.configuration.parsing.Parser - ISPN000294: Ignoring XML element strategy, please remove from configuration file

                                2019-07-17 20:03:06.679 ERROR c.o.r.w.c.WebserviceMetadataController - Error when populating metadata columns for the web service

                                org.infinispan.commons.CacheConfigurationException: ISPN000432: Missing configuration for default cache 'default' declared on container

                                at org.infinispan.configuration.parsing.ConfigurationBuilderHolder.lambda$validate$0(ConfigurationBuilderHolder.java:92)

                                at java.util.Optional.ifPresent(Optional.java:159)

                                at org.infinispan.configuration.parsing.ConfigurationBuilderHolder.validate(ConfigurationBuilderHolder.java:90)

                                at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:115)

                                at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:310)

                                at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:285)

                                at org.teiid.runtime.EmbeddedConfiguration.getCacheFactory(EmbeddedConfiguration.java:180)

                                at org.teiid.runtime.EmbeddedServer.start(EmbeddedServer.java:422)

                                at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.startServer(OrbitTeiidEmbeddedServer.java:288)

                                at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.init(OrbitTeiidEmbeddedServer.java:433)

                                at com.orbit.reporting.services.OrbitTeiidEmbeddedServer.getServer(OrbitTeiidEmbeddedServer.java:458)

                                at com.orbit.reporting.services.WebServiceMetadataHelper.deployWebServiceForMetadata(WebServiceMetadataHelper.java:481)

                                at com.orbit.reporting.services.WebServiceMetadataHelper.populateMetadata(WebServiceMetadataHelper.java:258)

                                at com.orbit.reporting.services.WebServiceMetadataService.populateRest(WebServiceMetadataService.java:571)

                                at com.orbit.reporting.services.WebServiceMetadataService.populateColumns(WebServiceMetadataService.java:492)

                                at com.orbit.reporting.web.controllers.WebserviceMetadataController.populateColumns(WebserviceMetadataController.java:40)

                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                at java.lang.reflect.Method.invoke(Method.java:498)

                                at ch.ralscha.extdirectspring.util.ExtDirectSpringUtil.invoke(ExtDirectSpringUtil.java:101)

                                at ch.ralscha.extdirectspring.controller.RouterController.processRemotingRequest(RouterController.java:659)

                                at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCall(RouterController.java:435)

                                at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCallOne(RouterController.java:369)

                                at ch.ralscha.extdirectspring.controller.RouterController.router(RouterController.java:303)

                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                at java.lang.reflect.Method.invoke(Method.java:498)

                                at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

                                at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

                                at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

                                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)

                                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)

                                at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

                                at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)

                                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)

                                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)

                                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

                                at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLEntryPoint.doFilter(SAMLEntryPoint.java:102)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)

                                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLLogoutProcessingFilter.processLogout(SAMLLogoutProcessingFilter.java:209)

                                at org.springframework.security.saml.SAMLLogoutProcessingFilter.doFilter(SAMLLogoutProcessingFilter.java:107)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:168)

                                at org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:110)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)

                                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

                                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:158)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at com.orbit.reporting.csrf.filter.CsrfTokenResponseHeaderBindingFilter.doFilterInternal(CsrfTokenResponseHeaderBindingFilter.java:42)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:124)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)

                                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)

                                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)

                                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)

                                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

                                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)

                                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

                                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

                                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

                                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

                                at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

                                at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

                                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

                                at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

                                at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

                                at java.lang.Thread.run(Thread.java:748)

                                2019-07-17 20:03:06.680 ERROR c.r.e.controller.RouterController - Error calling method: populateColumns

                                java.lang.RuntimeException: Error when populating metadata columns for the web service. Error=>org.infinispan.commons.CacheConfigurationException: ISPN000432: Missing configuration for default cache 'default' declared on container

                                at com.orbit.reporting.web.controllers.WebserviceMetadataController.populateColumns(WebserviceMetadataController.java:43)

                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                at java.lang.reflect.Method.invoke(Method.java:498)

                                at ch.ralscha.extdirectspring.util.ExtDirectSpringUtil.invoke(ExtDirectSpringUtil.java:101)

                                at ch.ralscha.extdirectspring.controller.RouterController.processRemotingRequest(RouterController.java:659)

                                at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCall(RouterController.java:435)

                                at ch.ralscha.extdirectspring.controller.RouterController.handleMethodCallOne(RouterController.java:369)

                                at ch.ralscha.extdirectspring.controller.RouterController.router(RouterController.java:303)

                                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                                at java.lang.reflect.Method.invoke(Method.java:498)

                                at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)

                                at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)

                                at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

                                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892)

                                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)

                                at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)

                                at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039)

                                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)

                                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)

                                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)

                                at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)

                                at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:87)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLEntryPoint.doFilter(SAMLEntryPoint.java:102)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:209)

                                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLLogoutProcessingFilter.processLogout(SAMLLogoutProcessingFilter.java:209)

                                at org.springframework.security.saml.SAMLLogoutProcessingFilter.doFilter(SAMLLogoutProcessingFilter.java:107)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.SAMLLogoutFilter.processLogout(SAMLLogoutFilter.java:168)

                                at org.springframework.security.saml.SAMLLogoutFilter.doFilter(SAMLLogoutFilter.java:110)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.saml.metadata.MetadataDisplayFilter.doFilter(MetadataDisplayFilter.java:84)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)

                                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)

                                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:158)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at com.orbit.reporting.security.AuthenticationTokenProcessingFilter.doFilter(AuthenticationTokenProcessingFilter.java:466)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at com.orbit.reporting.csrf.filter.CsrfTokenResponseHeaderBindingFilter.doFilterInternal(CsrfTokenResponseHeaderBindingFilter.java:42)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:124)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)

                                at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)

                                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)

                                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)

                                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)

                                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109)

                                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)

                                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)

                                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)

                                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

                                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)

                                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)

                                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)

                                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)

                                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)

                                at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)

                                at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

                                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)

                                at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)

                                at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

                                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

                                at java.lang.Thread.run(Thread.java:748)

                                • 13. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                                  klmurty

                                  I see the above error when I delete all infinispan related dependencies.

                                  • 14. Re: teiid - EmbeddedServer - Cache issue after Spring boot migration
                                    rareddy

                                    When dependencies are not found you will see ClassNotFound exceptions. So, here problem seems to be different. From what I can tell it is not finding "infinispan-config.xml" which is in the teiid-runtime.jar or not able to load it. If you can walk through debugger you can find which is the issue.

                                     

                                    If it is the configuration which I do not think as you mentioned it worked before. Then it could be the JAR, and I tested jar from Maven Repository: org.teiid » teiid-runtime » 11.2.1  that has the above configuration. The it must be something else causing this from Spring Boot 2 IMO.

                                    1 2 Previous Next