重新導入jar到domino數據庫的問題

[英]The issue with re import jar to domino database


When you import jar at the first time all is good, but when you make some changes and trying to re import your jar you realized that your old jar is stored somewhere and you can't delete it. I tried do this by hands, by synchronizing from local disk, by replication, nothing helps.

當你第一次導入jar時一切都很好,但是當你進行一些更改並嘗試重新導入你的jar時你意識到你的舊jar存儲在某個地方你無法刪除它。我試過這樣做,通過從本地磁盤同步,通過復制,沒有任何幫助。

May be someone knows how to delete old jar and import the new one.

可能有人知道如何刪除舊jar並導入新jar。

I know that when you rename new jar all is good. But I don't want to change version of my jar just because I don't know something about notes database.

我知道當你重新命名新jar時一切都很好。但是我不想改變我的jar版本,因為我對Notes數據庫一無所知。

3 个解决方案

#1


2  

Restart your HTTP task on Domino server after you changed a jar with server console command

使用server console命令更改jar后,在Domino服務器上重新啟動HTTP任務

restart task http

Otherwise the old version will still be used by JVM.

否則,舊版本仍將由JVM使用。

As an alternative you could add a version number to your jar like my-classes-1.0.1.jar. Then Domino knows that the new jar has to be used.

作為替代方案,您可以為您的jar添加版本號,如my-classes-1.0.1.jar。然后Domino知道必須使用新的jar。

#2


0  

In IBM Domino Designer select your project then chose from navigation Project>Clean.... Chose your project and then click OK.

在IBM Domino Designer中,選擇您的項目,然后從導航Project> Clean ....中選擇。選擇您的項目,然后單擊OK。

#3


0  

I found that after I imported a JAR I had to restart Designer, otherwise, it was not finding the classes in my Jar. After the restart it worked fine.

我發現在導入JAR之后我不得不重新啟動Designer,否則,它沒有找到我的Jar中的類。重啟后它工作正常。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2016/11/17/729f9a6329f671c7bcbc37c2194d6409.html



 
粤ICP备14056181号  © 2014-2020 ITdaan.com