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 Coderanch by Dyann Sri, 1 year ago
connect: Address is invalid on local machine, or port is not valid on remote machine
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(SocketAdapter.java:66)	at com.dsoft.jca.eis.EisManagedConnection.(EisManagedConnection.java:83)	at com.dsoft.jca.eis.EisManagedConnectionFactory.createManagedConnection(EisManagedConnectionFactory.java:84)	at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)	at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:262)	at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:500)	at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)	at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)	at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)	at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)	at com.dsoft.jca.eis.EisConnectionFactory.getConnection(EisConnectionFactory.java:69)	at JCATxSampleBean.getConnection(JCATxSampleBean.java:76)	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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)	at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)	at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)	at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)	at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:278)	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734)	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560)	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:369)	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165)