java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via symantec.com by Unknown author, 2 years ago
JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
via sohu.com by Unknown author, 1 year ago
JZ006: 捉拿到 IO 例外:java.net.ConnectException: Connection refused: connect
via symantec.com by Unknown author, 1 year ago
via serverfault.com by Unknown author, 1 year ago
JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
via Oracle Community by 3004, 1 year ago
JZ0C0: Connection is already closed.
via Google Groups by C. K. Lim, 1 year ago
JZ0C0: Connection is already closed.
java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:557)
at com.sybase.jdbc2.jdbc.ErrorMessage.raiseErrorCheckDead(ErrorMessage.java:861)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3967)
at com.sybase.jdbc2.tds.Tds.handleIOE(Tds.java:3912)
at com.sybase.jdbc2.tds.Tds.login(Tds.java:440)
at com.sybase.jdbc2.jdbc.SybConnection.tryLogin(SybConnection.java:254)
at com.sybase.jdbc2.jdbc.SybConnection.regularConnect(SybConnection.java:230)
at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:200)
at com.sybase.jdbc2.jdbc.SybConnection.(SybConnection.java:134)
at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver.java:179)
at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:294)
at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:96)
at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:285)
at com.sygate.scm.server.db.util.DatabaseUtilities.getDefaultDatabaseConnection(DatabaseUtilities.java:276)
at com.sygate.scm.server.metadata.MetadataManager.getConnectionNoCheckRequireTransactionId(MetadataManager.java:903)
at com.sygate.scm.server.metadata.MetadataManager.getConnection(MetadataManager.java:876)
at com.sygate.scm.server.metadata.MetadataManager.getConnection(MetadataManager.java:911)
at com.sygate.scm.server.metadata.MetadataManager.getStateMetadata(MetadataManager.java:923)
at com.sygate.scm.server.metadata.MetadataManager.getStateMetadata(MetadataManager.java:215)
at com.sygate.scm.server.configmanager.ConfigManager.getStateObject(ConfigManager.java:1030)
at com.sygate.scm.server.configmanager.ConfigManager.getSemServerStateObject(ConfigManager.java:3098)
at com.sygate.scm.server.servlet.StartupServlet.destroy(StartupServlet.java:353)
at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1064)
at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1289)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:996)
at org.apache.catalina.startup.ContextConfig.stop(ContextConfig.java:659)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:186)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3757)
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:996)
at org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:428)
at org.apache.catalina.core.StandardHost.remove(StandardHost.java:811)
at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:848)
at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:828)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:337)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1181)
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1193)
at org.apache.catalina.core.StandardService.stop(StandardService.java:507)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2248)
at org.apache.catalina.startup.Catalina.start(Catalina.java:515)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:371)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.