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

Google Groups | Mike Sparr | 4 months ago
  1. 0

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

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

    GitHub comment 214#166159547

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

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

    ambari-dev | 9 months ago | Dmitry Lysnichenko (JIRA)
    java.io.FileNotFoundException: /usr/hdp/current/kafka-broker/bin/../config/tools-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 | 9 months 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] [Created] (AMBARI-15315) kafka commands throw an error after upgrading to HDP 2.4 from HDP 2.3

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

  1. treefolk 1 times, last 2 weeks ago
  2. davidvanlaatum 1 times, last 3 weeks ago
  3. Andreas Häber 1 times, last 4 weeks ago
  4. kjhdofjosvs 1 times, last 1 month ago
  5. MoYapro 1 times, last 2 months ago
7 more registered users
15 unregistered visitors
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