问题
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