java.io.FileNotFoundException: C:\STAF\bin\STAF.cfg (The system cannot find the path specified)

staf | *anonymous | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Install failed but could not reinstall

    staf | 1 decade ago | *anonymous
    java.io.FileNotFoundException: C:\STAF\bin\STAF.cfg (The system cannot find the path specified)
  2. 0

    Re: [m2] HIbernate/Spring/Myfaces dependency hell

    apache.org | 2 years ago
    java.io.FileNotFoundException: /files273067436 (Permission denied)
  3. 0

    Report Designer writes to files in its own installation. This means that it cannot operate in a multi-user environment. I should be able to install Report Designer as root, and then execute it as any user. This is the standard means of installing and running applications. Any files that need to be written (application settings, JNDI connections, etc.) are done so in the user's home directory ($HOME/.Report). If I try to run PRD as a normal user after having installed it as root, it gives errors in the console about not being able to write to files. Here's one example that appears after starting PRD: 14:24:47,577 ERROR [Logger] misc-org.pentaho.core.system.PentahoSystem: PentahoSystem.ERROR_0023 - Could not return object IVersionHelper of scope null 14:24:47,578 ERROR [Logger] Error: Pentaho Pentaho BI Platform 1.7.1.1112 14:24:47,579 ERROR [Logger] misc-org.pentaho.core.audit.AuditHelper: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) org.pentaho.core.audit.AuditException: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) at org.pentaho.core.audit.AuditFileEntry.auditAll(AuditFileEntry.java:106) at org.pentaho.core.audit.AuditEntry.auditAll(AuditEntry.java:61) at org.pentaho.core.audit.AuditEntry.auditJobDuration(AuditEntry.java:54) at org.pentaho.core.audit.AuditHelper.audit(AuditHelper.java:81) at org.pentaho.core.session.BaseSession.<init>(BaseSession.java:55) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:51) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:47) at org.pentaho.core.session.StandaloneSession.<init>(StandaloneSession.java:43) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:292) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:212) at org.pentaho.jfreereport.wizard.utility.PentahoUtility.startup(PentahoUtility.java:65) at org.pentaho.jfreereport.wizard.utility.PentahoUtility.startup(PentahoUtility.java:33) at org.pentaho.reportdesigner.crm.report.ReportDialog.preload(ReportDialog.java:472) at org.pentaho.reportdesigner.crm.report.ReportDialog.access$100(ReportDialog.java:229) at org.pentaho.reportdesigner.crm.report.ReportDialog$2$1.run(ReportDialog.java:347) Caused by: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:177) at java.io.FileWriter.<init>(FileWriter.java:90) at org.pentaho.core.audit.AuditFileEntry.auditAll(AuditFileEntry.java:72) ... 14 more 14:24:47,580 ERROR [Logger] Error end: To work around this, I am forced to run these commands as root: # touch report-designer/pentaho.log report-designer/resources/solutions/system/logs/audit/PentahoAuditLog.log # find report-designer/ -iname "*.log" -exec chmod 0666 {} + # find report-designer/ -iname "*.properties" -exec chmod 0666 {} + This means that the files are writable, but the problem is that they are writable by everyone. These files should really be in $HOME/.Report so that the application doesn't need to write to its own installation directory.

    Pentaho BI Platform Tracking | 8 years ago | Sridhar Dhanapalan
    org.pentaho.core.audit.AuditException: java.io.FileNotFoundException: resources/solutions/system/logs/audit/PentahoAuditLog.log (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    the sbt do not execute as the "subconfig.txt", if I run other application like activator on top of sbt.

    GitHub | 3 years ago | thinksource
    java.io.FileNotFoundException: C:\Users\propertymode Dev\.sbt\boot\update.log (T he system cannot find the path specified)
  6. 0

    sbt sbt-version fails to create update.log due to restricted rights in windows 7

    GitHub | 4 years ago | gtara
    java.io.FileNotFoundException: \\ServerName\Home\User\MyUserName\.sbt\boot\update.log (The system cannot find the path specified)

  1. bluebunnty 8 times, last 3 months ago
  2. nasimk 37 times, last 3 months ago
  3. Alexandru Popa 6 times, last 3 months ago
  4. pranavprakash 2 times, last 4 months ago
  5. rp 1 times, last 6 months ago
1 more registered users
11 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

    C:\STAF\bin\STAF.cfg (The system cannot find the path specified)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileWriter.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:201)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:153)
    4. java.io.FileWriter.<init>(FileWriter.java:94)
    4 frames