java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: '/etc/puppetlabs/puppetserver/bootstrap.cfg' at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663$fn__14664.invoke(bootstrap.clj:131) at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663.invoke(bootstrap.clj:127) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686$fn__14687.invoke(bootstrap.clj:150) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686.invoke(bootstrap.clj:134) at puppetlabs.trapperkeeper.boots trap$eval14704$get_annotated_bootstrap_entries__14709$fn__ 14710$iter__14711__14717$fn__14718.invoke(bootstrap.clj:160)

Google Groups | Jim Jim | 5 months ago
  1. 0

    puppetserver unable to start after yum update

    Google Groups | 5 months ago | Jim Jim
    java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: '/etc/puppetlabs/puppetserver/bootstrap.cfg' at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663$fn__14664.invoke(bootstrap.clj:131) at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663.invoke(bootstrap.clj:127) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686$fn__14687.invoke(bootstrap.clj:150) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686.invoke(bootstrap.clj:134) at puppetlabs.trapperkeeper.boots trap$eval14704$get_annotated_bootstrap_entries__14709$fn__ 14710$iter__14711__14717$fn__14718.invoke(bootstrap.clj:160)
  2. 0
    I was missing a partitioning column because I did not specify the "basePath" option on read
  3. 0

    User reports that after upgrading to TK 1.4.0, they cannot load the bootstrap.cfg file from inside their projects jar Stack trace: {noformat} Caused by: java.io.FileNotFoundException: /var/app/current/revcaster-shopper.jar!/bootstrap.cfg (No such file or directory) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at clojure.java.io$fn__9524.invokeStatic(io.clj:238) at clojure.java.io$fn__9524.invoke(io.clj:235) at clojure.java.io$fn__9433$G__9426__9440.invoke(io.clj:69) at clojure.java.io$fn__9528.invokeStatic(io.clj:248) at clojure.java.io$fn__9528.invoke(io.clj:248) at clojure.java.io$fn__9433$G__9426__9440.invoke(io.clj:69) at clojure.java.io$fn__9494.invokeStatic(io.clj:165) at clojure.java.io$fn__9494.invoke(io.clj:165) at clojure.java.io$fn__9446$G__9422__9453.invoke(io.clj:69) at clojure.java.io$reader.invokeStatic(io.clj:102) at clojure.java.io$reader.doInvoke(io.clj:86) at clojure.lang.RestFn.invoke(RestFn.java:410) at puppetlabs.trapperkeeper.bootstrap$eval14711$read_config__14716$fn__14717.invoke(bootstrap.clj:144) ... 31 more Exception in thread "main" java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: 'file:/var/app/current/revcaster-shopper.jar!/bootstrap.cfg' at puppetlabs.trapperkeeper.bootstrap$eval14688$wrap_uri_error__14693$fn__14694.invoke(bootstrap.clj:131) at puppetlabs.trapperkeeper.bootstrap$eval14688$wrap_uri_error__14693.invoke(bootstrap.clj:127) at puppetlabs.trapperkeeper.bootstrap$eval14711$read_config__14716$fn__14717.invoke(bootstrap.clj:153) at puppetlabs.trapperkeeper.bootstrap$eval14711$read_config__14716.invoke(bootstrap.clj:134) at puppetlabs.trapperkeeper.bootstrap$eval14734$get_annotated_bootstrap_entries__14739$fn__14740$iter__14741__14747$fn__14748.invoke(bootstrap.clj:160) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:521) at clojure.core$seq__4357.invokeStatic(core.clj:137) at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:24) at clojure.core.protocols$fn__6738.invokeStatic(protocols.clj:75) at clojure.core.protocols$fn__6738.invoke(protocols.clj:75) at clojure.core.protocols$fn__6684$G__6679__6697.invoke(protocols.clj:13) at clojure.core$reduce.invokeStatic(core.clj:6545) at clojure.core$reduce.invoke(core.clj:6527) at puppetlabs.trapperkeeper.bootstrap$eval14974$remove_duplicate_entries__14979$fn__14980.invoke(bootstrap.clj:284) at puppetlabs.trapperkeeper.bootstrap$eval14974$remove_duplicate_entries__14979.invoke(bootstrap.clj:263) at puppetlabs.trapperkeeper.bootstrap$eval15000$parse_bootstrap_configs_BANG___15007$fn__15008.invoke(bootstrap.clj:304) at puppetlabs.trapperkeeper.bootstrap$eval15000$parse_bootstrap_configs_BANG___15007.invoke(bootstrap.clj:293) at puppetlabs.trapperkeeper.core$eval15288$boot_with_cli_data__15295$fn__15296.invoke(core.clj:129) at puppetlabs.trapperkeeper.core$eval15288$boot_with_cli_data__15295.invoke(core.clj:95) at puppetlabs.trapperkeeper.core$eval15317$run__15322$fn__15323.invoke(core.clj:151) at puppetlabs.trapperkeeper.core$eval15317$run__15322.invoke(core.clj:145) at puppetlabs.trapperkeeper.core$main.invokeStatic(core.clj:173) at puppetlabs.trapperkeeper.core$main.doInvoke(core.clj:159) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.core$apply.invoke(core.clj:641) at puppetlabs.trapperkeeper.main$_main.doInvoke(main.clj:7) at clojure.lang.RestFn.applyTo(RestFn.java:137) at puppetlabs.trapperkeeper.main.main(Unknown Source) {noformat} My hunch is that we're mangling the resource name returned by {{io/resource}} here: https://github.com/puppetlabs/trapperkeeper/blob/master/src/puppetlabs/trapperkeeper/bootstrap.clj#L104 I tested loading a bootstrap from the command like arg using the format shown in the stack trace ({{'file:/var/app/current/revcaster-shopper.jar!/bootstrap.cfg'}} and {{'/var/app/current/revcaster-shopper.jar!/bootstrap.cfg'}}), and confirmed that they didn't work back then either. If it's being specified on the command line, it must be of the form "jar:file:/blah.jar!/bootstrap.cfg" in 1.3.x and 1.4.0

    JIRA | 8 months ago | Joe Pinsonault
    java.lang.IllegalArgumentException: Specified bootstrap config file does not exist: 'file:/var/app/current/revcaster-shopper.jar!/bootstrap.cfg'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Probably you try to create an actor using actorSystem.actorOf(Props(classOf[AnyActor], args...)) where args does not match AnyActor constructor parameters.
  6. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.

    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.lang.IllegalArgumentException

      Specified bootstrap config file does not exist: '/etc/puppetlabs/puppetserver/bootstrap.cfg' at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663$fn__14664.invoke(bootstrap.clj:131) at puppetlabs.trapperkeeper.boots trap$eval14658$wrap_uri_error__14663.invoke(bootstrap.clj:127) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686$fn__14687.invoke(bootstrap.clj:150) at puppetlabs.trapperkeeper.bootstrap$eval14681$read_config__ 14686.invoke(bootstrap.clj:134) at puppetlabs.trapperkeeper.boots trap$eval14704$get_annotated_bootstrap_entries__14709$fn__ 14710$iter__14711__14717$fn__14718.invoke(bootstrap.clj:160)

      at clojure.lang.LazySeq.sval()
    2. Clojure
      protocols$fn__6506.invoke
      1. clojure.lang.LazySeq.sval(LazySeq.java:40)
      2. clojure.lang.LazySeq.seq(LazySeq.java:49)
      3. clojure.lang.RT.seq(RT.java:507)
      4. clojure.core$seq__4128.invoke(core.clj:137)
      5. clojure.core.protocols$seq_reduce.invoke(protocols.clj:30)
      6. clojure.core.protocols$fn__6506.invoke(protocols.clj:101)
      6 frames