As delivered (at least in our installations), Fedora's startup script
does not give the java instance time to fully start before trying to use
tomcat. This results in the first startup failing, with the second
usually working fine.
The detail below indicates how to modify the delivered
.../server/bin/fedora.sh module to stop this behavior.
Insert the following line (shown in
darkblue) into .../server/bin/fedora.sh
BETWEEN the original lines shown in black…
org.apache.catalina.startup.Bootstrap start &)
echo "Giving Fedora
a chance to come up...";sleep 10
"Deploying API-M and API-A..."