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://
Node listening on address : localhost:10006
Loaded plugins : com.example.plugin.ExamplePlugin
Embedded web server is listening on :
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(
_ at org.apache.activemq.artemis.core.client.impl.ClientSessionImpl.commit(
_ at
_ at net.corda.node.internal.AbstractNode$start$3$
_ 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$

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.