N Gupta
N Gupta

Reputation: 1

WSO2 ESB and WSO2 Data Services Server not running as Windows Services simultaneously on the same server

I have installed WSO2 DSS 3.5.0 and WSO2 ESB 4.9.0 on the same server as windows services with the ESB port offset = 1 in the carbon.xml file.

Both services when started separately are running fine but when I try to run both simultaneously then either DSS runs or ESB runs and the other service fails to start.

Seems like a port conflict somewhere but I am unable to find any relevant logs. Please help to resolve this issue. Log Files and Wrapper and Carbon Conf files attached

Upvotes: 0

Views: 443

Answers (1)

shavantha
shavantha

Reputation: 361

Please follow the blog post below[1] to overcome this issue. The blog explains how two services can be run as windows services.

Some important areas to consider when setting up two nodes as windows services are :
1.create two folders as 'esb_service' and 'dss_service'

2.As shown on[1] please update the esb_home and dss_home on the relevant places within the wrapper conf replacing the carbon_home

3.Make sure that the port offset of one of the two nodes is incremented by one to avoid port conflict.

4.start the two yajsw-stable-11.03 with installService.bat and startService.bat to get the services running

Note: I have tried this scenario using yajsw-stable-11.03 version.

[1]http://blog.lasindu.com/2015/05/how-to-start-two-or-more-wso2-servers.html

regards,shavantha

Upvotes: 1

Related Questions