[jetty-user] Re: Restarting embedded Jetty

Luís de Sousa <[email protected]> Tue, 29 Apr 2014 16:17:30 +0200
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAEtdG7tPRU72eqGKLez3ap7nJtm1WpsSWGbHXqSd=W+rO4C1og@mail.gmail.com>
--20cf305b0abea2810f04f82f170d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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]> wrot=
e:

> 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.
>

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

<div dir=3D"ltr">Hi Joakim,<br><br>I did not install this Jetty instance, i=
t came bundled with a software called GeoNetwork. 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"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>

--20cf305b0abea2810f04f82f170d--