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

Stephen Davidson <[email protected]> Tue, 20 Mar 2012 11:40:07 -0500
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

JBoss Service might be worth a look.
http://www.jboss.org/jbossweb/install/service.html
https://community.jboss.org/wiki/RunJBossAsAServiceOnWindows

Note that it apparently can run more than just JBoss (with some
tweaking, of course!). And its completely opensource.

Regards,
Steve

On 03/16/2012 04:29 PM, Filipe Sousa wrote:
> I have been using Java Service Wrapper
> http://wrapper.tanukisoftware.com/doc/english/download.jsp
>
> On Friday, March 16, 2012, Silvio Bierman
> <[email protected] <mailto:[email protected]>>
> wrote:
>> +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]
>>> <mailto:[email protected]>
>>>
>>>
>>>
>>> On Thu, Mar 15, 2012 at 03:45, Kirk Pepperdine
>>> <[email protected] <mailto:[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
>>>>
>>>>
>
> -- Filipe Sousa

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9osucACgkQSphIUSiVzgbhVQCfSP7ACj8uaIq+06jIzZWVAC26
y7QAnjTYFFgpbQ7Gt6oabP+c0JlKs8Nu
=L+lN
-----END PGP SIGNATURE-----