java.net.UnknownHostException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 46#19873820
    via GitHub by edofic
    ,
  • Hive giving error upon initialization
    via Stack Overflow by nishi jain
    ,
  • GitHub comment 258#226719448
    via GitHub by giaosudau
    ,
  • SQLException: No suitable driver found
    via Stack Overflow by Eliezer
    ,
    • 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]] at play.api.Configuration$.play$api$Configuration$$configError(Configuration.scala:71) at play.api.Configuration.reportError(Configuration.scala:258) at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:249) at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:240) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:45) at scala.collection.TraversableLike$class.map(TraversableLike.scala:194) at scala.collection.immutable.List.map(List.scala:45) at play.api.db.BoneCPPlugin.onStart(DB.scala:240) at play.api.Play$$anonfun$start$1.apply(Play.scala:60) at play.api.Play$$anonfun$start$1.apply(Play.scala:60) at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) at scala.collection.immutable.List.foreach(List.scala:45) at play.api.Play$.start(Play.scala:60) at play.core.StaticApplication.<init>(ApplicationProvider.scala:51) at play.core.server.NettyServer$.createServer(NettyServer.scala:133) at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:162) at play.core.server.NettyServer$$anonfun$main$5.apply(NettyServer.scala:161) at scala.Option.map(Option.scala:133) at play.core.server.NettyServer$.main(NettyServer.scala:161) at play.core.server.NettyServer.main(NettyServer.scala) Caused by: java.sql.SQLException: No suitable driver found for at java.sql.DriverManager.getConnection(DriverManager.java:640) at java.sql.DriverManager.getConnection(DriverManager.java:200) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) at com.jolbox.bonecp.BoneCPDataSource.maybeInit(BoneCPDataSource.java:150) at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.java:112) at play.api.db.BoneCPPlugin$$anonfun$onStart$1.apply(DB.scala:242) ... 20 more

    Users with the same issue

    jf-ast
    1 times, last one,
    DoktorDoener666
    2 times, last one,
    odd
    1 times, last one,
    linxiaolong
    9421 times, last one,
    Victor_IT
    1 times, last one,
    56 more bugmates