无法让服务器识别并从updateSite.nsf加载osgi(Can't get a server to recognize and load the osgi from updateSite.nsf)
我已经将openNTF扩展库和BootStrap库都导入到我的updateSte.nsf中,并且对于扩展库版本9.0.1.v00_11_20141217-1000和Bootstrap库的1.0.0.201407020945都看起来没问题。 我在服务器配置中添加了OSGI_HTTP_DYNAMIC_BUNDLES = UpdateSiteEXT.nsf
告诉HTTP重启
告诉HTTP osgi ss org.openntf.bootstrap
没有列出任何包
告诉HTTP osgi ss org.openntf.extlib
同样没有列出任何包裹
告诉HTTP osgi ss com.ibm.extlib
我得到了一个ibm扩展库列表。
我有这个在另一台服务器上工作,但似乎无法让它在新服务器上工作。 我错过了什么吗?
一些进一步的信息:我删除了原来的updatesite DB。 我创建了一个新的updatesite.nsf并导入了openntf extLib站点和bootstrap,看起来很好。 我使用活动服务器ID对DB进行了签名。 使用服务器文档中的配置更改配置以指向updatesite.nsf关闭服务器并检查Notes.ini实际上是否指向正确的数据库 - 它是。 重新启动服务器,日志如下所示:
14/01/2015 10:34:59 AM HTTP Server: Using Web Configuration View 14/01/2015 10:34:59 AM AMgr: Executive '1' started. Process id '4248' 14/01/2015 10:35:06 AM Domino OSGi Tasklet Container started ( profile DOTS ) 14/01/2015 10:35:07 AM JVM: Java Virtual Machine initialized. 14/01/2015 10:35:07 AM HTTP Server: Java Virtual Machine loaded 14/01/2015 10:35:07 AM HTTP Server: DSAPI Domino Off-Line Services HTTP extension Loaded successfully 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2200I: Running iNotes Widget automatic update. 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2201W: There is no iNotes Widget automatic update group configured. Update will not run. 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2203I: iNotes Widget automatic update has finished. 14/01/2015 10:35:19 AM XSP Command Manager initialized 14/01/2015 10:35:20 AM HTTP Server: Started
告诉http osgi ss org.openntf.extlib 14/01/2015 11:12:21 AM框架已启动。 14/01/2015 11:12:21 AM id State Bundle
告诉http os os ss org.openntf.bootstrap 14/01/2015 11:13:07 AM框架已启动。 14/01/2015 11:13:07 AM id State Bundle
告诉http osgi ss com.ibm.xsp.extlib 14/01/2015 11:13:49 AM框架已启动。 14/01/2015 11:13:49 AM id State Bundle 14/01/2015 11:13:49 AM 91 <> com.ibm.xsp.extlib.controls_9.0.1.v00_00_20140801-1000 14/01/2015 11: 13:49 AM 92 <> com.ibm.xsp.extlib.core_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 93 <> com.ibm.xsp.extlib.domino_9.0.1.v00_00_20140801- 1000 14/01/2015 11:13:49 AM 94 <> com.ibm.xsp.extlib.mobile_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 95 <> com.ibm.xsp。 extlib.oneui_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 96 <> com.ibm.xsp.extlib_9.0.1.v00_00_20140801-1000
我删除了几个与此问题无关的行。 我没有看到任何关于加载osgi的引用,但任务确实开始了。 它加载了com.ibm.xsp.extlib而不是org.openntf.ext和org.openntf.bootstrap,它们似乎在updatesite.nsf中正确加载了我可以运行tell http osgi ss com.ibm.xsp.extlib并得到正确的列表,但没有为org.openntf.extlib获取任何内容,而不是bootstrap。 它们看起来好像启动过程忽略了来自updatesite.nsf的负载。
每次都重启完整的服务器! updatesite.nsf由活动服务器ID签名,我已经签署了内容,我是拥有所有权限的服务器的管理员。
这真的很奇怪,因为我在同一个组织中的另一台服务器上工作。 我不应该在其他任何地方做出改变吗? 我必须错过一些相当简单的东西,但不知道是什么。
I have imported both the openNTF extension library and the BootStrap library into my updateSte.nsf and that all looks OK with version 9.0.1.v00_11_20141217-1000 for the extension Library and 1.0.0.201407020945 for the Bootstrap Library. I have added in the server config OSGI_HTTP_DYNAMIC_BUNDLES=UpdateSiteEXT.nsf
then tell HTTP restart
tell HTTP osgi ss org.openntf.bootstrap
does not list any packages
tell HTTP osgi ss org.openntf.extlib
likewise does not list any packages
tell HTTP osgi ss com.ibm.extlib
and I get a list of the ibm extension libraries.
I have this working on another server but can't seem to get it to work on a new server. Am I missing something?
Some further information: I deleted the original updatesite DB. I created a new updatesite.nsf and imported the openntf extLib site and the bootstrap and that looks fine. I signed the DB with the active Server ID. Changed the configuration to point to updatesite.nsf using the configuration in the server document Shut down server and check that the Notes.ini was in fact pointing to the correct DB - it was. restarted the server and the log looks like this:
14/01/2015 10:34:59 AM HTTP Server: Using Web Configuration View 14/01/2015 10:34:59 AM AMgr: Executive '1' started. Process id '4248' 14/01/2015 10:35:06 AM Domino OSGi Tasklet Container started ( profile DOTS ) 14/01/2015 10:35:07 AM JVM: Java Virtual Machine initialized. 14/01/2015 10:35:07 AM HTTP Server: Java Virtual Machine loaded 14/01/2015 10:35:07 AM HTTP Server: DSAPI Domino Off-Line Services HTTP extension Loaded successfully 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2200I: Running iNotes Widget automatic update. 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2201W: There is no iNotes Widget automatic update group configured. Update will not run. 14/01/2015 10:35:07 AM [DOTS] (UpdateWidgetsTask) CLFWW2203I: iNotes Widget automatic update has finished. 14/01/2015 10:35:19 AM XSP Command Manager initialized 14/01/2015 10:35:20 AM HTTP Server: Started
tell http osgi ss org.openntf.extlib 14/01/2015 11:12:21 AM Framework is launched. 14/01/2015 11:12:21 AM id State Bundle
tell http osgi ss org.openntf.bootstrap 14/01/2015 11:13:07 AM Framework is launched. 14/01/2015 11:13:07 AM id State Bundle
tell http osgi ss com.ibm.xsp.extlib 14/01/2015 11:13:49 AM Framework is launched. 14/01/2015 11:13:49 AM id State Bundle 14/01/2015 11:13:49 AM 91 <> com.ibm.xsp.extlib.controls_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 92 <> com.ibm.xsp.extlib.core_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 93 <> com.ibm.xsp.extlib.domino_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 94 <> com.ibm.xsp.extlib.mobile_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 95 <> com.ibm.xsp.extlib.oneui_9.0.1.v00_00_20140801-1000 14/01/2015 11:13:49 AM 96 <> com.ibm.xsp.extlib_9.0.1.v00_00_20140801-1000
I removed a few lines that are not relevant to this issue. I do not see any reference to the loading of the osgi but the task did start. It loaded the com.ibm.xsp.extlib but not the org.openntf.ext nor org.openntf.bootstrap which appear to be properly loaded in the updatesite.nsf I can run the tell http osgi ss com.ibm.xsp.extlib and get the proper list but get nothing for the org.openntf.extlib not the bootstrap. They just looks as if the boot process is ignoring the load from updatesite.nsf.
Have done a full server restart every time! updatesite.nsf signed by the active server ID and I have signed the content, I'm the Admin of the server with all rights.
This is really weird because I have it working on another server in the same Org. I should not have to make changes anywhere else should I? I've got to be missing something fairly simple but no idea what.
原文:https://stackoverflow.com/questions/27933567