Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When starting up a fresh instance of JBoss 6.1, I get the following error from Arjuna Recovery Manager, which I believe is part of the jboss-ts transaction service package. This error blocks the web server from starting up properly as the recoverymanager is a dependency for it.

Arjuna version 4.14.0 is used for this version of jboss.

Looking through the source, it seems there are no logging calls within that recoverymanager initialization aside from that fatal error, which makes debugging the issue even harder.

Here is the error stack trace of the issue:

09:14:02,946 ERROR [AbstractKernelController] Error installing to Create: name=RecoveryManager state=Configured: com.arjuna.ats.arjuna.exceptions.FatalError: ARJUNA-12359 SocketProcessId.getpid could not get unique port. at com.arjuna.ats.internal.arjuna.utils.SocketProcessId. [:6.1.0.Final]

... Java libraries [1.6.0_26]

at com.arjuna.ats.arjuna.utils.Utility.initDefaultProcess( [:6.1.0.Final] at com.arjuna.ats.arjuna.utils.Utility.getProcess( [:6.1.0.Final] at com.arjuna.ats.arjuna.utils.Utility.getpid( [:6.1.0.Final] at com.arjuna.ats.arjuna.common.Uid.( [:6.1.0.Final] at com.arjuna.ats.arjuna.StateManager.( [:6.1.0.Final] at com.arjuna.ats.arjuna.StateManager.( [:6.1.0.Final] at com.arjuna.ats.arjuna.coordinator.BasicAction.( [:6.1.0.Final] at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.( [:6.1.0.Final] at com.arjuna.ats.arjuna.AtomicAction.( [:6.1.0.Final] at com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule.( [:6.1.0.Final] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ... Java libraries [1.6.0_26]> at com.arjuna.ats.internal.arjuna.recovery.PeriodicRecovery.loadModule( [:6.1.0.Final]

EDIT: We found the culprit for this one. Our /etc/network/interfaces was broken, resulting in localhost loopback interface being down.


auto lo, eth0


auto lo eth0

Lesson learned: Double check your server configurations, don't blame everything on JBoss. Most common solution provided for this issue is fixing /etc/hosts like Bart suggested. Unfortunately ours was due to another configuration issue.

share|improve this question

Apparently, there was a bug that could lead to this in a previous version. Wouldn't hurt checking if the patch provided is incorporated in the current version.

You should also check out your hosts-file. This needs to be immaculate for Arjuna/JBoss to run. Make sure you have a line that looks like this: jboss

Where you start with your own IP, followed by the FQDN and finally the hostname.

share|improve this answer
Thanks for the answer, looks like the /etc/hosts is related to this problem most often. However, this time it was not the case, and explicitly setting the IP in /etc/hosts was not necessary, and -as pointed out by our admin- is lot of extra work that is probably harmful for maintenance. What is correct about this answer is that the hosts file MUST be valid. If it IS broken, jboss probably won't run. – Jukka Dahlbom Oct 26 '11 at 7:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.