net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine

Coderanch | Dyann Sri | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Exception : connect: Address is invalid on local machine

    Coderanch | 9 years ago | Dyann Sri
    net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine
  2. 0

    Exception : connect: Address is invalid on local machine

    Coderanch | 9 years ago | Dyann Sri
    javax.resource.ResourceException: com.dsoft.jca.driver.ConnectionException: java .net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine

    Root Cause Analysis

    1. com.dsoft.jca.driver.ConnectionException

      java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote mac hine

      at com.dsoft.socket.SocketAdapter.connect()
    2. com.dsoft.socket
      SocketAdapter.connect
      1. com.dsoft.socket.SocketAdapter.connect(SocketAdapter.java:66)
      1 frame
    3. com.dsoft.jca
      EisManagedConnectionFactory.createManagedConnection
      1. com.dsoft.jca.eis.EisManagedConnection.<init>(EisManagedConnection.java:83)
      2. com.dsoft.jca.eis.EisManagedConnectionFactory.createManagedConnection(EisManagedConnectionFactory.java:84)
      2 frames
    4. JBoss Application Server Connector
      BaseConnectionManager2$ConnectionManagerProxy.allocateConnection
      1. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
      2. org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)
      3. org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)
      4. org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
      5. org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
      6. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
      7. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
      7 frames
    5. com.dsoft.jca
      EisConnectionFactory.getConnection
      1. com.dsoft.jca.eis.EisConnectionFactory.getConnection(EisConnectionFactory.java:69)
      1 frame
    6. Unknown
      JCATxSampleBean.getConnection
      1. JCATxSampleBean.getConnection(JCATxSampleBean.java:76)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    8. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
      1 frame
    9. org.jboss.ejb3
      EJB3InterceptorsInterceptor.invoke
      1. org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
      2. org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
      2 frames
    10. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    11. org.jboss.ejb3
      TransactionScopedEntityManagerInterceptor.invoke
      1. org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
      1 frame
    12. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    13. org.jboss.ejb3
      AllowedOperationsInterceptor.invoke
      1. org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
      1 frame
    14. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    15. org.jboss.aspects
      TxInterceptor$Required.invoke
      1. org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
      2. org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
      2 frames
    16. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    17. org.jboss.aspects
      TxPropagationInterceptor.invoke
      1. org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
      1 frame
    18. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    19. org.jboss.ejb3
      StatelessInstanceInterceptor.invoke
      1. org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
      1 frame
    20. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    21. org.jboss.aspects
      AuthenticationInterceptor.invoke
      1. org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
      1 frame
    22. org.jboss.ejb3
      Ejb3AuthenticationInterceptor.invoke
      1. org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
      1 frame
    23. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    24. org.jboss.ejb3
      ENCPropagationInterceptor.invoke
      1. org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
      1 frame
    25. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    26. org.jboss.ejb3
      AsynchronousInterceptor.invoke
      1. org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
      1 frame
    27. org.jboss.aop
      MethodInvocation.invokeNext
      1. org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
      1 frame
    28. org.jboss.ejb3
      StatelessContainer.dynamicInvoke
      1. org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)
      1 frame
    29. org.jboss.aop
      Dispatcher.invoke
      1. org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
      1 frame
    30. JBoss Application Server Aspects
      AOPRemotingInvocationHandler.invoke
      1. org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      1 frame
    31. org.jboss.remoting
      ServerThread.run
      1. org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)
      2. org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)
      3. org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:369)
      4. org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)
      4 frames