Symptoms
Upon restart of pau
service, it fails to start with the following messages in console.log
:
JBAS011048: Failed to construct component instance
...
concurrent access timeout on org.jboss.invocation.InterceptorContext$Invocation@7079c030 - could not obtain lock within 5000MILLISECONDS
...
Services which failed to start: service jboss.deployment.subunit."pau-ear.ear"."poakernel-ejb.jar"
Howerver, WildFly java process was still alive and further attempts to restart pau
fail with different error and create new WildFly instance:
Caused by: java.net.BindException: Address already in use
Cause
Hostname of OA management node was not included in local hosts
file. It is required by JBoss/WildFly to start and work properly.
Resolution
- Kill all existing JBoss/Wildfly processes.
- Add OA Management node's backnet address and a hostname to
/etc/hosts
file. - Start
pau
service.