javax.naming.CommunicationException: Connection aborted by peer: socket write error. Root exception is java.net.SocketException: Connection aborted by peer: socket write error

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

Solutions on the web

via Oracle Community by 807573, 1 year ago
Connection aborted by peer: socket write error. Root exception is java.net.SocketException: Connection aborted by peer: socket write error
via objectmix.com by Unknown author, 1 year ago
Socket closed. Root exception is java= ..net.SocketException: Socket closed
via oracle.com by Unknown author, 1 year ago
Socket closed. Root exception is java.net.SocketException: Socket closed
via Oracle Community by 3004, 1 year ago
Socket closed. Root exception is java.net.SocketException: Socket closed
javax.naming.CommunicationException: Connection aborted by peer: socket write error. Root exception is java.net.SocketException: Connection aborted by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:112)
at com.sun.jndi.ldap.Connection.writeRequest(Connection.java:264)
at com.sun.jndi.ldap.LdapClient.add(LdapClient.java:1014)
at com.sun.jndi.ldap.LdapCtx.c_bind(LdapCtx.java:330)
at com.sun.jndi.ldap.LdapCtx.c_rebind(LdapCtx.java:410)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_rebind(ComponentDirContext.java:300)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.rebind(PartialCompositeDirContext.java:225)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.rebind(PartialCompositeDirContext.java:214)
at javax.naming.directory.InitialDirContext.rebind(InitialDirContext.java:169)
at undefined.Test.main(Test.java:160)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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