Felix笔记5-Felix Web Management Console

本文介绍如何安装Web管理控制台(WMC)及其依赖项,包括可选的HTTP服务实现和附加功能。此外,还提供了如何配置HTTP服务及Web控制台的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Install WMC

1.1 添加依赖:

      一个Http Service 实现 ,可选在一下服务:

      Apache Felix Http Service,Pax Web Service,Equinox Http Service Implementation.

      可选依赖:

      OSGi Log Service: If installed, the console provides access to the log entries
      OSGi Configuration Admin Service and OSGi Metatype Service: If installed, the console

      provides configuration administration functionality
      Apache Felix Declarative Services: If installed, the console provides functionality
      to inspect declared components

1.2 VMC版本

      Full Variants:org.apache.felix.webconsole;

      Bare Varinats:org.apache.felix,wenconsole.bare,需另外安装:Apache Commons-io,

      Apache  Commons-fileupload,JSON

      Apache Commons IO: Library that provides common I/O functionality;
      Apache Commons FileUpload: For file upload functionality;
      JSON: For JavaScript Object Notation, a library that implements this simple data interchange

                format。

2.  访问

     http://localhost:8080/system/console/

     默认账号密码:admin/admin

3.  VMC配置

     (1)Http Service的配置

      配置监听端口:

      org.osgi.service.http.port默认为:8080, org.osgi.service.http.port=8080

     (2) 控制台的配置     

      The Web Console is configured using the OSGi Configuration Admin Service in that the

      Web Console registered a ManagedService with Service PID 

      org.apache.felix.webconsole.internal.servlet.OsgiManager .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值