Hi, I am having difficulty getting this to work. I had something working with 7.9 (see https://github.com/Quodatum/openshift-basex-quick-start/tree/releases/0.2 )
Using a recent snapshot. I am running
${OPENSHIFT_DATA_DIR}/basex/bin/basexhttp -n ${OPENSHIFT_DIY_IP} -h ${OPENSHIFT_DIY_PORT} -p ${PORT_DATABASE} -e ${PORT_EVENT} -s ${PORT_STOP} -U ${BASEX_USER} -P ${BASEX_PASSWORD}
The debug o/p is
STOPPORT: 15007 PASSWORD: admin USER: admin EVENTPORT: 15006 DEBUG: true PORT: 15005 SERVERPORT: 15005 HOST: 127.13.28.129 STOPPORT: 15007 PASSWORD: admin USER: admin EVENTPORT: 15006 DEBUG: true PORT: 15005 SERVERPORT: 15005 HOST: 127.13.28.129 WEBPATH: /var/lib/openshift/549d9d794382ec39b8000105/app-root/data/basex/webapp HTTP Server was started (port: 8080) java.net.BindException: Permission denied at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) at java.net.ServerSocket.bind(ServerSocket.java:376) at java.net.ServerSocket.bind(ServerSocket.java:330) at org.basex.BaseXHTTP$StopServer.<init>(BaseXHTTP.java:403) at org.basex.BaseXHTTP.<init>(BaseXHTTP.java:139) at org.basex.BaseXHTTP.main(BaseXHTTP.java:50) Server is running or permission was denied.
https://github.com/BaseXdb/basex/blob/0af4ead914d3d1946e5a8ce9672811a34f9330...
I wonder if SERVERHOST should be set here? As with SERVER PORT.. https://github.com/BaseXdb/basex/blob/0af4ead914d3d1946e5a8ce9672811a34f9330...
/Andy
Hi Andy,
I wonder if SERVERHOST should be set here? As with SERVER PORT.. https://github.com/BaseXdb/basex/blob/0af4ead914d3d1946e5a8ce9672811a34f9330...
I have updated the code as suggested by you. Could you please give it another try? The next snapshot will be available online in appr. 5 minutes.
Thanks, Christian
Thats working for me[1]. Thanks
/Andy [1] http://jan07-apb.rhcloud.com/
On 6 January 2015 at 10:59, Christian Grün christian.gruen@gmail.com wrote:
Hi Andy,
I wonder if SERVERHOST should be set here? As with SERVER PORT..
https://github.com/BaseXdb/basex/blob/0af4ead914d3d1946e5a8ce9672811a34f9330...
I have updated the code as suggested by you. Could you please give it another try? The next snapshot will be available online in appr. 5 minutes.
Thanks, Christian
basex-talk@mailman.uni-konstanz.de