Hi Indika, thanks for your explanation! Now it's clear to me. I noticed this only as we had to change our packaging mechanism. We internally provide one central configuration file for the whole WSO2 ESB and replace some placeholders in all the Synapse/WSO2 ESB configuration files (including synapse.properties) with these definitions. Regards, Eric
________________________________
Hi Eric
All configuration files should be located in the 'conf' directory. I moved the
'synape.properties' intentionally as in synapse , synapse.properties file was
loaded only with resource name 'synape.properties'. It was minor fix, but I
didn't do that because at that time(when I noticed synapse.properties file
isn't loading in the ESB), synapse code base has been frozen because of 1.2
release. Therefore, I temporally moved synapse.properties file out of the conf
directory. Now,I did the required changes to the synapse and also moved
synapse.properties file into the conf directory in ESB.
Thanks
Indika
Hubert, Eric wrote:
Hi all,
why did you move the synapse.properties from
wso2esb-${wso2.esb.version}/webapp/WEB-INF/classes/conf
one level up to
wso2esb-${wso2.esb.version}/webapp/WEB-INF/classes?
I don't understand the reasoning. According to the commit message of
Indika this might have something to do with sample 363. If I remember correctly
this was the one regarding the database connection pool definitions. Maybe some
issue with the classpath? So that the content of classes/conf was not in the
classpath of mediators? If this was the case, wouldn't it be better to extend
the classpath than to move this file?
This at least confuses the users and it would be better to have all
configuration files in one place. Or at least try to come as close as possible
to this requirement.
Regards,
Eric
________________________________
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
<<winmail.dat>>
_______________________________________________ Esb-java-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
