cancel
Showing results for 
Search instead for 
Did you mean: 

Nuxeo on OpenShift

Julien_Eluard
Confirmed Champ
Confirmed Champ

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!

1 ACCEPTED ANSWER

Julien_Carsique
Elite Collaborator
Elite Collaborator

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.

View answer in original post

11 REPLIES 11

I validated that with aforementioned fix nuxeo starts fine on OpenShift.

Julien_Eluard
Confirmed Champ
Confirmed Champ

>Is the / at the start of the address normal? I'm surprised it's there.

Getting started

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.