You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "xipki (via GitHub)" <gi...@apache.org> on 2026/02/05 22:49:51 UTC

[I] Karaf console does not show the printed message without delay [karaf]

xipki opened a new issue, #2267:
URL: https://github.com/apache/karaf/issues/2267

   In karaf 4.4.9, the message printed to the System.out via System.out.print(message) will be shown on the karaf console with long delay. In 4.4.8 there is no problem.
   
   ```
   karaf@root()> info
   Karaf
     Karaf version               4.4.9
     Karaf home                  xxx
     Karaf base                  xxx
     OSGi Framework              org.apache.felix.framework-7.0.5
   
   JVM
     Java Virtual Machine        OpenJDK 64-Bit Server VM version 17.0.10+7-LTS
     Version                     17.0.10
     Vendor                      Azul Systems, Inc.
     Pid                         35967
     Uptime                      12 minutes
     Process CPU time            2 minutes
     Process CPU load            0.00
     System CPU load             0.00
     Open file descriptors       91
     Max file descriptors        10,240
     Total compile time          10.870 seconds
   Threads
     Live threads                25
     Daemon threads              18
     Peak                        65
     Total started               208
   Memory
     Current heap size           117,101 kbytes
     Maximum heap size           4,718,592 kbytes
     Committed heap size         462,848 kbytes
     Pending objects             0
     Garbage collector           Name = 'G1 Young Generation', Collections = 849, Time = 0.401 seconds
     Garbage collector           Name = 'G1 Old Generation', Collections = 0, Time = 0.000 seconds
   Classes
     Current classes loaded      12,509
     Total classes loaded        12,510
     Total classes unloaded      1
   Operating system
     Name                        Mac OS X version 26.0.1
     Architecture                aarch64
     Processors                  11
     Total physical memory       18,874,368 kbytes
     Free physical memory        191,472 kbytes
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Karaf console does not show the printed message without delay [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2267:
URL: https://github.com/apache/karaf/issues/2267#issuecomment-3860528093

   Thanks for the ticket. Let me try to reproduce it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Karaf console does not show the printed message without delay [karaf]

Posted by "holgerfriedrich (via GitHub)" <gi...@apache.org>.
holgerfriedrich closed issue #2267: Karaf console does not show the printed message without delay
URL: https://github.com/apache/karaf/issues/2267


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Karaf console does not show the printed message without delay [karaf]

Posted by "jbonofre (via GitHub)" <gi...@apache.org>.
jbonofre commented on issue #2267:
URL: https://github.com/apache/karaf/issues/2267#issuecomment-3919525666

   Not sure it's exactly the same issue as KARAF-7623 is related to ssh.
   I will reproduce locally and I will investigate.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Karaf console does not show the printed message without delay [karaf]

Posted by "lichtin (via GitHub)" <gi...@apache.org>.
lichtin commented on issue #2267:
URL: https://github.com/apache/karaf/issues/2267#issuecomment-3919488193

   Might be related to [KARAF-7623](https://issues.apache.org/jira/browse/KARAF-7623) the Karaf shell is not flushing output.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Karaf console does not show the printed message without delay [karaf]

Posted by "xipki (via GitHub)" <gi...@apache.org>.
xipki commented on issue #2267:
URL: https://github.com/apache/karaf/issues/2267#issuecomment-3916656416

   Steps to reproduce the bug:
   1. Unpack the attached maven project (bug2267-shell.zip), run `mvn clean install` to get `bug2267-shell-1.0.0.jar`
   2. Unpack `apache-karaf-minimal-4.4.9.tar.gz`
   3. Start bin/karaf to start karaf console.
   4. In the karaf console: install the jar file `bug2267-shell-1.0.0.jar` and start the bundle
   5. In the karaf console: call `xi:bug2267`.
   
   [bug2267-shell.zip](https://github.com/user-attachments/files/25372736/bug2267-shell.zip)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@karaf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org