简体   繁体   English

找不到IBM Content Navigator插件Jar文件

[英]the IBM Content Navigator Plugin Jar File was not found

I am working on an IBM Content Navigator Plugin . 我正在研究IBM Content Navigator插件 I want to add a new plugin to IBM Content Navigator . 我想向IBM Content Navigator添加一个新插件。 I have the jar file of the plugin uploaded to a WebSphere server, and I can reach that jar file by using the browser, 我已将插件的jar文件上传到WebSphere服务器,并且可以使用浏览器访问该jar文件,


however I get an error when I do the same using the IBM Content Navigator Plugin screen. 但是,当我使用IBM Content Navigator插件屏幕执行相同操作时出现错误。 I am unable to load the plugin jar file to IBM Content Navigator . 我无法将插件jar文件加载到IBM Content Navigator


I have tried both URL Path and File Path; 我已经尝试了URL路径和文件路径; I keep getting this error: " The plug-in JAR file was not found at the specified URL. Ensure that the JAR file is on the web application server and that the URL and file name are correct ." 我不断收到此错误:“ 在指定的URL上找不到插件JAR文件。请确保JAR文件在Web应用程序服务器上,并且URL和文件名正确 。”

Maybe the answer comes too late, but this can occurr when the Plugin-Class reference in the plugin's jar manifest is wrong or missing. 也许答案来得太迟,但是当插件的jar清单中的Plugin-Class引用错误或丢失时,就会出现这种情况。 In our manifest it was missing. 在我们的清单中,它不见了。

See also: 也可以看看:

https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014913620#77777777-0000-0000-0000-000014913713 https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014913620#77777777-0000-0000-0000-000014913713

I know this answer would not be useful for the person who posted this question 6 years ago, but can help fellow ICN developers to troubleshoot if they face this problem. 我知道这个答案对6年前发布此问题的人没有用,但是可以帮助其他ICN开发人员在遇到此问题时进行故障排除。

There could be couple of more possible scenarios other than mentioned by others :: 除了其他人提到的以外,可能还有更多其他可能的方案::

1) you dont have correct permissions on the JAR file. 1)您对JAR文件没有正确的权限。 Normally whenever I transfer the file on ICN server, I update the permissions on the JAR file to 777. 通常,每当我在ICN服务器上传输文件时,都会将JAR文件的权限更新为777。

2) Sometimes if you have deployed a plugin JAR file with name "ABC.jar" and you want to update the plugin, avoid using same name as the old JAR file name. 2)有时,如果您已经部署了名称为“ ABC.jar”的插件JAR文件,并且想要更新该插件,请避免使用与旧JAR文件名相同的名称。 ICN sometimes act weird to not recognize the JAR file with the old name. ICN有时会奇怪地无法识别具有旧名称的JAR文件。 Rename your new JAR file, say "ABC1.jar" and use it while configuring. 重命名新的JAR文件,说“ ABC1.jar”并在配置时使用它。

Hope this helps. 希望这可以帮助。

我曾经遇到过同样的问题,我的解决方案是重新启动Websphere服务器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM