Question

5
Replies
314
Views
Close popover
Rakesh Burbure (RakeshBurbure)
Crochet Technologies
Sr. Pega Developer
Crochet Technologies
IN
RakeshBurbure Member since 2017 21 posts
Crochet Technologies
Posted: November 11, 2020
Last activity: 1 week 2 days ago

Failed to start Kafka on 1 attempt, kafka log ERROR StatusLogger Unable to access log4j2.xml

I have Pega 8.5.1 Personal Edition and it was working properly.

Recently I imported PegaCRM 8.5 to it and when I restarted the system, the personal edition stopped working. Whenever I try to start it, I get below error message.

  dsm.kafka.Kafka) ERROR   - Failed to start Kafka on 1 attempt, kafka log ERROR StatusLogger Unable to access file:/C:/Pega%208.5.1/PRPCPersonalEdition/tomcat/kafka-1.1.0.4/bin/file:C:/Pega%208.5.1/PRPCPersonalEdition/tomcat/kafka-1.1.0.4/config/log4j2.xml java.io.FileNotFoundException: C:\Pega 8.5.1\PRPCPersonalEdition\tomcat\kafka-1.1.0.4\bin\file:C:\Pega 8.5.1\PRPCPersonalEdition\tomcat\kafka-1.1.0.4\config\log4j2.xml (The filename, directory name, or volume label syntax is incorrect)   at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195)       at java.io.FileInputStream.<init>(FileInputStream.java:138)     at java.io.FileInputStream.<init>(FileInputStream.java:93)      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)       at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)       at java.net.URL.openStream(URL.java:1045)       at org.apache.logging.log4j.core.config.ConfigurationSource.fromUri(ConfigurationSource.java:247)       at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:404)    at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:346)    at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:260)    at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:615)      at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:636)      at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:231)         at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)      at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)       at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)  at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:121)        at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)

 

I have tried changing the node type to universal but it didn't work for me.

Pega Platform 8.5.1 Case Management Technology Services Senior System Architect