03-25-2013 12:26 AM
I'm trying to run nuxeo on OpenShift. As OpenShift restricts ports / bindable IPs I modified nuxeo.conf to fits those. Still it looks like a particular check performed by ConfigurationGenerator fails on OpenShift: see the call here.
I reproduced using a dumb example and indeed this particular calls fails with a "java.net.ConnectException: Permission denied" on OpenShift.
What would be the simplest/cleanest way (in this order :)) to work around this? Right now I cannot make nuxeo start on OpenShift.
Thanks!
03-25-2013 11:30 AM
Simplest would be to add a configuration option (for nuxeo.conf or any nuxeo.defaults) to bypass the address check. However, are you sure Tomcat will be able to bind that address if it's not reachable?
What about the org.nuxeo.launcher.config.ConfigurationGenerator.checkPortAvailable(InetAddress, int) next check? Will it fail too and must also be bypassed?
Those checks were initially added to early detect the situations leading to the "Address already in use" error at server (Tomcat/JBoss) startup.
03-26-2013 12:24 PM
I validated that with aforementioned fix nuxeo starts fine on OpenShift.
03-25-2013 12:03 PM
>Is the / at the start of the address normal? I'm surprised it's there.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.