org.sonar.api.utils.SonarException: Unable to start database

Stack Overflow | user1670818 | 4 years ago
  1. 0

    unable to access sonar through web

    Stack Overflow | 4 years ago | user1670818
    org.sonar.api.utils.SonarException: Unable to start database
  2. 0

    Pentaho Server-CE 5.0.1 problem after installation

    pentaho.com | 7 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [/Users/enfix/pentaho/biserver-ce2/pentaho-solutions/system/GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "9092" (port may be in use), cause: "java.net.BindException: Address already in use" [90061-131]
  3. 0

    Error "HTTP 404" on localhost:8080

    pentaho.com | 5 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.h2.tools.Server' defined in file [D:\biserver-ce\pentaho-solutions\system\GettingStartedDB-spring.xml]: Invocation of init method failed; nested exception is org.h2.jdbc.JdbcSQLException: Exception opening port "8081" (port may be in use), cause: "java.net.BindException: Address already in use: JVM_Bind" [90061-131]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    pickPort is flaky

    GitHub | 3 years ago | swankjesse
    java.net.BindException: Address already in use
  6. 0

    org.jsr107.tck.support.Server does not work across all OS

    GitHub | 3 years ago | jfialli
    java.net.BindException: Address already in use

  1. iridic 1 times, last 2 weeks ago
  2. linxiaolong 1 times, last 4 months ago
  3. jedcua 1 times, last 4 months ago
  4. Justin 2 times, last 4 months ago
26 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.net.BindException

    Address already in use

    at java.net.PlainSocketImpl.socketBind()
  2. Java RT
    ServerSocket.<init>
    1. java.net.PlainSocketImpl.socketBind(Native Method)[na:1.7.0_07]
    2. java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)[na:1.7.0_07]
    3. java.net.ServerSocket.bind(ServerSocket.java:376)[na:1.7.0_07]
    4. java.net.ServerSocket.<init>(ServerSocket.java:237)[na:1.7.0_07]
    5. java.net.ServerSocket.<init>(ServerSocket.java:128)[na:1.7.0_07]
    5 frames
  3. H2 Database Engine
    Server.start
    1. org.h2.util.NetUtils.createServerSocketTry(NetUtils.java:186)[h2-1.3.167.jar:1.3.167]
    2. org.h2.util.NetUtils.createServerSocket(NetUtils.java:156)[h2-1.3.167.jar:1.3.167]
    3. org.h2.server.TcpServer.start(TcpServer.java:222)[h2-1.3.167.jar:1.3.167]
    4. org.h2.tools.Server.start(Server.java:455)[h2-1.3.167.jar:1.3.167]
    4 frames
  4. org.sonar.server
    EmbeddedDatabaseFactory.start
    1. org.sonar.server.database.EmbeddedDatabase.start(EmbeddedDatabase.java:71)[classes/:na]
    2. org.sonar.server.database.EmbeddedDatabaseFactory.start(EmbeddedDatabaseFactory.java:41)[classes/:na]
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_07]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_07]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_07]
    4. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_07]
    4 frames
  6. PicoContainer Core
    DefaultPicoContainer.start
    1. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)[picocontainer-2.14.1.jar:na]
    2. org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)[picocontainer-2.14.1.jar:na]
    3. org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)[picocontainer-2.14.1.jar:na]
    4. org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)[picocontainer-2.14.1.jar:na]
    5. org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)[picocontainer-2.14.1.jar:na]
    6. org.picocontainer.behaviors.Stored.start(Stored.java:110)[picocontainer-2.14.1.jar:na]
    7. org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1009)[picocontainer-2.14.1.jar:na]
    8. org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1002)[picocontainer-2.14.1.jar:na]
    9. org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:760)[picocontainer-2.14.1.jar:na]
    9 frames
  7. SonarQube :: Plugin API
    ComponentContainer.startComponents
    1. org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:70)[sonar-plugin-api-3.2.jar:na]
    1 frame
  8. org.sonar.server
    PlatformLifecycleListener.contextInitialized
    1. org.sonar.server.platform.Platform.startDatabaseConnectors(Platform.java:166)[classes/:na]
    2. org.sonar.server.platform.Platform.init(Platform.java:114)[classes/:na]
    3. org.sonar.server.platform.PlatformLifecycleListener.contextInitialized(PlatformLifecycleListener.java:33)[classes/:na]
    3 frames
  9. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)[jetty-6.1.25.jar:6.1.25]
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)[jetty-6.1.25.jar:6.1.25]
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)[jetty-6.1.25.jar:6.1.25]
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)[jetty-6.1.25.jar:6.1.25]
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)[jetty-6.1.25.jar:6.1.25]
    5 frames
  10. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.25.jar:6.1.25]
    1 frame
  11. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)[jetty-6.1.25.jar:6.1.25]
    2. org.mortbay.jetty.Server.doStart(Server.java:224)[jetty-6.1.25.jar:6.1.25]
    2 frames
  12. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)[jetty-util-6.1.25.jar:6.1.25]
    1 frame
  13. org.sonar.application
    StartServer.main
    1. org.sonar.application.JettyEmbedder.start(JettyEmbedder.java:72)[sonar-application-3.2.jar:na]
    2. org.sonar.application.StartServer.main(StartServer.java:48)[sonar-application-3.2.jar:na]
    2 frames
  14. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_07]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_07]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_07]
    4. java.lang.reflect.Method.invoke(Method.java:601)[na:1.7.0_07]
    4 frames
  15. Java Service Wrapper
    WrapperSimpleApp.run
    1. org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)[wrapper-3.2.3.jar:3.2.3]
    1 frame
  16. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)[na:1.7.0_07]
    1 frame