Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,

    Check if your MariaDB is running and available.

Solutions on the web

via GitHub by kevinfealey
, 1 year ago
Connection is broken: "java.net.ConnectException: Connection refused (Connection refused): localhost" [90067-176]
via Stack Overflow by Aditya G.
, 1 year ago
Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-174]
via Stack Overflow by Zipfelchen
, 5 months ago
Verbindung ist unterbrochen: "java.net.ConnectException: Connection refused: connect: localhost" Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-196]
via Stack Overflow by principal-ideal-domain
, 1 month ago
Connection is broken: "java.net.SocketTimeoutException: connect timed out: 192.168.178.21:9092" [90067-196]
via Google Groups by aditya, 2 years ago
Connection is broken: "java.net.ConnectException: Connection refused: connect: localhost" [90067-174]
via Google Groups by Unknown author, 8 months ago
Connection is broken: "java.io.EOFException: localhost:16000" [90067-176]
java.net.ConnectException: Connection refused (Connection refused)	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)	at java.net.Socket.connect(Socket.java:589)	at org.h2.util.NetUtils.createSocket(NetUtils.java:123)	at org.h2.util.NetUtils.createSocket(NetUtils.java:103)	at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:100)	at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:430)	at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:311)	at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:107)	at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:91)	at org.h2.Driver.connect(Driver.java:74)	at java.sql.DriverManager.getConnection(DriverManager.java:664)	at java.sql.DriverManager.getConnection(DriverManager.java:208)	at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:78)	at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)	at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1148)	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)	at org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl.getConnection(ConnectionFactoryImpl.java:483)	at org.datanucleus.store.rdbms.RDBMSStoreManager.(RDBMSStoreManager.java:297)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:606)	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:301)	at org.datanucleus.NucleusContextHelper.createStoreManagerForProperties(NucleusContextHelper.java:190)	at org.datanucleus.PersistenceNucleusContextImpl.initialise(PersistenceNucleusContextImpl.java:422)	at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:842)	at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:333)	at org.datanucleus.api.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:212)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at javax.jdo.JDOHelper$16.run(JDOHelper.java:1970)	at java.security.AccessController.doPrivileged(Native Method)	at javax.jdo.JDOHelper.invoke(JDOHelper.java:1965)	at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1171)	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:849)	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:1104)	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:924)	at org.owasp.dependencytrack.persistence.LocalPersistenceManagerFactory.contextInitialized(LocalPersistenceManagerFactory.java:52)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4720)	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154)	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1701)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)