更改端口值configureApplicationServer属性Worklight [英] Changing port value configureApplicationServer attribute Worklight

查看:126
本文介绍了更改端口值configureApplicationServer属性Worklight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Worklight 6.0.0.1与Oracle一起用作后端数据库。

I am using Worklight 6.0.0.1 with Oracle as Backend Database.

我有两个数据库服务器,一个正在侦听端口1525(标准端口),而另一个正在侦听1526.

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

我正在尝试通过我的worklight服务器上的ant部署war文件。我使用了configure-liberty-oracle.xml模板,它在连接到侦听端口1525的数据库服务器时就像一个魅力。

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.

但是,当我尝试使用Oracle DB(端口1526)部署WAR文件,它无法连接。显然端口1525在Worklight的某处提到属性 configureApplicationServer

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.

有没有人知道我在哪里可以改变Oracle DB的连接端口?

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

推荐答案

Oracle DBMS的连接端口在<中指定; oracle server = ... database ... ... /> 元素,如记录。只需在那里添加 port =1526

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

配置示例使用默认端口1521。

The configuration samples use the default port, 1521.

这篇关于更改端口值configureApplicationServer属性Worklight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆