java.io.FileNotFoundException: /usr/bin/../config/log4j.properties (No such file or directory)

Google Groups | Mike Sparr | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Apt package installer places configs in etc but code expects in /usr/bin

    Google Groups | 8 months ago | Mike Sparr
    java.io.FileNotFoundException: /usr/bin/../config/log4j.properties (No such file or directory)
  2. 0

    GitHub comment 214#166159547

    GitHub | 1 year ago | bmichalski
    java.io.FileNotFoundException: /var/lib/qwazr/log4j.properties (No such file or directory)
  3. 0

    kafka-monitor service stuck in pending state

    GitHub | 3 months ago | Analect
    java.io.FileNotFoundException: /opt/kafka-monitor/bin/../config/log4j.properties (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] [Updated] (AMBARI-15315) kafka commands throw an error after upgrading to HDP 2.4 from HDP 2.3

    ambari-dev | 1 year ago | Dmitry Lysnichenko (JIRA)
    java.io.FileNotFoundException: /usr/hdp/current/kafka-broker/bin/../config/tools-log4j.properties (No such file or directory)
  6. 0

    [jira] [Updated] (AMBARI-15315) kafka commands throw an error after upgrading to HDP 2.4 from HDP 2.3

    ambari-dev | 1 year ago | Dmitry Lysnichenko (JIRA)
    java.io.FileNotFoundException: /usr/hdp/current/kafka-broker/bin/../config/tools-log4j.properties (No such file or directory)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /usr/bin/../config/log4j.properties (No such file or directory)

    at java.io.FileInputStream.open0()
  2. Java RT
    FileURLConnection.getInputStream
    1. java.io.FileInputStream.open0(Native Method)
    2. java.io.FileInputStream.open(FileInputStream.java:195)
    3. java.io.FileInputStream.<init>(FileInputStream.java:138)
    4. java.io.FileInputStream.<init>(FileInputStream.java:93)
    5. sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
    6. sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
    6 frames
  3. Apache Log4j
    LogManager.<clinit>
    1. org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:557)
    2. org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
    3. org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
    3 frames
  4. SLF4J LOG4J-12 Binding
    StaticLoggerBinder.<clinit>
    1. org.slf4j.impl.Log4jLoggerFactory.<init>(Log4jLoggerFactory.java:66)
    2. org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:72)
    3. org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:45)
    3 frames
  5. SLF4J API Module
    LoggerFactory.getLogger
    1. org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
    2. org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
    3. org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412)
    4. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
    5. org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
    5 frames