Many versions on one IBM Websphere server

天涯浪子 提交于 2019-12-13 06:37:20

问题


Is it possible to deploy different versions of single application on one IBM Websphere Application Server (WAS)?

For example I have:

  1. App1 with url binding http://app/1.0/service/
  2. App2 with url binding http://app/2.0/service/

Is it possible? I think not due to port listening issue, but maybe there is some chance...


回答1:


It should be possible, but with some restrictions (depending on your application). If you have WAS ND 8.5.5, then you have Application Edition management feature. Read more details on that page.

If you are on the older version, you will have to change several things during deployment, e.g.:

  • context-root of the application
  • JNDI EJB binding names
  • if other version is using different database - update the JDBC references
  • if other version is using additional resources (like queues, qcf) update them also.

Actually, port listening has nothing to do with it, as both application will use same port, but different context-roots.

This of course assumes that application doesn't have hard coded values in it (like context root, jndi names, etc).



来源:https://stackoverflow.com/questions/29899295/many-versions-on-one-ibm-websphere-server

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