문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top