我创建了一个osgi包,并使用Apache-karaf作为osgi容器。我正在测试一个应用程序,方法是将日志放在deploy文件夹中以部署应用程序。一切都很好。我已经在新的apache-karaf中验证了这一点,它像预期的那样工作,激活方法只被调用一次。注意:捆绑包是包含一些简单打印语句的应用程序。
1.Is this performance issue in Apache-karaf container for reaching more number of bundle ids or kind of
然后,我复制了该osgi jar文件(从bundle中),并将其放入apache-karaf/deploy文件夹中以部署该jar。然后我开始玩卡拉夫。我给出了osgi:install D:\apache-karaf\deploy\osgiSample.jar in karaf@root。但是我得到了像这样的错误...