wso2端口问题

    xiaoxiao2021-03-25  88

    1、在同一台服务器上部署多个wso2产品,需手动调整端口,不然会引起端口冲突,wso2采用的是value+Offset端口设置模式,默认https端口为9443,如果设置了OffSet,那会https端口就会改变成9443+OffSet,例如:OffSet=2,那么https端口将为9445;

    修改地址为:<wso2_home>/repository/conf/carbon.xml  

      

    2、在部署wso2esb-analytics产品时,默认Offset为1,如果手动改变Offset就需要手动去wso2esb中修改相应参数,否则esb无法连接到analytics,

    具体修改<wso2esb_home>/repository/deployment/server/eventpublishers 下的两个文件:

    1)MessageFlowConfigurationPublisher.xml,默认情况下: 

         <property name="receiverURL">tcp://localhost:7612</property>     7612=value+Offset=7611+1

         如果改变analytics中的Offset为4,那么就应修改成:

        <property name="receiverURL">tcp://localhost:7615</property> 

    2)MessageFlowStatisticsPublisher.xml 同上

         默认为: <property name="receiverURL">tcp://localhost:7612</property>

    如果Offset为4,修改成:<property name="receiverURL">tcp://localhost:7615</property>

    转载请注明原文地址: https://ju.6miu.com/read-32327.html

    最新回复(0)