Deploying OSGi Servlet to Domino

南笙酒味 提交于 2019-12-20 04:15:17

问题


I have written a servlet using the directions in this tutorial: http://www.slideshare.net/fiorep/domino-osgi-development slides 34 to 57. This worked well and was easy to debug when deployed via the pde.launch.ini. Now I want to work out how to deploy it to another server.

From what I can figure out, I think the preferred way is to create an OSGi bundle and deploy it via an updatesite.nsf. When I try to add a new local update site to the update site, it prompts me for a site.xml. This is where it falls apart for me - where does that file come from? Have I missed some steps?


回答1:


When you want go to update site way, you first need to create a feature project, add the required plugins to this project. Afterwards you need to create an Update site and the Feature project. Finally click on build or build All. Then there you have you have your update site somewhere on your local machine. Point to the site.xml of this update site project when you want to import it in a update site Database.




回答2:


For your OSGi project you have to create another project of type "Updatesite project". Add your OSGi project and all dependencies to that project and build it. This project will generate/contain the site.xml you need to deploy on Domino via the updatesite.nsf.

https://wiki.eclipse.org/FAQ_How_do_I_create_an_update_site_(site.xml)%3F



来源:https://stackoverflow.com/questions/32904840/deploying-osgi-servlet-to-domino

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!