[jetty-users] XMLFILE Error Jetty.sh

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[jetty-users] XMLFILE Error Jetty.sh

jettyone1

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Jesse McConnell
nope, but maybe you can answer the question on there from Joakim and we can sort out what is going on :)

cheers,
jesse

--
jesse mcconnell
[hidden email]


On Tue, Jul 9, 2013 at 2:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
In reply to this post by jettyone1
We need more details about your environment.

We cannot replicate this error, and would appreciate some details so we can replicate it.

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

jettyone1

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
Wow, SunOS 5.1 (aka Solaris 2.1)
The various shell script techniques within the jetty.sh might be too old for your OS.

What is your shell and version?
Also, do you have any values in $XMLFILE before the script runs?


--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

jettyone1

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
That is an old version of bash.

Try changing that line (#321) in the jetty.sh to

CONFIGS="$CONFIGS $XMLFILE"

Also line #327
From:
  CONFIGS+=($CONF)
To:
  CONFIGS="$CONFIGS $CONF"

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
Unfortunately, the syntax we use...

  KEY+=(VAL)

Isn't that well supported on your version of Bash.
And it is used ALOT in the jetty.sh (not just those 2 lines)


--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[hidden email]> wrote:
That is an old version of bash.

Try changing that line (#321) in the jetty.sh to

CONFIGS="$CONFIGS $XMLFILE"

Also line #327
From:
  CONFIGS+=($CONF)
To:
  CONFIGS="$CONFIGS $CONF"

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users




_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
Does this work (on your command line)?

[joakim@lapetus ~]$ A="Eat"
[joakim@lapetus ~]$ A+="A"
[joakim@lapetus ~]$ A+="Gramova"
[joakim@lapetus ~]$ A+="Bits"
[joakim@lapetus ~]$ echo $A
EatAGramovaBits


--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 2:40 PM, Joakim Erdfelt <[hidden email]> wrote:
Unfortunately, the syntax we use...

  KEY+=(VAL)

Isn't that well supported on your version of Bash.
And it is used ALOT in the jetty.sh (not just those 2 lines)


--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[hidden email]> wrote:
That is an old version of bash.

Try changing that line (#321) in the jetty.sh to

CONFIGS="$CONFIGS $XMLFILE"

Also line #327
From:
  CONFIGS+=($CONF)
To:
  CONFIGS="$CONFIGS $CONF"

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users





_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

jettyone1

No It doesn't work:

 

$ bash

A="EAT"

$ A+="A"

bash: A+=A: command not found

$

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 5:50 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Does this work (on your command line)?

 

[joakim@lapetus ~]$ A="Eat"

[joakim@lapetus ~]$ A+="A"

[joakim@lapetus ~]$ A+="Gramova"

[joakim@lapetus ~]$ A+="Bits"

[joakim@lapetus ~]$ echo $A

EatAGramovaBits

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:40 PM, Joakim Erdfelt <[hidden email]> wrote:

Unfortunately, the syntax we use...

 

  KEY+=(VAL)

 

Isn't that well supported on your version of Bash.

And it is used ALOT in the jetty.sh (not just those 2 lines)

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[hidden email]> wrote:

That is an old version of bash.

 

Try changing that line (#321) in the jetty.sh to

 

CONFIGS="$CONFIGS $XMLFILE"

 

Also line #327

From:

  CONFIGS+=($CONF)

To:

  CONFIGS="$CONFIGS $CONF"


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 

 

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

Joakim Erdfelt-9
Then yeah, your bash is too old to use with the jetty.sh
Sorry.

If you want to take a stab at making a patch for the jetty.sh that works on your system, that would be something we could possibly roll back into the distribution.

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 6:05 PM, Blair Pallopson <[hidden email]> wrote:

No It doesn't work:

 

$ bash

A="EAT"

$ A+="A"

bash: A+=A: command not found

$

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 5:50 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Does this work (on your command line)?

 

[joakim@lapetus ~]$ A="Eat"

[joakim@lapetus ~]$ A+="A"

[joakim@lapetus ~]$ A+="Gramova"

[joakim@lapetus ~]$ A+="Bits"

[joakim@lapetus ~]$ echo $A

EatAGramovaBits

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:40 PM, Joakim Erdfelt <[hidden email]> wrote:

Unfortunately, the syntax we use...

 

  KEY+=(VAL)

 

Isn't that well supported on your version of Bash.

And it is used ALOT in the jetty.sh (not just those 2 lines)

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[hidden email]> wrote:

That is an old version of bash.

 

Try changing that line (#321) in the jetty.sh to

 

CONFIGS="$CONFIGS $XMLFILE"

 

Also line #327

From:

  CONFIGS+=($CONF)

To:

  CONFIGS="$CONFIGS $CONF"


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 

 

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users
Reply | Threaded
Open this post in threaded view
|

Re: [jetty-users] XMLFILE Error Jetty.sh

jettyone1
Many thanks for the assistance Joakim. 

I will take a stab at it.  


----- Reply message -----
From: "Joakim Erdfelt" <[hidden email]>
To: "JETTY user mailing list" <[hidden email]>
Subject: [jetty-users] XMLFILE Error Jetty.sh
Date: Tue, Jul 9, 2013 10:52 PM

Then yeah, your bash is too old to use with the jetty.sh
Sorry.

If you want to take a stab at making a patch for the jetty.sh that works on your system, that would be something we could possibly roll back into the distribution.

--
Joakim Erdfelt <[hidden email]>
Developer advice, services and support
from the Jetty & CometD experts


On Tue, Jul 9, 2013 at 6:05 PM, Blair Pallopson <[hidden email]> wrote:

No It doesn't work:

 

$ bash

A="EAT"

$ A+="A"

bash: A+=A: command not found

$

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 5:50 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Does this work (on your command line)?

 

[joakim@lapetus ~]$ A="Eat"

[joakim@lapetus ~]$ A+="A"

[joakim@lapetus ~]$ A+="Gramova"

[joakim@lapetus ~]$ A+="Bits"

[joakim@lapetus ~]$ echo $A

EatAGramovaBits

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:40 PM, Joakim Erdfelt <[hidden email]> wrote:

Unfortunately, the syntax we use...

 

  KEY+=(VAL)

 

Isn't that well supported on your version of Bash.

And it is used ALOT in the jetty.sh (not just those 2 lines)

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 2:39 PM, Joakim Erdfelt <[hidden email]> wrote:

That is an old version of bash.

 

Try changing that line (#321) in the jetty.sh to

 

CONFIGS="$CONFIGS $XMLFILE"

 

Also line #327

From:

  CONFIGS+=($CONF)

To:

  CONFIGS="$CONFIGS $CONF"


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:57 PM, Blair Pallopson <[hidden email]> wrote:

$ bash --version

GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)

Copyright (C) 2004 Free Software Foundation, Inc.

 

$ echo $XMLFILE

 

$ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

 

as you can see nothing is set in $XMLFILE prior.  I haven't modified the $XMLFILE in the .sh script either.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 4:47 PM


To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

Wow, SunOS 5.1 (aka Solaris 2.1)

The various shell script techniques within the jetty.sh might be too old for your OS.

 

What is your shell and version?

Also, do you have any values in $XMLFILE before the script runs?

 


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 1:35 PM, Blair Pallopson <[hidden email]> wrote:

thanks guys.  See below:

 

$ uname -a

SunOS au11qapagctels2 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-15000

 

jetty-9.0.4.v20130625 - 25 June 2013

 

FYI - same issue happens on jetty 8 as well as I've tried both.

 

Blair Pallopson

DonRiver Inc.

www.donriver.com

m: 0437983981

[hidden email]

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Joakim Erdfelt
Sent: Tuesday, July 09, 2013 3:53 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] XMLFILE Error Jetty.sh

 

We need more details about your environment.

 

We cannot replicate this error, and would appreciate some details so we can replicate it.


--

Joakim Erdfelt <[hidden email]>

Developer advice, services and support
from the Jetty & CometD experts

 

On Tue, Jul 9, 2013 at 12:40 PM, Blair Pallopson <[hidden email]> wrote:

I'm receiving the following error when I run jetty.sh script:

 

hostname $ ./jetty.sh check

./jetty.sh: line 321: syntax error near unexpected token `"$XMLFILE"'

./jetty.sh: line 321: `          CONFIGS+=("$XMLFILE")'

hostname $

 

it is exactly this problem:

 

http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01930.html

 

Did this get resolved? Any assistance would be appreciated.

 

Thanks in advance.


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users

 

 

 


_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users



_______________________________________________
jetty-users mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/jetty-users