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. ,
    Expert tip

    Check if your firewall is not blocking your connection. If it's not, you might need to explicitly set advertised.host.name to advertised.host.name = yourIpAddress, this forces the hosts returned to be the resolvable IP address of your VM.

Solutions on the web

via Oracle Community by 807581, 1 year ago
vmcid: SUN minor code: 201 completed: No
via Oracle Community by 843833, 2 years ago
vmcid: SUN minor code: 201 completed: No
via Oracle Community by user55555, 1 year ago
vmcid: SUN minor code: 201 completed: No
via Oracle Community by 843830, 2 years ago
via Coderanch by murali kankanala, 1 year ago
vmcid: SUN minor code: 201 completed: No
java.net.ConnectException: Connection refused: connect	at sun.nio.ch.Net.connect(Native Method)	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)	at java.nio.channels.SocketChannel.open(SocketChannel.java:146)	at com.sun.corba.ee.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:63)	at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:191)	at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:221)	at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:104)	at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:152)	at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:146)	at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)	at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:397)	at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)	at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)	at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)	at javax.naming.InitialContext.lookup(InitialContext.java:351)	at cyberCash.VerisignDriver.lookupRemoteVerisignAgentBean(VerisignDriver.java:779)	at cyberCash.VerisignDriver.createVerisignRemote(VerisignDriver.java:609)	at cyberCash.VerisignDriver.getVerisignRemote(VerisignDriver.java:579)	at cyberCash.VerisignDriver.SaveInput(VerisignDriver.java:232)	at org.apache.jsp.jsp.ePayment.verisignresults_jsp._jspService(verisignresults_jsp.java:143)	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336)	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297)	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	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:585)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)	at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)	at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)	at java.security.AccessController.doPrivileged(Native Method)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)	at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)	at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)	at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)	at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)	at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)