Re: [jetty-user] Restarting embedded Jetty

Joakim Erdfelt <[email protected]> Tue, 29 Apr 2014 06:08:05 -0700
Newsgroups gmane.comp.java.jetty.support
Message-ID <CAG4zZZDkx4UgGQr6jEEw1AMTz7UPNqOSNbsc4yFgx0Y_cay9mA@mail.gmail.com>
--001a113a452e5ddeff04f82e1f52
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Need more information.

You say "embedded jetty", but then proceed to mention jetty.sh, which is
standalone jetty.
Is the jetty.sh you are referring to your own jetty.sh for your own
purposes, or the one from the jetty-distribution's bin directory?
Which version of Jetty?
What version of Unix?
Why are you using "sh" to execute jetty.sh? (you just forced it to use 'sh'
and not bash, which it requires)


--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Tue, Apr 29, 2014 at 1:12 AM, Lu=C3=ADs de Sousa <luis.a.de.sousa@gmail.=
com>wrote:

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

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

<div dir=3D"ltr">Need more information.<div><br></div><div>You say &quot;em=
bedded jetty&quot;, but then proceed to mention jetty.sh, which is standalo=
ne jetty.</div><div>Is the jetty.sh you are referring to your own jetty.sh =
for your own purposes, or the one from the jetty-distribution&#39;s bin dir=
ectory?</div>
<div>Which version of Jetty?</div><div>What version of Unix?</div><div>Why =
are you using &quot;sh&quot; to execute jetty.sh? (you just forced it to us=
e &#39;sh&#39; and not bash, which it requires)</div><div><br></div></div>
<div class=3D"gmail_extra"><br clear=3D"all"><div><div dir=3D"ltr"><div>--<=
/div><div>Joakim Erdfelt &lt;<a href=3D"mailto:[email protected]" target=
=3D"_blank">[email protected]</a>&gt;</div><div><a href=3D"http://www.webt=
ide.com/" target=3D"_blank">webtide.com</a>=C2=A0- <a href=3D"http://intali=
o.com/jetty" target=3D"_blank">intalio.com/jetty</a></div>
<div><span>Expert advice, services and support from=C2=A0</span><span>from =
the Jetty &amp; CometD experts</span></div><div><a href=3D"http://eclipse.o=
rg/jetty/" target=3D"_blank">eclipse.org/jetty</a>=C2=A0-=C2=A0<a href=3D"h=
ttp://cometd.org/" target=3D"_blank">cometd.org</a></div>
</div></div>
<br><br><div class=3D"gmail_quote">On Tue, Apr 29, 2014 at 1:12 AM, Lu=C3=
=ADs de Sousa <span dir=3D"ltr">&lt;<a href=3D"mailto:luis.a.de.sousa@gmail=
.com" target=3D"_blank">[email protected]</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">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>

--001a113a452e5ddeff04f82e1f52--