Changing port value configureApplicationServer attribute Worklight

对着背影说爱祢 提交于 2020-01-06 08:18:49

问题


I am using Worklight 6.0.0.1 with Oracle as Backend Database.

I have two DB servers, one is listening on port 1525 (standard port) while other is listening on 1526.

I am trying to deploy a war file through ant on my worklight server. I used the template configure-liberty-oracle.xml and it worked like a charm while connecting to the DB server listening on Port 1525.

However, when I am trying to deploy the WAR file with Oracle DB (port 1526), it is not able to connect. Apparently port 1525 is mentioned somewhere in Worklight under the attribute configureApplicationServer.

Does anybody has any idea where can I change the connection port for Oracle DB?


回答1:


The connection port for an Oracle DBMS is specified in the <oracle server=... database... .../> element, as documented. Just add port="1526" in there.

The configuration samples use the default port, 1521.



来源:https://stackoverflow.com/questions/22657682/changing-port-value-configureapplicationserver-attribute-worklight

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