[jetty-user] Re: Restarting embedded Jetty

Luís de Sousa <[email protected]> Tue, 29 Apr 2014 16:37:59 +0200
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAEtdG7sXaOLqYmhaTaRQ=KLLK0e3-4b+YekQtqaE4RTw9BDANw@mail.gmail.com>
--20cf303f6798e7230904f82f6027
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ok, I can run the jetty.sh script from the jetty root folder:

$ sudo bin/jetty.sh restart

Thanks in any case.


On 29 April 2014 16:17, Lu=C3=ADs de Sousa <[email protected]> wrot=
e:

> Hi Joakim,
>
> I did not install this Jetty instance, it came bundled with a software
> called GeoNetwork. To your other questions:
>
> $ cat VERSION.txt | less
> jetty-7.6.8.v20121106 - 06 November 2012
> ...
>
> $ uname -r
> 3.2.0-57-virtual
>
> $ cd bin
> $ sudo ./jetty.sh restart
> ** ERROR: JETTY_HOME not set, you need to set it or install in a standard
> location
>
> Thank you.
>
>
> On 29 April 2014 10:12, Lu=C3=ADs de Sousa <[email protected]> wr=
ote:
>
>> Hello,
>>
>> I am trying to restart an embedded Jetty instance the following way:
>>
>> $ sh jetty.sh restart
>> jetty.sh: 123: jetty.sh: Syntax error: "(" unexpected
>>
>> Line 123 just contains this:
>>
>> CONFIGS=3D()
>>
>> Is this a bug with the .sh file or something else? Can it be fixed?
>>
>> Thank you.
>>
>
>

--20cf303f6798e7230904f82f6027
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Ok, I can run the jetty.sh script from the jetty root=
 folder:<br><br>$ sudo bin/jetty.sh restart<br><br></div>Thanks in any case=
.<br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On=
 29 April 2014 16:17, Lu=C3=ADs de Sousa <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank">[email protected]=
m</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi Joakim,<br><br>I did not=
 install this Jetty instance, it came bundled with a software called GeoNet=
work. To your other questions:<br>
<br>$ cat VERSION.txt | less<br>jetty-7.6.8.v20121106 - 06 November 2012<br=
>
...<br><br>$ uname -r<br>3.2.0-57-virtual<br><br>$ cd bin<br>$ sudo ./jetty=
.sh restart<br>** ERROR: JETTY_HOME not set, you need to set it or install =
in a standard location<br><br>Thank you.<br></div><div class=3D"HOEnZb">
<div class=3D"h5"><div class=3D"gmail_extra">
<br><br><div class=3D"gmail_quote">On 29 April 2014 10:12, Lu=C3=ADs de Sou=
sa <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]" targe=
t=3D"_blank">[email protected]</a>&gt;</span> wrote:<br><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">

<div dir=3D"ltr">Hello,<br><br>I am trying to restart an embedded Jetty ins=
tance the following way:<br><br>$ sh jetty.sh restart<br>jetty.sh: 123: jet=
ty.sh: Syntax error: &quot;(&quot; unexpected<br><br>Line 123 just contains=
 this:<br>


<br>CONFIGS=3D()<br><br>Is this a bug with the .sh file or something else? =
Can it be fixed?<br><br>Thank you.<br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>

--20cf303f6798e7230904f82f6027--