Issue with ./runnodes


(Andre Stephenson ) #1

I attempted ./runnodes it returned this :

Logs can be found in : /Users/iivri.andre/cordapp-template/build/nodes/nodeb/logs
Database connection url is : jdbc:h2:tcp://192.168.0.5:53476/node
Node listening on address : localhost:10006
Loaded plugins : com.example.plugin.ExamplePlugin
Embedded web server is listening on : http://192.168.0.5:10007/
Node started up and registered in 110.14 sec
Shutting down …
Exception in thread “Thread-2” ActiveMQObjectClosedException[errorType=OBJECT_CLOSED message=AMQ119019: Session is closed]
_ at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.checkClosed(ClientSessionImpl.java:1636)_
_ at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.commit(ClientSessionImpl.java:490)_
_ at net.corda.node.services.messaging.NodeMessagingClient.stop(NodeMessagingClient.kt:362)_
_ at net.corda.node.internal.AbstractNode$start$3$5.run(AbstractNode.kt:249)_
_ at net.corda.node.internal.AbstractNode.stop(AbstractNode.kt:465)_
_ at net.corda.node.internal.Node.stop(Node.kt:366)_
_ at net.corda.node.internal.Node$start$2.invoke(Node.kt:329)_
_ at net.corda.node.internal.Node$start$2.invoke(Node.kt:66)_
_ at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:18)_

It started up and registered then shutdown due to this error. WHAT is amiss?


(Roger Willis) #2

Not seen this before.

Try running ./gradlew clean deployNodes from the cordapp-template project root.

Then navigate to build/nodes then run sh runnodes

Let me know if that doesn’t work.