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 699808, 1 year ago
java.net.ConnectException: Connection refused: connect	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)	at java.net.Socket.connect(Socket.java:519)	at java.net.Socket.connect(Socket.java:469)	at java.net.Socket.(Socket.java:366)	at java.net.Socket.(Socket.java:179)	at com.sun.jndi.ldap.Connection.createSocket(Connection.java:346)	at com.sun.jndi.ldap.Connection.(Connection.java:181)	at com.sun.jndi.ldap.LdapClient.(LdapClient.java:118)	at com.sun.jndi.ldap.LdapClientFactory.createPooledConnection(LdapClientFactory.java:44)	at com.sun.jndi.ldap.pool.Connections.(Connections.java:97)	at com.sun.jndi.ldap.pool.Pool.getPooledConnection(Pool.java:114)	at com.sun.jndi.ldap.LdapPoolManager.getLdapClient(LdapPoolManager.java:310)	at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1572)	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2596)	at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:283)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)	at javax.naming.InitialContext.init(InitialContext.java:223)	at javax.naming.InitialContext.(InitialContext.java:197)	at javax.naming.directory.InitialDirContext.(InitialDirContext.java:82)	at com.bea.security.service.css.CssSecurityProviderWrapper.findUserByAttribute(CssSecurityProviderWrapper.java:2646)	at com.bea.security.service.css.CssSecurityProviderWrapper.findUserByUuid(CssSecurityProviderWrapper.java:2854)	at com.plumtree.security.client.impl.entity.UserManagerImpl.findUserByUuid(UserManagerImpl.java:73)	at com.plumtree.security.entity.UserManagerWrapper.findUserByUuid(UserManagerWrapper.java:48)	at com.bea.notification.security.SecurityManager.getUser(SecurityManager.java:241)	at com.bea.notification.channel.Mail.getEmailAddresses(Mail.java:508)	at com.bea.notification.channel.Mail.send(Mail.java:249)	at com.bea.notification.queue.SendableQueue$SendableProcessor.run(SendableQueue.java:171)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at java.lang.Thread.run(Thread.java:595)