Re: [jetty-user] Run Embedded Jetty Server in Background on Linux

Silvio Bierman <[email protected]> Fri, 16 Mar 2012 11:10:43 +0100
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
+1 for suggesting screen. It is my main deamon facility. I even created 
a couple of simple shell scripts around it that allow me to start a 
process as a "named service" and stop/restart it by name. Screen is great!



On 03/15/2012 12:59 PM, Jesse McConnell wrote:
> I like using 'screen' in cases like this
>
> have fun, its a great little bit of shell magic :)
>
> jesse
>
> --
> jesse mcconnell
> [email protected]
>
>
>
> On Thu, Mar 15, 2012 at 03:45, Kirk Pepperdine
> <[email protected]>  wrote:
>> run it as a background process on the command line by adding an&  at the
>> end.
>>
>> Kirk
>>
>> On 2012-03-15, at 5:53 AM, colin gray wrote:
>>
>> Hello,
>>
>> I'm using a ssh session on a Linux server to start an Embedded Jetty Server
>> to run a web application that exposes web services. When I use the java -jar
>> start.jar to bring up the Jetty web server instance I don't have access to
>> the command line in that session and must open up a new ssh session in order
>> to run a command line application that invokes the web services running on
>> the jetty instance. Is there any way to run jetty in the background and in
>> the same ssh session have access to the command line? Thanks for reading!
>>
>> --
>> Colin
>>
>>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>      http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email