简体   繁体   English

Wso2 ESB 5工具端口偏移不起作用

[英]Wso2 esb 5 tooling port offset not working

I am using new Mars 2 with esb tooling. 我正在将新的Mars 2与esb工具配合使用。 I have added an local esb server with a carbon offset of 5. When I start run the server it starts correctly but the offset 5 does not have any impact none of the ports are incremented. 我添加了一个碳偏移量为5的本地esb服务器。当我开始运行服务器时,它可以正确启动,但偏移量5不会产生任何影响,所有端口都不会增加。 Starting the esb server from cmd works fine with offset. 从cmd启动esb服务器可以正常使用offset。

Anyone else faced the same issue? 还有其他人遇到同样的问题吗?

Here is the screen shot of the step while adding new server to eclipse, and I am giving the offset as 5 . 这是在eclipse中添加新服务器时步骤的屏幕截图,我将偏移量设置为5 But when i start the server it starts on the 9443. 但是,当我启动服务器时,它将在9443上启动。

在此处输入图片说明

The screen you have attached, actually reads values from configuration files inside ESB and populates accordingly. 您已连接的屏幕实际上是从ESB内的配置文件中读取值并相应地填充的。 So if you want an offset to your ports, then you should first change the following in <ESB_HOME> /repository/conf/carbon.xml 因此,如果要偏移端口,则应首先在<ESB_HOME> /repository/conf/carbon.xml中更改以下内容

<Offset>4</Offset>

There after if you load the server configuration, you will see the Carbon server offset correctly reflecting as you have specified as below. 在此之后,如果加载服务器配置,您将看到Carbon服务器偏移正确反映,如下所示。 The developer studio does not write values to files rather reads values from the them. Developer Studio不会将值写入文件,而是从文件中读取值。 So if a change is required to the default values, they should be first changed in the respective file. 因此,如果需要更改默认值,则应首先在相应文件中更改它们。

New server dialog box 新服务器对话框

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM