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 mhertwig, 1 year ago
via genuitec.com by Unknown author, 1 year ago
vmcid: SUN minor code: 201 completed: No
via Oracle Community by 843830, 1 year ago
vmcid: SUN minor code: 201 completed: No
via Stack Overflow by zimi
, 2 years ago
vmcid: SUN minor code: 201 completed: No
via nabble.com by Unknown author, 2 years ago
  vmcid: SUN  minor code: 201  completed: No
via Oracle Community by nikitapai12, 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:507)	at com.sun.corba.ee.impl.orbutil.ORBUtility.openSocketChannel(ORBUtility.java:106)	at org.glassfish.enterprise.iiop.impl.IIOPSSLSocketFactory.createSocket(IIOPSSLSocketFactory.java:325)	at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:239)	at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.(SocketOrChannelConnectionImpl.java:269)	at com.sun.corba.ee.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:125)	at com.sun.corba.ee.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:188)	at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:186)	at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.is_a(CorbaClientDelegateImpl.java:352)	at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)	at org.omg.CosNaming.NamingContextHelper.narrow(NamingContextHelper.java:69)	at com.sun.enterprise.naming.impl.SerialContext.narrowProvider(SerialContext.java:355)	at com.sun.enterprise.naming.impl.SerialContext.getRemoteProvider(SerialContext.java:327)	at com.sun.enterprise.naming.impl.SerialContext.getProvider(SerialContext.java:271)	at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:430)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:827)	at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getConnectorConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:802)	at com.sun.enterprise.connectors.service.ConnectorConnectionPoolAdminServiceImpl.getPoolType(ConnectorConnectionPoolAdminServiceImpl.java:1081)	at com.sun.enterprise.connectors.ConnectorRuntime.getPoolType(ConnectorRuntime.java:914)	at com.sun.enterprise.resource.allocator.AbstractConnectorAllocator.createResourceHandle(AbstractConnectorAllocator.java:203)	at com.sun.enterprise.resource.allocator.ConnectorAllocator.createResource(ConnectorAllocator.java:144)	at com.sun.enterprise.resource.pool.ConnectionPool.createSingleResource(ConnectionPool.java:841)	at com.sun.enterprise.resource.pool.ConnectionPool.createResource(ConnectionPool.java:1110)	at com.sun.enterprise.resource.pool.datastructure.ListDataStructure.addResource(ListDataStructure.java:121)	at com.sun.enterprise.resource.pool.ConnectionPool.addResource(ConnectionPool.java:277)	at com.sun.enterprise.resource.pool.ConnectionPool.createResourceAndAddToPool(ConnectionPool.java:1404)	at com.sun.enterprise.resource.pool.ConnectionPool.createResources(ConnectionPool.java:869)	at com.sun.enterprise.resource.pool.ConnectionPool.initPool(ConnectionPool.java:229)	at com.sun.enterprise.resource.pool.ConnectionPool.internalGetResource(ConnectionPool.java:455)	at com.sun.enterprise.resource.pool.ConnectionPool.getResource(ConnectionPool.java:369)	at com.sun.enterprise.resource.pool.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:226)	at com.sun.enterprise.resource.pool.PoolManagerImpl.getResource(PoolManagerImpl.java:150)	at com.sun.enterprise.connectors.ConnectionManagerImpl.getResource(ConnectionManagerImpl.java:321)	at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:290)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:182)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:159)	at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:154)	at com.sun.messaging.jms.ra.ConnectionFactoryAdapter._allocateConnection(ConnectionFactoryAdapter.java:179)	at com.sun.messaging.jms.ra.ConnectionFactoryAdapter.createConnection(ConnectionFactoryAdapter.java:166)	at rmiServer.RmiServer.jmsTest(RmiServer.java:180)	at rmiServer.RmiServer.(RmiServer.java:89)	at rmiServer.RmiServer.main(RmiServer.java:96)