Re: Shutdown oddities with Gogo 1.0.0

2016-11-14 Thread Neil Bartlett
Speaking of Gogo 1.0.0, I’d love it if somebody looked at 
https://issues.apache.org/jira/browse/FELIX-5392

It’s kind of a pain that I always have to have bundlerepository now, which I 
have never used!


Neil


> On 14 Nov 2016, at 16:32, David Bosschaert  wrote:
> 
> Hi Benson,
> 
> I recently came across this too. I reopened
> https://issues.apache.org/jira/browse/FELIX-5077
> 
> Cheers,
> 
> David
> 
> On 14 November 2016 at 16:15, Benson Margulies 
> wrote:
> 
>> Here is felix 5.6.1 with gogo.
>> 
>> 
>> Welcome to Apache Felix Gogo
>> 
>> g! lb
>>   11:12:55
>> START LEVEL 1
>>   ID|State  |Level|Name
>>0|Active |0|System Bundle (5.6.1)|5.6.1
>>1|Active |1|JLine (3.0.0)|3.0.0
>>2|Active |1|Apache Felix Bundle Repository (2.0.8)|2.0.8
>>3|Active |1|Apache Felix Gogo Command (1.0.0)|1.0.0
>>4|Active |1|Apache Felix Gogo JLine Shell (1.0.0)|1.0.0
>>5|Active |1|Apache Felix Gogo Runtime (1.0.0)|1.0.0
>> 
>> 
>> g! exit 0
>>   11:12:45
>> g!
>> g!
>> g!
>> g!
>> g! !!! FAILED TO STOP EXECUTOR !!!
>> 
>> If I "control-D", I get an unhappy backtrace on the way out, but not
>> always:
>> 
>> gosh: stopping framework
>> gogo: unable to create consoleInterruptedIOException: Command interrupted
>> java.io.InterruptedIOException: Command interrupted
>> at org.jline.utils.ExecHelper.exec(ExecHelper.java:43)
>> at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:158)
>> at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:86)
>> at org.jline.terminal.impl.ExecPty.setAttr(ExecPty.java:92)
>> at org.jline.terminal.impl.AbstractPosixTerminal.close(
>> AbstractPosixTerminal.java:63)
>> at org.jline.terminal.impl.PosixSysTerminal.close(
>> PosixSysTerminal.java:85)
>> at org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:159)
>> at org.apache.felix.gogo.jline.Activator.lambda$startShell$0(
>> Activator.java:106)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.lang.InterruptedException
>> at java.lang.Object.wait(Native Method)
>> at java.lang.Object.wait(Object.java:502)
>> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
>> at org.jline.utils.ExecHelper.waitAndCapture(ExecHelper.java:63)
>> at org.jline.utils.ExecHelper.exec(ExecHelper.java:36)
>> ... 8 more
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> For additional commands, e-mail: users-h...@felix.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org



Re: Shutdown oddities with Gogo 1.0.0

2016-11-14 Thread David Bosschaert
Hi Benson,

I recently came across this too. I reopened
https://issues.apache.org/jira/browse/FELIX-5077

Cheers,

David

On 14 November 2016 at 16:15, Benson Margulies 
wrote:

> Here is felix 5.6.1 with gogo.
>
> 
> Welcome to Apache Felix Gogo
>
> g! lb
>11:12:55
> START LEVEL 1
>ID|State  |Level|Name
> 0|Active |0|System Bundle (5.6.1)|5.6.1
> 1|Active |1|JLine (3.0.0)|3.0.0
> 2|Active |1|Apache Felix Bundle Repository (2.0.8)|2.0.8
> 3|Active |1|Apache Felix Gogo Command (1.0.0)|1.0.0
> 4|Active |1|Apache Felix Gogo JLine Shell (1.0.0)|1.0.0
> 5|Active |1|Apache Felix Gogo Runtime (1.0.0)|1.0.0
>
>
> g! exit 0
>11:12:45
> g!
> g!
> g!
> g!
> g! !!! FAILED TO STOP EXECUTOR !!!
>
> If I "control-D", I get an unhappy backtrace on the way out, but not
> always:
>
> gosh: stopping framework
> gogo: unable to create consoleInterruptedIOException: Command interrupted
> java.io.InterruptedIOException: Command interrupted
> at org.jline.utils.ExecHelper.exec(ExecHelper.java:43)
> at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:158)
> at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:86)
> at org.jline.terminal.impl.ExecPty.setAttr(ExecPty.java:92)
> at org.jline.terminal.impl.AbstractPosixTerminal.close(
> AbstractPosixTerminal.java:63)
> at org.jline.terminal.impl.PosixSysTerminal.close(
> PosixSysTerminal.java:85)
> at org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:159)
> at org.apache.felix.gogo.jline.Activator.lambda$startShell$0(
> Activator.java:106)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.InterruptedException
> at java.lang.Object.wait(Native Method)
> at java.lang.Object.wait(Object.java:502)
> at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
> at org.jline.utils.ExecHelper.waitAndCapture(ExecHelper.java:63)
> at org.jline.utils.ExecHelper.exec(ExecHelper.java:36)
> ... 8 more
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>


Shutdown oddities with Gogo 1.0.0

2016-11-14 Thread Benson Margulies
Here is felix 5.6.1 with gogo.


Welcome to Apache Felix Gogo

g! lb
   11:12:55
START LEVEL 1
   ID|State  |Level|Name
0|Active |0|System Bundle (5.6.1)|5.6.1
1|Active |1|JLine (3.0.0)|3.0.0
2|Active |1|Apache Felix Bundle Repository (2.0.8)|2.0.8
3|Active |1|Apache Felix Gogo Command (1.0.0)|1.0.0
4|Active |1|Apache Felix Gogo JLine Shell (1.0.0)|1.0.0
5|Active |1|Apache Felix Gogo Runtime (1.0.0)|1.0.0


g! exit 0
   11:12:45
g!
g!
g!
g!
g! !!! FAILED TO STOP EXECUTOR !!!

If I "control-D", I get an unhappy backtrace on the way out, but not always:

gosh: stopping framework
gogo: unable to create consoleInterruptedIOException: Command interrupted
java.io.InterruptedIOException: Command interrupted
at org.jline.utils.ExecHelper.exec(ExecHelper.java:43)
at org.jline.terminal.impl.ExecPty.doGetConfig(ExecPty.java:158)
at org.jline.terminal.impl.ExecPty.getAttr(ExecPty.java:86)
at org.jline.terminal.impl.ExecPty.setAttr(ExecPty.java:92)
at 
org.jline.terminal.impl.AbstractPosixTerminal.close(AbstractPosixTerminal.java:63)
at org.jline.terminal.impl.PosixSysTerminal.close(PosixSysTerminal.java:85)
at org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:159)
at org.apache.felix.gogo.jline.Activator.lambda$startShell$0(Activator.java:106)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:502)
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
at org.jline.utils.ExecHelper.waitAndCapture(ExecHelper.java:63)
at org.jline.utils.ExecHelper.exec(ExecHelper.java:36)
... 8 more

-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org