Hi All, In CDMF, When we install DAS feature with along the IS (4.6.0-M2) features. Then we found IS features doesn't get activated. When we track the issue we were able find that IS depends on slf4j version from 1.6.0 to 1.7.0 and DAS depends on version from 1.7.0 to 1.8.0 Further we have both the slf4j 1.7.10 and 1.6.1 libraries within our pack. Yet only slf4j 1.7.10 gets activated. The reason for this problem was:
slf4j 1.6.1 imports a package "org.slf4j.impl" and when slf4j 1.7.10 and 1.6.1 both has been used on the same product, then on slf4j- version 1.6.1 imports ("org.slf4j.impl" ) gets wired with 1.7.10 because the version has been given as a single value rather a range. Due to this it doesn't get activated. Therefore we have to increase the range of slf4j from [1.6.1,1.7) to [1.6.1,1.8) . The change wont have any effect because [1], slf4j is compatible between 1.6.x and 1.7.x Therefore I believe we have to only depend on latest slf4j version. where having both causes the problem on wiring. So I think we have to update the slf4j version on IS. This will arise a problem where IS dependent library also needs to use the slf4j 1.7 range. If there is any other solution please let know. [1] http://www.slf4j.org/manual.html Thanks *Ayyoob Hamza* *Software Engineer* WSO2 Inc.; http://wso2.com email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev