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
Unable to connect: (-5981) Connection refused by peer.
via hivmr.com by Unknown author, 1 year ago
Unable to connect: (-5981) Connection refused by peer.
via Oracle Community by 807573, 1 year ago
AQIC5wM2LY4SfcwNDlAgbD6dBHFUkJKpbPWX5t6UNp1Ki7I=@AAJTSQACMDI=# Illegal attempt to use a restricted token.^M
via Oracle Community by 807812, 1 year ago
Illegal attempt to use a restricted token.
com.iplanet.sso.SSOException: Unable to connect: (-5981) Connection refused by peer.	at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:177)	at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:305)	at com.iplanet.am.sdk.remote.DirectoryManagerImpl$1.run(DirectoryManagerImpl.java:1656)	at com.sun.identity.session.util.RestrictedTokenContext.doUsing(RestrictedTokenContext.java:86)	at com.iplanet.am.sdk.remote.DirectoryManagerImpl.getSSOToken(DirectoryManagerImpl.java:1653)	at com.iplanet.am.sdk.remote.DirectoryManagerImpl.search2_idrepo(DirectoryManagerImpl.java:1352)	at com.iplanet.am.sdk.remote.DirectoryManagerIF_Tie.invoke_search2_idrepo(DirectoryManagerIF_Tie.java:2562)	at com.iplanet.am.sdk.remote.DirectoryManagerIF_Tie.processingHook(DirectoryManagerIF_Tie.java:4402)	at com.sun.xml.rpc.server.StreamingHandler.handle(StreamingHandler.java:321)	at com.sun.xml.rpc.server.http.ea.JAXRPCServletDelegate.doPost(JAXRPCServletDelegate.java:223)	at com.sun.xml.rpc.server.http.JAXRPCServlet.doPost(JAXRPCServlet.java:104)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)	at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)	at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)	at com.iplanet.ias.web.WebContainer.service(WebContainer.java:579)