user2668165
user2668165

Reputation: 121

WSO2 server is not starting when running multiple servers

If I want to ESB and API Manager in the same machine to which server I should set the CARBON_HOME? IF setting CARBON_HOME for one server is enough?

Upvotes: 2

Views: 950

Answers (3)

Vanji
Vanji

Reputation: 1704

CARBON_HOME Term means that your current servers directory.You can think of Just like JAVA_HOME. You can have one server in one machine by changing the port offset in carbon.xml located in HOME/repository/conf/carbon.xml

Upvotes: 1

Isuru Gunawardana
Isuru Gunawardana

Reputation: 2887

No need of setting CARBON_HOME but you must give different offsets inWSO2_SERVER_HOME/repository/conf/carbon.xml in each wso2 server.

 <Offset>1</Offset>

default value is 0

Upvotes: 1

Ragavan
Ragavan

Reputation: 997

No need to set CARBON_HOME. You only need to set is JAVA_HOME. When carbon server starts up it automatically assigns it to its path. If you set CARBON_HOME manually you won't be able to run multiple servers on the same machine. If you have already set, remove it.

Upvotes: 2

Related Questions