DEV Community

Jersen
Jersen

Posted on

Getting SolrException: Connection pool shut down

I am using a solr cluster for the integration with my app. Getting below exception while perf team running test. Could you please help me on this.
{"ts":"2024-04-24T12:03:59.000816Z","thread":"http-nio-8080-exec-2","level":"ERROR","loggerName":"c.s.MY.service.PartialMYQueryService","message":"Exception occurred while fetching transaction list.","exception":"com.sephora.MY.solr.exception.SolrException: Connection pool shut down; nested exception is java.lang.IllegalStateException: Connection pool shut down\n\tat com.sephora.MY.solr.services.SolrServices.getTransactionList(SolrServices.java:74)\n\tat com.sephora.MY.service.PartialMYQueryService.getTransactionList(PartialMYQueryService.java:65)\n\tat com.sephora.MY.query.MYQuery.getTransactionListV2(MYQuery.java:151)\n\tat com.sephora.MY.query.MYQueryMethodAccess.invoke(Unknown Source)\n\tat com.coxautodev.graphql.tools.MethodFieldResolverDataFetcher.get(MethodFieldResolver.kt:146)\n\tat graphql.execution.ExecutionStrategy.fetchField(ExecutionStrategy.java:258)\n\tat graphql.execution.ExecutionStrategy.resolveFieldWithInfo(ExecutionStrategy.java:199)\n\tat graphql.execution.AsyncExecutionStrategy.execute(AsyncExecutionStrategy.java:70)\n\tat graphql.execution.Execution.executeOperation(Execution.java:158)\n\tat graphql.execution.Execution.execute(Execution.java:100)\n\tat graphql.GraphQL.execute(GraphQL.java:554)\n\tat graphql.GraphQL.parseValidateAndExecute(GraphQL.java:496)\n\tat graphql.GraphQL.executeAsync(GraphQL.java:470)\n\tat graphql.GraphQL.execute(GraphQL.java:401)\n\tat graphql.servlet.GraphQLQueryInvoker.query(GraphQLQueryInvoker.java:92)\n\tat graphql.servlet.GraphQLQueryInvoker.query(GraphQLQueryInvoker.java:88)\n\tat graphql.servlet.GraphQLQueryInvoker.query(GraphQLQueryInvoker.java:39)\n\tat graphql.servlet.AbstractGraphQLHttpServlet.query(AbstractGraphQLHttpServlet.java:265)\n\tat graphql.servlet.AbstractGraphQLHttpServlet.lambda$new$2(AbstractGraphQLHttpServlet.java:183)\n\tat graphql.servlet.AbstractGraphQLHttpServlet.doRequest(AbstractGraphQLHttpServlet.java:236)\n\tat graphql.servlet.AbstractGraphQLHttpServlet.doRequestAsync(AbstractGraphQLHttpServlet.java:227)\n\tat graphql.servlet.AbstractGraphQLHttpServlet.doPost(AbstractGraphQLHttpServlet.java:257)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:665)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:750)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)\n","app":"MY-query-service-service","pid":"1","contextMap":{"correlationId":"4a3b3ff9-f83e-4d86-a71e-csc-agent-platform-service-85b4656855-chrlz","requestMethod":"POST","requestUri":"/MY-query-service/graphql","trace":"","spanId":"","spanExportable":""}}

Top comments (0)