java.net.UnknownHostException: 0f70808f132b: 0f70808f132b at at java.net.InetAddress.getLocalHost(InetAddress.java:1426) at at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:32) at at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:41) at at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:48) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at play.api.Logger$$anonfun$configure$8.apply(Logger.scala:251) at at play.api.Logger$$anonfun$configure$8.apply(Logger.scala:250) at at scala.Option.map(Option.scala:133) at at play.api.Logger$.configure(Logger.scala:250) at at play.api.Application.<init>(Application.scala:106) at at play.core.StaticApplication.<init>(ApplicationProvider.scala:49) at at play.core.server.NettyServer$.createServer(NettyServer.scala:133) at at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:162) at at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:161) at at scala.Option.map(Option.scala:133) at at play.core.server.NettyServer$.main(NettyServer.scala:161) at at play.core.server.NettyServer.main(NettyServer.scala) 13:06:23,852 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel] 13:06:23,852 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] 13:06:23,853 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 13:06:23,882 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 13:06:23,891 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/app/target/../logs/application.log] 13:06:23,893 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 13:06:23,893 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 13:06:23,895 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 13:06:23,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [play] to INFO 13:06:23,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [application] to INFO 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebean.config.PropertyMapLoader] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.core.XmlConfigLoader] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.lib.BackgroundThread] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR 13:06:23,897 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 13:06:23,897 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5b7b0998 - Registering current configuration as safe fallback point [error] c.j.b.h.AbstractConnectionHook - Failed to obtain initial connection Sleeping for 0ms and trying again. Attempts left: 0. Exception: null Oops, cannot start the server. /app/.profile.d/config_vars: line 2: -Xss512k: command not found /app/.profile.d/config_vars: line 3: -Xss512k: command not found Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true Configuration error: Configuration error [Cannot connect to database [default]]

GitHub | edofic | 3 years ago
  1. 0

    GitHub comment 46#19873820

    GitHub | 3 years ago | edofic
    java.net.UnknownHostException: 0f70808f132b: 0f70808f132b at at java.net.InetAddress.getLocalHost(InetAddress.java:1426) at at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:32) at at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:41) at at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:48) at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:147) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:133) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:96) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:55) at at play.api.Logger$$anonfun$configure$8.apply(Logger.scala:251) at at play.api.Logger$$anonfun$configure$8.apply(Logger.scala:250) at at scala.Option.map(Option.scala:133) at at play.api.Logger$.configure(Logger.scala:250) at at play.api.Application.<init>(Application.scala:106) at at play.core.StaticApplication.<init>(ApplicationProvider.scala:49) at at play.core.server.NettyServer$.createServer(NettyServer.scala:133) at at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:162) at at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:161) at at scala.Option.map(Option.scala:133) at at play.core.server.NettyServer$.main(NettyServer.scala:161) at at play.core.server.NettyServer.main(NettyServer.scala) 13:06:23,852 |-INFO in ch.qos.logback.core.joran.action.ConversionRuleAction - registering conversion word coloredLevel with class [play.api.Logger$ColoredLevel] 13:06:23,852 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] 13:06:23,853 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] 13:06:23,882 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 13:06:23,891 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/app/target/../logs/application.log] 13:06:23,893 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] 13:06:23,893 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] 13:06:23,895 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property 13:06:23,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [play] to INFO 13:06:23,896 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [application] to INFO 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebean.config.PropertyMapLoader] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.core.XmlConfigLoader] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.avaje.ebeaninternal.server.lib.BackgroundThread] to OFF 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to ERROR 13:06:23,897 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] 13:06:23,897 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] 13:06:23,897 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@5b7b0998 - Registering current configuration as safe fallback point [error] c.j.b.h.AbstractConnectionHook - Failed to obtain initial connection Sleeping for 0ms and trying again. Attempts left: 0. Exception: null Oops, cannot start the server. /app/.profile.d/config_vars: line 2: -Xss512k: command not found /app/.profile.d/config_vars: line 3: -Xss512k: command not found Picked up JAVA_TOOL_OPTIONS: -Djava.rmi.server.useCodebaseOnly=true Configuration error: Configuration error [Cannot connect to database [default]]
  2. 0

    Hive giving error upon initialization

    Stack Overflow | 10 months ago | nishi jain
    java.sql.SQLException: No suitable driver found for jdbc:derby://localhost:1527/metastore_db;create=true
  3. 0

    GitHub comment 258#226719448

    GitHub | 6 months ago | giaosudau
    java.sql.SQLException: No suitable driver found for jdbc:snappydata:;user=HIVE_METASTORE;disable-streaming=true;default-persistent=true
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HIVE not working, No suitable driver found for jdbc:derby://localhost:1527

    Stack Overflow | 5 months ago | Nikhil Verma
    java.sql.SQLException: No suitable driver found for jdbc:derby://localhost:1527/metastore_db;create=true
  6. 0

    How can I use YCSB to evaluate Oracle's performance?

    GitHub | 4 years ago | KaimingWan
    com.yahoo.ycsb.DBException: java.sql.SQLException: No suitable driver found for

  1. jshakil 1 times, last 1 month ago
  2. linxiaolong 7101 times, last 4 weeks ago
  3. ruifung 1 times, last 3 months ago
  4. linxiaolong 838 times, last 3 months ago
  5. Juraji 1 times, last 9 months ago
49 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.sql.SQLException

    No suitable driver found for

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(DriverManager.java:640)
    2. java.sql.DriverManager.getConnection(DriverManager.java:200)
    2 frames
  3. BoneCP :: Core Library
    BoneCPDataSource.getConnection
    1. com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256)
    2. com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305)
    3. com.jolbox.bonecp.BoneCPDataSource.maybeInit(BoneCPDataSource.java:150)
    4. com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.java:112)
    4 frames
  4. Play JDBC
    BoneCPPlugin$$anonfun$onStart$1.apply
    1. play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:242)
    2. play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:240)
    2 frames
  5. Scala
    List.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
    3. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
    4. scala.collection.immutable.List.foreach(List.scala:45)
    5. scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
    6. scala.collection.immutable.List.map(List.scala:45)
    6 frames
  6. Play JDBC
    BoneCPPlugin.onStart
    1. play.api.db.BoneCPPlugin.onStart(DB.scala:240)
    1 frame
  7. Play
    Play$$anonfun$start$1.apply
    1. play.api.Play$$anonfun$start$1.apply(Play.scala:60)
    2. play.api.Play$$anonfun$start$1.apply(Play.scala:60)
    2 frames
  8. Scala
    List.foreach
    1. scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
    2. scala.collection.immutable.List.foreach(List.scala:45)
    2 frames
  9. Play
    StaticApplication.<init>
    1. play.api.Play$.start(Play.scala:60)
    2. play.core.StaticApplication.<init>(ApplicationProvider.scala:51)
    2 frames
  10. Play Server
    NettyServer$$anonfun$main$5.apply
    1. play.core.server.NettyServer$.createServer(NettyServer.scala:133)
    2. play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:162)
    3. play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:161)
    3 frames
  11. Scala
    Option.map
    1. scala.Option.map(Option.scala:133)
    1 frame
  12. Play Server
    NettyServer.main
    1. play.core.server.NettyServer$.main(NettyServer.scala:161)
    2. play.core.server.NettyServer.main(NettyServer.scala)
    2 frames