kafka configuration error ERROR KafkaDataQueueHandler.java – Unable to connect Kafka server

I was using this code daily but suddenly I’m getting this error and my local host started to work very slowly and not opening at all.

KafkaDataQueueHandler.java – Kafka Configuration is KafkaConfiguration(serverInfo=[KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperServer=10.10.1.14:2181, topic=null), KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperServer=10.10.1.20:2181, topic=meta_pricing), KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperServer=10.10.1.20:2181, topic=order_logging), KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperServer=10.10.1.20:2181, topic=tallydata), KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperServer=10.10.1.20:2181, topic=bq)]) 2022-05-26 17:21:14,648 801460 [pool-fixed-thread-1] [6A69DBB0C0DB7D93C9E9B7C7ED80B544] [-1] ERROR KafkaDataQueueHandler.java – Unable to connect Kafka server KafkaServerInfo(kafkaServerList=10.10.101.102:9092,10.10.101.102:9093,10.10.101.102:9094, zookeeperclier=10.10.1.14:2181,tecorg.zkI0ll.I) exception.ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000

 Exception occurs in B2c Navigation org.apache.jasper.JasperException: /newUI/index.jsp (line: [38], column: [25]) Attribute value [JspFileBundle.getSourcePathFromUser(request, user, null, "OUR_CLIENTS_SPEAK_JSP") ] is quoted with ["] which must be escaped when used within the value
2022-05-26 17:19:14,168 680980 [http-bio-0.0.0.0-8080-exec-6] [] [] ERROR B2cNavigation.java - Error occurred while processing request - 0:0:0:0:0:0:0:1 - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.61 Safari/537.36 and session Id is A44C9E3A3D49259EA1BDF0C2A8ED3053
org.apache.jasper.JasperException: /newUI/index.jsp (line: [38], column: [25]) Attribute value [JspFileBundle.getSourcePathFromUser(request, user, null, "OUR_CLIENTS_SPEAK_JSP") ] is quoted with ["] which must be escaped when used within the value
    at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:470) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:91) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:289) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:234) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:162) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:153) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseInclude(Parser.java:842) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseStandardAction(Parser.java:1109) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1445) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Parser.parse(Parser.java:138) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:237) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.ParserController.parse(ParserController.java:102) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:204) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:394) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) ~[jasper.jar:7.0.109]
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) ~[jasper.jar:7.0.109]
    at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:660) ~[jasper.jar:7.0.109]
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400) ~[jasper.jar:7.0.109]
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) ~[jasper.jar:7.0.109]
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) ~[jasper.jar:7.0.109]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.109]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:484) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) [catalina.jar:7.0.109]
    at com.eos.b2c.ui.B2cNavigation.doGet(B2cNavigation.java:998) ~[flightraja.jar:na]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) [servlet-api.jar:na]
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) [servlet-api.jar:na]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.109]
    at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:484) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337) [catalina.jar:7.0.109]
    at com.eos.accounts.UserManagerFilter.doFilter(UserManagerFilter.java:561) [flightraja.jar:na]
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.109]
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.109]
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) [catalina.jar:7.0.109]
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110) [catalina.jar:7.0.109]
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492) [catalina.jar:7.0.109]
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:165) [catalina.jar:7.0.109]
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) [catalina.jar:7.0.109]
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.109]
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:451) [catalina.jar:7.0.109]
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1201) [tomcat-coyote.jar:7.0.109]
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:654) [tomcat-coyote.jar:7.0.109]
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319) [tomcat-coyote.jar:7.0.109]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_331]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_331]
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.109]

Leave a Comment