Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a Node to Data Center it is giving error

Erol Uluğ
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 18, 2020

Hi, I just copied the installation directory and local home directory from the stopped node to the new node for adding new node to my Data Center. I have already 2 node which is working fine but when I start 3. node it is giving errors in the below and it is not looking in System Info ->Clusters.

I configured with NFS server mount is working fine, also configured jira.node.id in the cluster.properties file and configured setenv.sh. I changed the socket timeout length

-Dhttp.socketTimeout=20000 but still nothing is changed.


Could anyone help me about this problem?

com.atlassian.jira.cluster.distribution.localq.LocalQCacheOpSender$RecoverableFailure: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:

java.net.SocketTimeoutException: Read timed out

atcom.atlassian.jira.cluster.distribution.localq.rmi.LocalQCacheOpRMISender.send(LocalQCacheOpRMISender.java:86)

atcom.atlassian.jira.cluster.distribution.localq.LocalQCacheOpReader.run(LocalQCacheOpReader.java:84)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:

java.net.SocketTimeoutException: Read timed out

at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:307)

at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)

at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)

at net.sf.ehcache.distribution.RMICachePeer_Stub.put(Unknown Source)

at com.atlassian.jira.cluster.distribution.localq.rmi.CachingRMICachePeerManager.withCachePeer(CachingRMICachePeerManager.java:92)

at com.atlassian.jira.cluster.distribution.localq.rmi.LocalQCacheOpRMISender.send(LocalQCacheOpRMISender.java:63)

... 6 more

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

at java.net.SocketInputStream.read(SocketInputStream.java:171)

at java.net.SocketInputStream.read(SocketInputStream.java:141)

at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

at java.io.DataInputStream.readByte(DataInputStream.java:265)

at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:246)

1 answer

1 accepted

0 votes
Answer accepted
mogavenasan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 4, 2021

Hi @Erol Uluğ,

Please check if you have configured "-Djava.rmi.server.hostname" param in setenv.sh. If you are moving all the files to a different machine, you might need to update the value.

Thanks,
Moga

Suggest an answer

Log in or Sign up to answer