Incase of any future implications that may lead to server not stopping, use the following to forcefully stop the server.
$ ./airavata-server.sh stop --force (basically the server will wait for the thrift servers to stop only for 3 seconds each and proceed to the System.exit(...)) On Tue, Mar 11, 2014 at 9:01 AM, Marlon Pierce <[email protected]> wrote: > +1 > > On 3/11/14 12:07 AM, Saminda Wijeratne wrote: > > Nice work Lahiru. > > > > That sounds great Viknes... I don't think there's a JIRA for it. Please > go > > ahead and create one if you are working on updating the windows script. > > > > > > On Mon, Mar 10, 2014 at 11:20 PM, Viknes Balasubramanee <[email protected] > >wrote: > > > >> I can update the Windows batch file if no one has done it already. > >> > >> > >> > >> Viknes > >> > >> > >> > >> *From:* Lahiru Gunathilake [mailto:[email protected]] > >> *Sent:* Monday, March 10, 2014 4:50 PM > >> *To:* dev; dev > >> *Subject:* Re: Updates to Airavata Server Startup > >> > >> > >> > >> Saminda, > >> > >> > >> > >> I fixed that. > >> > >> > >> > >> Lahiru > >> > >> > >> > >> On Mon, Mar 10, 2014 at 6:35 PM, Lahiru Gunathilake <[email protected]> > >> wrote: > >> > >> > >> > >> > >> > >> On Mon, Mar 10, 2014 at 11:20 AM, Saminda Wijeratne <[email protected] > > > >> wrote: > >> > >> We should be able to. Should it be a server implementation level > >> configuration? If so can be put it in the server properties? > >> > >> Yes. > >> > >> > >> > >> On Mon, Mar 10, 2014 at 10:20 AM, Lahiru Gunathilake <[email protected] > > > >> wrote: > >> > >> Hi Saminda, > >> > >> > >> > >> Can we support TThreadPoolServer and make it configurable ? > >> > >> > >> > >> Regards > >> > >> Lahiru > >> > >> > >> > >> On Mon, Mar 10, 2014 at 8:54 AM, Saminda Wijeratne <[email protected]> > >> wrote: > >> > >> A few updates to the standalone server startup [1], > >> > >> 1. Start the server as a daemon when needed > >> > >> > >> - eg: $./airavata-server.sh start > >> > >> > >> 1. Stop the server (daemon or otherwise) > >> > >> > >> - eg: $./airavata-server.sh stop > >> > >> > >> 1. What servers to start are mentioned in the server properties file > >> ("servers=<server1><server2>..."). The servers will start in the > given order > >> > >> > >> - eg: servers=apiserver,orchestrator > >> > >> > >> 1. Command line parameters of the form "--<arg-key>=<arg-value>" > >> updates or overrides existing server configs. > >> > >> > >> - eg: $./airavata-server.sh --servers=orchestrator > --myproxy.user=ogce > >> --myproxy.pass=mpass > >> > >> > >> TODO: > >> > >> 1. Update the integration-test pom to start airavata server [2] > >> 2. The windows batch script needs to be updated. > >> > >> > >> > >> 1. https://issues.apache.org/jira/browse/AIRAVATA-1045 > >> 2. https://issues.apache.org/jira/browse/AIRAVATA-1054 > >> > >> > >> > >> > >> > >> -- > >> System Analyst Programmer > >> > >> PTI Lab > >> > >> Indiana University > >> > >> > >> > >> > >> > >> > >> > >> -- > >> System Analyst Programmer > >> > >> PTI Lab > >> > >> Indiana University > >> > >> > >> > >> > >> > >> -- > >> System Analyst Programmer > >> > >> PTI Lab > >> > >> Indiana University > >> > >
