Re: [I] http_admin web can not visit (celix)

2023-07-21 Thread via GitHub


PengZheng commented on issue #592:
URL: https://github.com/apache/celix/issues/592#issuecomment-1646495414

   > i found must use command "quit" to quit . If quit with "ctrl+c" or 
"ctrl+r" , it will course muti process are running . I suggest whether to 
consider adding these two signals because it is more in line with the exit 
habit of the program ?
   
   I check the example on my machine, `ctrl+c` worked as expected.
   I also checked the source code, and founded that `SIGINT` is dealt with the 
following:
   
   
https://github.com/apache/celix/blob/456de193fbdc07e02bd7afa0d7cf4e22c67dbe0d/libs/framework/src/celix_launcher.c#L123-L132
   
   
https://github.com/apache/celix/blob/456de193fbdc07e02bd7afa0d7cf4e22c67dbe0d/bundles/shell/shell_tui/src/shell_tui.c#L167-L208
   
   If it still does not work on your machine, you can reopen this and add more 
contextual information to help us find the root cause. Of course, you can 
investigate yourself. A bug fixing pull request is always welcomed.
   
   PS: `ctrl+r` usually means reverse history search, and is not the expected 
way of quitting.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] http_admin web can not visit (celix)

2023-07-20 Thread via GitHub


tonychen0924 commented on issue #592:
URL: https://github.com/apache/celix/issues/592#issuecomment-1643442397

   Ok,After kill other same process ,it can visit successfully . thanks for 
your answer .
   
   i found must use command "quit" to quit . If quit with "ctrl+c" or "ctrl+r" 
, it will course muti process are running . I suggest whether to consider 
adding these two signals because it is more in line with the exit habit of the 
program ?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] http_admin web can not visit (celix)

2023-07-19 Thread via GitHub


PengZheng closed issue #592: http_admin web can not visit
URL: https://github.com/apache/celix/issues/592


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] http_admin web can not visit (celix)

2023-07-19 Thread via GitHub


PengZheng commented on issue #592:
URL: https://github.com/apache/celix/issues/592#issuecomment-1643299110

   It seems that you have many instances of `http_exmaple_cnt` running in the 
background.
   For this example, you only need one instance running in **foreground**.
   Kill all these instances, and then keep one instance in foreground. You 
should be able to enter `lb` command for a foreground instance like this:
   
   ```BASH
./http_example_cntd 
   HTTP Admin started at port 8080
   -> [2023-07-20T13:53:44] [   info] [celix_framework] [framework_start:481] 
Celix framework started
   -> lb
 Bundles:
 IDStateName Group  
 
 0 ACTIVE   Celix Framework  
Celix/Framework 
 1 ACTIVE   Apache Celix HTTP Admin  
Celix/HTTP_admin
 2 ACTIVE   Apache Celix C Shell Celix/Shell
 
 3 ACTIVE   Apache Celix Shell WUI   Celix/Shell
 
 4 ACTIVE   Apache Celix Shell TUI   Celix/Shell
 
 5 ACTIVE   Apache Celix HTTP Example   
 
   
   
   ->  # Here you should have a prompt
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]