扩展库osgi没有正确加载 [英] Extension Library osgi not loading properly

查看:146
本文介绍了扩展库osgi没有正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的一个客户网站上,他们删除了updatesite.nsf,并创建了一个新的(同名)将最新的扩展库安装到updatesite.nsf中,并由拥有所有管理员权限的人签名。



是否:
告诉HTTP退出
加载http



加载HTTP时控制台消息是:



HTTP JVM:NotesException:无效的副本ID(updatesite.nsf)



关闭服务器关闭并重新启动它,加载HTTP时出现相同的错误。我在我设置的新服务器上发生了类似这样的事情但是服务器没有设置为拥有管理员权限。我不知道之前的updatesite.nsf是否会在删除它之前发生这种情况。



我尝试了很多东西。任何想法

解决方案

经过多次挫折之后我终于开始运行了,这就是我们需要做的事情:


  1. 将Notes.ini中的引用删除到服务器配置文档中的OSGI_HTTP_DYNAMIC_BUNDLES,清除值和参数。

  2. 删除了服务器上的updatesite.nsf(实际上只是把它移到了Data文件夹之外。

  3. 我试过控制台重新启动服务器但是没有用。最后去了Windows服务并实际上已停止服务。

  4. 再次启动服务。但是,在服务器启动时出现错误消息,指出更新站点的repid无效。

  5. 从控制台告诉http osgi ss com.ibm.xsp.extlib并得到一个如此默认安装的干净列表:



    <告诉http os os ss com.ibm.xsp.extlib
    07/08/2015 10:27:54 AM框架已经启动。
    07/08/2015 10:27:54 AM id State Bundle
    07/08/2015 10:27:54 AM 91<> com.ibm.xsp.extlib.controls_9.0.1.v00_00_20140801-1000
    07/08/2015 10:27: 54 AM 92<> com.ibm.xsp.extlib.core_9.0.1.v00_00_20140801-1000
    07/08/2015 10:27:54 AM 93<> com.ibm.xsp.extlib.domino_9。 0.1.v00_00_20140801-1000
    07/08/2015 10:27:54 AM 94<> com.ibm.xsp.extlib.mobile_9.0.1.v00_00_20140801-1000
    07/08/2015 10:上午27:54 95<> com.ibm.xsp.extlib.oneui_9.0.1.v00_00_20140801-1000
    07/08/2015 10:27:54 AM 96<> com.ibm.xsp.extlib_9。 0.1.v00_00_20140801-1000


  6. 停止Domino服务并再次启动它,没有引用updatesite.nsf


  7. 创建了一个新的updatesite1.nsf并导入了最新的扩展库并签署了内容。

  8. 添加了指向updatesite1.nsf的OSGI_HTTP_DYNAMIC_BUNDLES

  9. 停止多米诺骨牌服务,然后重新开始it它。

  10. 启动时加载了正确的OSGI而没有错误,并列出了正确的扩展库组件。

我曾尝试使用告诉HTTP退出并加载HTTP但这不起作用,只有当我完全关闭服务器时这些变化真的发生了吗?
如果你需要删除一个更新站,规则一非常小心!


On one of my clients sites they deleted the updatesite.nsf and created a new one (with the same name) installed the latest Extension Library into the updatesite.nsf and signed the content by a person with All Admin Rights.

Did: tell HTTP quit load http

When it loaded the HTTP the console message is:

HTTP JVM: NotesException: Invalid replica id (updatesite.nsf)

Shut the server down and restarted it with the same error when it came to load the HTTP. I had something like this happen on a new server I set up but the server was not set to have the admin rights. I don't know if this was happening with the previous updatesite.nsf before they deleted it.

Pretty much tried everything I can think of. Any ideas

解决方案

Well after much frustration I finally got them up and running and here is what we needed to do:

  1. remove the reference in the Notes.ini to OSGI_HTTP_DYNAMIC_BUNDLES in the server configuration document clear both the value and the parameter.
  2. deleted the updatesite.nsf on the server (actually just moved it outside of the Data folder.
  3. I tried just console restart of the server but did not work. Finally went to the Windows Services and actually stopped the service.
  4. Started the service again. However, on the server start up there was the error message that there was an invalid repid for the update site.
  5. from the console tell http osgi ss com.ibm.xsp.extlib and got a clean list of the default installed like this:

    tell http osgi ss com.ibm.xsp.extlib 07/08/2015 10:27:54 AM Framework is launched. 07/08/2015 10:27:54 AM id State Bundle 07/08/2015 10:27:54 AM 91 <> com.ibm.xsp.extlib.controls_9.0.1.v00_00_20140801-1000 07/08/2015 10:27:54 AM 92 <> com.ibm.xsp.extlib.core_9.0.1.v00_00_20140801-1000 07/08/2015 10:27:54 AM 93 <> com.ibm.xsp.extlib.domino_9.0.1.v00_00_20140801-1000 07/08/2015 10:27:54 AM 94 <> com.ibm.xsp.extlib.mobile_9.0.1.v00_00_20140801-1000 07/08/2015 10:27:54 AM 95 <> com.ibm.xsp.extlib.oneui_9.0.1.v00_00_20140801-1000 07/08/2015 10:27:54 AM 96 <> com.ibm.xsp.extlib_9.0.1.v00_00_20140801-1000

  6. stopped the Domino Service and started it again got a clean start with no reference to the updatesite.nsf

  7. created a new updatesite1.nsf and imported the latest extension library and signed the content.
  8. added the OSGI_HTTP_DYNAMIC_BUNDLES pointing to updatesite1.nsf
  9. Stopped the domino service then restarted it.
  10. startup loaded the correct OSGI without error and lists the correct extension library components.

I had tried this using tell HTTP quit and load HTTP but this did not work, only when I did a complete shutdown of the server did the changes really take place. Rule number one be very careful if you need to delete an updatesite!

这篇关于扩展库osgi没有正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆