Following error is being thrown, same client works fine with the node running as a java service on the system.
java.lang.NullPointerException: null
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector.createConnection(NettyConnector.java:800) ~[artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.openTransportConnection(ClientSessionFactoryImpl.java:1046) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createTransportConnection(ClientSessionFactoryImpl.java:1086) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.establishNewConnection(ClientSessionFactoryImpl.java:1297) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnection(ClientSessionFactoryImpl.java:901) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.getConnectionWithRetry(ClientSessionFactoryImpl.java:797) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.reconnectSessions(ClientSessionFactoryImpl.java:746) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.failoverOrReconnect(ClientSessionFactoryImpl.java:616) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:506) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.handleConnectionFailure(ClientSessionFactoryImpl.java:499) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connectionException(ClientSessionFactoryImpl.java:370) [artemis-core-client-2.6.3.jar!/:2.6.3]
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector$Listener$2.run(NettyConnector.java:1073) [artemis-core-client-2.6.3.jar!/:2.6.3]
,因此看起来整个堆栈在阿耳emi弥斯(Artemis(内,并且在科达(Corda(的范围之外。
但是,试图建立连接的Corda节点可能以某种方式进行了错误的配置,因此节点试图沟通的网络无法正常工作。那是我要调查的地方,因为这可能是一个更晦涩的问题,它导致阿耳emi弥斯猛烈袭击。
如果您可以在此处共享节点配置,那么验证网络配置是否正确是一件好事。