Re: [basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-10 Thread P.C.
Christian and Andy, thank you for the response. I tried to use the "-d" option when starting the server, like this: server = new BaseXServer("-p"+SERVERPORT, "-e"+EVENTPORT, "-n" + host, "-d"); but I wasn't able to get any information (actually, for some reason I had to change DEBUG to true i

Re: [basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-07 Thread Andy Bunce
Does server.stop(15000,15001) work? https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/BaseXServer.java#L329 On Fri, Mar 7, 2014 at 1:04 PM, Andy Bunce wrote: > I think -s applies only to the basexhttp server not tomcat, but the > message does look it is trying to u

Re: [basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-07 Thread Andy Bunce
I think -s applies only to the basexhttp server not tomcat, but the message does look it is trying to use a disallowed port somewhere. /Andy On Fri, Mar 7, 2014 at 12:49 PM, Andy Bunce wrote: > Hi P.C, > I think you will need to set the STOPPORT option (-s) [1] to an Openshift > friendly value

Re: [basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-07 Thread Andy Bunce
Hi P.C, I think you will need to set the STOPPORT option (-s) [1] to an Openshift friendly value e.g. 15002. Regards /Andy [1] http://docs.basex.org/wiki/Options#STOPPORT On Fri, Mar 7, 2014 at 12:10 PM, Christian Grün wrote: > Hi P.C., > > thanks for describing your setup, and sorry for lett

Re: [basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-07 Thread Christian Grün
Hi P.C., thanks for describing your setup, and sorry for letting you wait. The reason for the delay is that (at least) I have no clue what might cause the problem. Maybe someone else out there has worked with Openshift before? Could you add the debugging flag (-d) to the BaseX call and send me th

[basex-talk] BaseX server.close() "Connection refused" in Openshift

2014-03-05 Thread P.C.
I have set up an application in Openshift. This application has a Tomcat 7 (JBoss EWS 2.0) cartridge. I deploy Web applications to it by sending the WAR with an SFTP client. This is a very simple configuration that would be straightforward to set up in Openshift. Inside a servlet, I start a Bas