Hi Prakhash,

Once you built the product-esb repo locally, ESB pack will be created in
below location.

product-esb/modules/distribution/target/wso2esb-<version>.zip


Unzip the pack and execute wso2server.sh file inside /repository/bin/
folder.

Thanks.

On Sun, May 8, 2016 at 6:43 PM, Prakhash Sivakumar <[email protected]>
wrote:

> Hi all,
> I'm trying to build ESB from the source, I'm getting the following error
> when I try to execute ./wso2server.sh command inside
> product-esb/modules/p2-profile/target/wso2carbon-core-4.4.5/bin/ after the
> build.
>
> org.apache.synapse.SynapseException: The synapse.xml location ././
>         ./repository/deployment/server/synapse-configs
>     /default doesn't exist
> at
> org.apache.synapse.SynapseControllerFactory.handleFatal(SynapseControllerFactory.java:121)
> at
> org.apache.synapse.SynapseControllerFactory.validatePath(SynapseControllerFactory.java:113)
> at
> org.apache.synapse.SynapseControllerFactory.validate(SynapseControllerFactory.java:88)
> at
> org.apache.synapse.SynapseControllerFactory.createSynapseController(SynapseControllerFactory.java:44)
> at org.apache.synapse.ServerManager.init(ServerManager.java:103)
> at
> org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:451)
> at
> org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:196)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
>
> I checked for the the required synapse.xml file, there are no any files
> inside the location
> (/modules/p2-profile/target/wso2carbon-core-4.4.5/repository/deployment/server/synapse-configs/default)
>
> I tried to change the location axis2.xml file where I found synapse
>    <!-- Synapse Configuration file -->
>     <parameter name="SynapseConfig.ConfigurationFile" locked="false">
>         ./repository/deployment/server/synapse-configs
>     </parameter>
>
> still it is not working.Please guide me to do changes in these
> configuration files to execute it correctly
>
> Thanks
>
>
> --
> Prakhash Sivakumar
> Software Engineer
> WSO2 Inc: http://wso2.com
> Mobile : +94771510080
> Blog : https://medium.com/@PrakhashS
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Jagath Ariyarathne
Technical Lead
WSO2 Inc.  http://wso2.com/
Email: [email protected]
Mob  : +94 77 386 7048
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to