You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by tom leung <to...@gmail.com> on 2018/11/30 04:56:42 UTC
Re: Karaf freezes up under MS-Windows
Based on the latest Apache Karaf v4.1.7, run it on Windows 7.
Still freeze up at Windows side after entering the command "list - t 0"
but the same symptom never happen at Linux side.
So the bug is really related to MS-Windows.
May you file this symptom as a bug.
Best Rgds,
Tom Leung
On Mon, Aug 13, 2018 at 1:03 PM Jean-Baptiste Onofré <jb...@nanthrax.net>
wrote:
> OK, let me try to reproduce (I think I still have a VM with Windows 7).
>
> Thanks,
> Regards
> JB
>
> On 13/08/2018 06:48, tom leung wrote:
> > No response no matter what I type including "CTRL-C and hit ENTER"
> >
> > I have type the following command
> >
> > karaf@root()>
> > karaf@root()> bundle:list -t 0
> > START LEVEL 100 , List Threshold: 0
> >
> > Same issue, still freeze up after typing "CTRL-C" and hit ENTER
> >
> >
> >
> >
> >
> > On Mon, Aug 13, 2018 at 12:44 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> > <ma...@nanthrax.net>> wrote:
> >
> > Hi Tom,
> >
> > By freeze, you mean that you can type any command anymore in the
> > console ?
> >
> > Did you try CTRL-C or typing ENTER after the command ?
> > Does the same happen with bundle:list -t 0 command ?
> >
> > Nothing special in the karaf.log ?
> >
> > Regards
> > JB
> >
> > On 13/08/2018 06:38, tom leung wrote:
> > > I find the same issues happened in V4.1.6 anf v4.2.0
> > >
> > > At MS-Windows 64-bit Windows 7.0 professional version
> > >
> > >
> > > I install a new fresh copy of Karaf v4.1.6
> > >
> > > After it shows the following logo
> > >
> > > C:\software\apache-karaf-4.1.6\bin>karaf
> > > __ __ ____
> > > / //_/____ __________ _/ __/
> > > / ,< / __ `/ ___/ __ `/ /_
> > > / /| |/ /_/ / / / /_/ / __/
> > > /_/ |_|\__,_/_/ \__,_/_/
> > >
> > > Apache Karaf (4.1.6)
> > >
> > > Hit '<tab>' for a list of available commands
> > > and '[cmd] --help' for help on a specific command.
> > > Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
> > Karaf.
> > >
> > > karaf@root()>
> > >
> > > karaf@root()> list
> > > START LEVEL 100 , List Threshold: 50
> > >
> > >
> > > I type the following command, Karaf seems to be freezed up withut
> any
> > > response.
> > >
> > > I need to kill Karaf process manually and restart karaf Karaf
> again.
> > >
> > > Same issue if I type the above command again.
> > >
> > > The same issue also happens in Karaf v4.2.0
> > >
> > > Is it a bug?
> > >
> > > Best Rgds,
> > >
> > > Tom Leung
> > >
> > >
> > >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
RE: Karaf freezes up under MS-Windows
Posted by "Leschke, Scott" <SL...@medline.com>.
When 4.2.2 comes out, I'm should be able to run Karaf as a service under jdk 10+. At that point, I'll be able to check if the same situation exists when running log:tail in the Karaf client connected to the service. I'm thinking it probably won't.
-----Original Message-----
From: Jean-Baptiste Onofré <jb...@nanthrax.net>
Sent: Friday, November 30, 2018 11:13 AM
To: user@karaf.apache.org
Subject: Re: Karaf freezes up under MS-Windows
Thanks for the update Scott.
I did tests in a term without problem. Let me try again.
Did I say that I hate Windows ? ;)
Regards
JB
On 30/11/2018 17:48, Leschke, Scott wrote:
> I've hesitated to say anything since I wasn't real sure how to verify but I've seen related behavior with 4.2.1 on Windows Server 2016.
>
> What I see happen is that if I run Karaf in a console, which I think is key, and I do a log:tail, at some point the display stops updating. Things start working if I hit enter or CTRL-C in the window.
>
> I have a warning message in my main control thread that if my thread runs long (which it should never do). When I hit a key in the console, I see the message indicating that it's not waking up from a timed sleep cycle. The thread has a 20 sec. polling cycle and does very little so it generally runs in a 100 or 200 hundred millis maybe.
>
> The control thread has a priority default+1 so it is the highest priority thread in the app. I have 4.2.0 that I run as a service on a couple of other machines and I've never seen this issue so I'm reasonably sure that the issue is related to running in a console window.
>
> Scott
>
> -----Original Message-----
> From: Jean-Baptiste Onofré <jb...@nanthrax.net>
> Sent: Thursday, November 29, 2018 11:06 PM
> To: user@karaf.apache.org
> Subject: Re: Karaf freezes up under MS-Windows
>
> Hi Tom,
>
> I'm not able to reproduce on the Win7 VM.
>
> Can you provide some details: JDK version, Windows language, ... ?
>
> Thanks,
> Regards
> JB
>
> On 30/11/2018 05:56, tom leung wrote:
>> Based on the latest Apache Karaf v4.1.7, run it on Windows 7.
>>
>> Still freeze up at Windows side after entering the command "list - t 0"
>> but the same symptom never happen at Linux side.
>>
>> So the bug is really related to MS-Windows.
>>
>> May you file this symptom as a bug.
>>
>> Best Rgds,
>>
>> Tom Leung
>>
>>
>>
>>
>> On Mon, Aug 13, 2018 at 1:03 PM Jean-Baptiste Onofré <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>> OK, let me try to reproduce (I think I still have a VM with Windows 7).
>>
>> Thanks,
>> Regards
>> JB
>>
>> On 13/08/2018 06:48, tom leung wrote:
>> > No response no matter what I type including "CTRL-C and hit ENTER"
>> >
>> > I have type the following command
>> >
>> > karaf@root()>
>> > karaf@root()> bundle:list -t 0
>> > START LEVEL 100 , List Threshold: 0
>> >
>> > Same issue, still freeze up after typing "CTRL-C" and hit ENTER
>> >
>> >
>> >
>> >
>> >
>> > On Mon, Aug 13, 2018 at 12:44 PM, Jean-Baptiste Onofré
>> <jb@nanthrax.net <ma...@nanthrax.net>
>> > <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>> >
>> > Hi Tom,
>> >
>> > By freeze, you mean that you can type any command anymore in the
>> > console ?
>> >
>> > Did you try CTRL-C or typing ENTER after the command ?
>> > Does the same happen with bundle:list -t 0 command ?
>> >
>> > Nothing special in the karaf.log ?
>> >
>> > Regards
>> > JB
>> >
>> > On 13/08/2018 06:38, tom leung wrote:
>> > > I find the same issues happened in V4.1.6 anf v4.2.0
>> > >
>> > > At MS-Windows 64-bit Windows 7.0 professional version
>> > >
>> > >
>> > > I install a new fresh copy of Karaf v4.1.6
>> > >
>> > > After it shows the following logo
>> > >
>> > > C:\software\apache-karaf-4.1.6\bin>karaf
>> > > __ __ ____
>> > > / //_/____ __________ _/ __/
>> > > / ,< / __ `/ ___/ __ `/ /_
>> > > / /| |/ /_/ / / / /_/ / __/
>> > > /_/ |_|\__,_/_/ \__,_/_/
>> > >
>> > > Apache Karaf (4.1.6)
>> > >
>> > > Hit '<tab>' for a list of available commands
>> > > and '[cmd] --help' for help on a specific command.
>> > > Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
>> > Karaf.
>> > >
>> > > karaf@root()>
>> > >
>> > > karaf@root()> list
>> > > START LEVEL 100 , List Threshold: 50
>> > >
>> > >
>> > > I type the following command, Karaf seems to be freezed up
>> withut any
>> > > response.
>> > >
>> > > I need to kill Karaf process manually and restart karaf
>> Karaf again.
>> > >
>> > > Same issue if I type the above command again.
>> > >
>> > > The same issue also happens in Karaf v4.2.0
>> > >
>> > > Is it a bug?
>> > >
>> > > Best Rgds,
>> > >
>> > > Tom Leung
>> > >
>> > >
>> > >
>> >
>> > --
>> > Jean-Baptiste Onofré
>> > jbonofre@apache.org <ma...@apache.org>
>> <mailto:jbonofre@apache.org <ma...@apache.org>>
>> > http://blog.nanthrax.net
>> > Talend - http://www.talend.com
>> >
>> >
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf freezes up under MS-Windows
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Thanks for the update Scott.
I did tests in a term without problem. Let me try again.
Did I say that I hate Windows ? ;)
Regards
JB
On 30/11/2018 17:48, Leschke, Scott wrote:
> I've hesitated to say anything since I wasn't real sure how to verify but I've seen related behavior with 4.2.1 on Windows Server 2016.
>
> What I see happen is that if I run Karaf in a console, which I think is key, and I do a log:tail, at some point the display stops updating. Things start working if I hit enter or CTRL-C in the window.
>
> I have a warning message in my main control thread that if my thread runs long (which it should never do). When I hit a key in the console, I see the message indicating that it's not waking up from a timed sleep cycle. The thread has a 20 sec. polling cycle and does very little so it generally runs in a 100 or 200 hundred millis maybe.
>
> The control thread has a priority default+1 so it is the highest priority thread in the app. I have 4.2.0 that I run as a service on a couple of other machines and I've never seen this issue so I'm reasonably sure that the issue is related to running in a console window.
>
> Scott
>
> -----Original Message-----
> From: Jean-Baptiste Onofré <jb...@nanthrax.net>
> Sent: Thursday, November 29, 2018 11:06 PM
> To: user@karaf.apache.org
> Subject: Re: Karaf freezes up under MS-Windows
>
> Hi Tom,
>
> I'm not able to reproduce on the Win7 VM.
>
> Can you provide some details: JDK version, Windows language, ... ?
>
> Thanks,
> Regards
> JB
>
> On 30/11/2018 05:56, tom leung wrote:
>> Based on the latest Apache Karaf v4.1.7, run it on Windows 7.
>>
>> Still freeze up at Windows side after entering the command "list - t 0"
>> but the same symptom never happen at Linux side.
>>
>> So the bug is really related to MS-Windows.
>>
>> May you file this symptom as a bug.
>>
>> Best Rgds,
>>
>> Tom Leung
>>
>>
>>
>>
>> On Mon, Aug 13, 2018 at 1:03 PM Jean-Baptiste Onofré <jb@nanthrax.net
>> <ma...@nanthrax.net>> wrote:
>>
>> OK, let me try to reproduce (I think I still have a VM with Windows 7).
>>
>> Thanks,
>> Regards
>> JB
>>
>> On 13/08/2018 06:48, tom leung wrote:
>> > No response no matter what I type including "CTRL-C and hit ENTER"
>> >
>> > I have type the following command
>> >
>> > karaf@root()>
>> > karaf@root()> bundle:list -t 0
>> > START LEVEL 100 , List Threshold: 0
>> >
>> > Same issue, still freeze up after typing "CTRL-C" and hit ENTER
>> >
>> >
>> >
>> >
>> >
>> > On Mon, Aug 13, 2018 at 12:44 PM, Jean-Baptiste Onofré
>> <jb@nanthrax.net <ma...@nanthrax.net>
>> > <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
>> >
>> > Hi Tom,
>> >
>> > By freeze, you mean that you can type any command anymore in the
>> > console ?
>> >
>> > Did you try CTRL-C or typing ENTER after the command ?
>> > Does the same happen with bundle:list -t 0 command ?
>> >
>> > Nothing special in the karaf.log ?
>> >
>> > Regards
>> > JB
>> >
>> > On 13/08/2018 06:38, tom leung wrote:
>> > > I find the same issues happened in V4.1.6 anf v4.2.0
>> > >
>> > > At MS-Windows 64-bit Windows 7.0 professional version
>> > >
>> > >
>> > > I install a new fresh copy of Karaf v4.1.6
>> > >
>> > > After it shows the following logo
>> > >
>> > > C:\software\apache-karaf-4.1.6\bin>karaf
>> > > __ __ ____
>> > > / //_/____ __________ _/ __/
>> > > / ,< / __ `/ ___/ __ `/ /_
>> > > / /| |/ /_/ / / / /_/ / __/
>> > > /_/ |_|\__,_/_/ \__,_/_/
>> > >
>> > > Apache Karaf (4.1.6)
>> > >
>> > > Hit '<tab>' for a list of available commands
>> > > and '[cmd] --help' for help on a specific command.
>> > > Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
>> > Karaf.
>> > >
>> > > karaf@root()>
>> > >
>> > > karaf@root()> list
>> > > START LEVEL 100 , List Threshold: 50
>> > >
>> > >
>> > > I type the following command, Karaf seems to be freezed up
>> withut any
>> > > response.
>> > >
>> > > I need to kill Karaf process manually and restart karaf
>> Karaf again.
>> > >
>> > > Same issue if I type the above command again.
>> > >
>> > > The same issue also happens in Karaf v4.2.0
>> > >
>> > > Is it a bug?
>> > >
>> > > Best Rgds,
>> > >
>> > > Tom Leung
>> > >
>> > >
>> > >
>> >
>> > --
>> > Jean-Baptiste Onofré
>> > jbonofre@apache.org <ma...@apache.org>
>> <mailto:jbonofre@apache.org <ma...@apache.org>>
>> > http://blog.nanthrax.net
>> > Talend - http://www.talend.com
>> >
>> >
>>
>> --
>> Jean-Baptiste Onofré
>> jbonofre@apache.org <ma...@apache.org>
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
RE: Karaf freezes up under MS-Windows
Posted by "Leschke, Scott" <SL...@medline.com>.
I've hesitated to say anything since I wasn't real sure how to verify but I've seen related behavior with 4.2.1 on Windows Server 2016.
What I see happen is that if I run Karaf in a console, which I think is key, and I do a log:tail, at some point the display stops updating. Things start working if I hit enter or CTRL-C in the window.
I have a warning message in my main control thread that if my thread runs long (which it should never do). When I hit a key in the console, I see the message indicating that it's not waking up from a timed sleep cycle. The thread has a 20 sec. polling cycle and does very little so it generally runs in a 100 or 200 hundred millis maybe.
The control thread has a priority default+1 so it is the highest priority thread in the app. I have 4.2.0 that I run as a service on a couple of other machines and I've never seen this issue so I'm reasonably sure that the issue is related to running in a console window.
Scott
-----Original Message-----
From: Jean-Baptiste Onofré <jb...@nanthrax.net>
Sent: Thursday, November 29, 2018 11:06 PM
To: user@karaf.apache.org
Subject: Re: Karaf freezes up under MS-Windows
Hi Tom,
I'm not able to reproduce on the Win7 VM.
Can you provide some details: JDK version, Windows language, ... ?
Thanks,
Regards
JB
On 30/11/2018 05:56, tom leung wrote:
> Based on the latest Apache Karaf v4.1.7, run it on Windows 7.
>
> Still freeze up at Windows side after entering the command "list - t 0"
> but the same symptom never happen at Linux side.
>
> So the bug is really related to MS-Windows.
>
> May you file this symptom as a bug.
>
> Best Rgds,
>
> Tom Leung
>
>
>
>
> On Mon, Aug 13, 2018 at 1:03 PM Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
> OK, let me try to reproduce (I think I still have a VM with Windows 7).
>
> Thanks,
> Regards
> JB
>
> On 13/08/2018 06:48, tom leung wrote:
> > No response no matter what I type including "CTRL-C and hit ENTER"
> >
> > I have type the following command
> >
> > karaf@root()>
> > karaf@root()> bundle:list -t 0
> > START LEVEL 100 , List Threshold: 0
> >
> > Same issue, still freeze up after typing "CTRL-C" and hit ENTER
> >
> >
> >
> >
> >
> > On Mon, Aug 13, 2018 at 12:44 PM, Jean-Baptiste Onofré
> <jb@nanthrax.net <ma...@nanthrax.net>
> > <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
> >
> > Hi Tom,
> >
> > By freeze, you mean that you can type any command anymore in the
> > console ?
> >
> > Did you try CTRL-C or typing ENTER after the command ?
> > Does the same happen with bundle:list -t 0 command ?
> >
> > Nothing special in the karaf.log ?
> >
> > Regards
> > JB
> >
> > On 13/08/2018 06:38, tom leung wrote:
> > > I find the same issues happened in V4.1.6 anf v4.2.0
> > >
> > > At MS-Windows 64-bit Windows 7.0 professional version
> > >
> > >
> > > I install a new fresh copy of Karaf v4.1.6
> > >
> > > After it shows the following logo
> > >
> > > C:\software\apache-karaf-4.1.6\bin>karaf
> > > __ __ ____
> > > / //_/____ __________ _/ __/
> > > / ,< / __ `/ ___/ __ `/ /_
> > > / /| |/ /_/ / / / /_/ / __/
> > > /_/ |_|\__,_/_/ \__,_/_/
> > >
> > > Apache Karaf (4.1.6)
> > >
> > > Hit '<tab>' for a list of available commands
> > > and '[cmd] --help' for help on a specific command.
> > > Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
> > Karaf.
> > >
> > > karaf@root()>
> > >
> > > karaf@root()> list
> > > START LEVEL 100 , List Threshold: 50
> > >
> > >
> > > I type the following command, Karaf seems to be freezed up
> withut any
> > > response.
> > >
> > > I need to kill Karaf process manually and restart karaf
> Karaf again.
> > >
> > > Same issue if I type the above command again.
> > >
> > > The same issue also happens in Karaf v4.2.0
> > >
> > > Is it a bug?
> > >
> > > Best Rgds,
> > >
> > > Tom Leung
> > >
> > >
> > >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: Karaf freezes up under MS-Windows
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Tom,
I'm not able to reproduce on the Win7 VM.
Can you provide some details: JDK version, Windows language, ... ?
Thanks,
Regards
JB
On 30/11/2018 05:56, tom leung wrote:
> Based on the latest Apache Karaf v4.1.7, run it on Windows 7.
>
> Still freeze up at Windows side after entering the command "list - t 0"
> but the same symptom never happen at Linux side.
>
> So the bug is really related to MS-Windows.
>
> May you file this symptom as a bug.
>
> Best Rgds,
>
> Tom Leung
>
>
>
>
> On Mon, Aug 13, 2018 at 1:03 PM Jean-Baptiste Onofré <jb@nanthrax.net
> <ma...@nanthrax.net>> wrote:
>
> OK, let me try to reproduce (I think I still have a VM with Windows 7).
>
> Thanks,
> Regards
> JB
>
> On 13/08/2018 06:48, tom leung wrote:
> > No response no matter what I type including "CTRL-C and hit ENTER"
> >
> > I have type the following command
> >
> > karaf@root()>
> > karaf@root()> bundle:list -t 0
> > START LEVEL 100 , List Threshold: 0
> >
> > Same issue, still freeze up after typing "CTRL-C" and hit ENTER
> >
> >
> >
> >
> >
> > On Mon, Aug 13, 2018 at 12:44 PM, Jean-Baptiste Onofré
> <jb@nanthrax.net <ma...@nanthrax.net>
> > <mailto:jb@nanthrax.net <ma...@nanthrax.net>>> wrote:
> >
> > Hi Tom,
> >
> > By freeze, you mean that you can type any command anymore in the
> > console ?
> >
> > Did you try CTRL-C or typing ENTER after the command ?
> > Does the same happen with bundle:list -t 0 command ?
> >
> > Nothing special in the karaf.log ?
> >
> > Regards
> > JB
> >
> > On 13/08/2018 06:38, tom leung wrote:
> > > I find the same issues happened in V4.1.6 anf v4.2.0
> > >
> > > At MS-Windows 64-bit Windows 7.0 professional version
> > >
> > >
> > > I install a new fresh copy of Karaf v4.1.6
> > >
> > > After it shows the following logo
> > >
> > > C:\software\apache-karaf-4.1.6\bin>karaf
> > > __ __ ____
> > > / //_/____ __________ _/ __/
> > > / ,< / __ `/ ___/ __ `/ /_
> > > / /| |/ /_/ / / / /_/ / __/
> > > /_/ |_|\__,_/_/ \__,_/_/
> > >
> > > Apache Karaf (4.1.6)
> > >
> > > Hit '<tab>' for a list of available commands
> > > and '[cmd] --help' for help on a specific command.
> > > Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown
> > Karaf.
> > >
> > > karaf@root()>
> > >
> > > karaf@root()> list
> > > START LEVEL 100 , List Threshold: 50
> > >
> > >
> > > I type the following command, Karaf seems to be freezed up
> withut any
> > > response.
> > >
> > > I need to kill Karaf process manually and restart karaf
> Karaf again.
> > >
> > > Same issue if I type the above command again.
> > >
> > > The same issue also happens in Karaf v4.2.0
> > >
> > > Is it a bug?
> > >
> > > Best Rgds,
> > >
> > > Tom Leung
> > >
> > >
> > >
> >
> > --
> > Jean-Baptiste Onofré
> > jbonofre@apache.org <ma...@apache.org>
> <mailto:jbonofre@apache.org <ma...@apache.org>>
> > http://blog.nanthrax.net
> > Talend - http://www.talend.com
> >
> >
>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org <ma...@apache.org>
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com