Hi all, I added slf4j-1.7.2 dependency to Cassandra server feature. Now build is fine. But Cassandra in CEP is not starting properly due to another OSGi dependency issue. That is apache-cassandra is not active due to some missing imports. But those are exported by slf4j. Here are information. Can someone please point out what's going wrong here?
*osgi> ss apache-cassandra* *"Framework is launched."* *id State Bundle* *10 INSTALLED apache-cassandra_1.2.13.wso2v6* *osgi> diag 10* *reference:file:../plugins/apache-cassandra_1.2.13.wso2v6.jar [10]* * Direct constraints which are unresolved:* * Missing imported package org.slf4j_[1.7.2,1.7.3).* * Missing imported package org.slf4j.helpers_[1.7.2,1.7.3).* *osgi> ss slf4j* *"Framework is launched."* *id State Bundle* *394 ACTIVE slf4j.api_1.6.1* *395 ACTIVE slf4j.api_1.7.2* * Fragments=397* *396 ACTIVE slf4j.api_1.7.5* * Fragments=398* *397 RESOLVED slf4j.log4j12_1.6.1* * Master=395* *398 RESOLVED slf4j.log4j12_1.7.2* * Master=396* *osgi> b 395* *slf4j.api_1.7.2 [395]* * Id=395, Status=ACTIVE Data Root=/home/ss/temp/product-cep/modules/distribution/target/wso2cep-4.0.0-SNAPSHOT/repository/components/default/configuration/org.eclipse.osgi/bundles/395/data* * "No registered services."* * No services in use.* * Exported packages* * org.slf4j; version="1.7.2"[exported]* * org.slf4j.spi; version="1.7.2"[exported]* * org.slf4j.helpers; version="1.7.2"[exported]* * Imported packages* * org.slf4j.impl; version="1.7.2"<slf4j.api_1.7.5 [396]>* * org.slf4j; version="1.7.5"<slf4j.api_1.7.5 [396]>* * org.slf4j.spi; version="1.7.5"<slf4j.api_1.7.5 [396]>* * org.slf4j.helpers; version="1.7.5"<slf4j.api_1.7.5 [396]>* * org.apache.log4j; version="1.2.17"<org.wso2.carbon.logging_4.3.0 [271]>* * Fragment bundles* * slf4j.log4j12_1.6.1 [397]* * Named class space* * slf4j.api; bundle-version="1.7.2"[provided]* * No required bundles* *osgi> b 398* *slf4j.log4j12_1.7.2 [398]* * Id=398, Status=RESOLVED Data Root=/home/ss/temp/product-cep/modules/distribution/target/wso2cep-4.0.0-SNAPSHOT/repository/components/default/configuration/org.eclipse.osgi/bundles/398/data* * "No registered services."* * No services in use.* * Exported packages* * org.slf4j.impl; version="1.7.2"[exported]* * No imported packages* * Host bundles* * slf4j.api_1.7.5 [396]* * No named class spaces* * No required bundles* *osgi> diag 398* *reference:file:../plugins/slf4j.log4j12_1.7.2.jar [398]* * No unresolved constraints.* Thanks, Bhathiya On Wed, Jan 28, 2015 at 10:07 PM, Bhathiya Jayasekara <[email protected]> wrote: > HI Suho, > > I'm working on it. > > Thanks, > Bhathiya > > On Wed, Jan 28, 2015 at 9:49 PM, Sriskandarajah Suhothayan <[email protected]> > wrote: > >> If Cassandra Server Feature require org.slf4j [1.7.2,1.7.3) >> specifically why aren't you not including that in the feature? >> Please fix this ASAP >> >> Thanks >> Suho >> >> On Wed, Jan 28, 2015 at 9:09 PM, Harsha Kumara <[email protected]> wrote: >> >>> Apparently it seems that slf4j 1.7.2 dependency not ship with the >>> Cassandra server feature. SS build was successful because of it comes from >>> data reader feature. >>> >>> [1] - >>> https://github.com/wso2/orbit/blob/master/cassandra/1.2.13.wso2v6/pom.xml >>> >>> On Wed, Jan 28, 2015 at 8:25 PM, Tishan Dahanayakage <[email protected]> >>> wrote: >>> >>>> HI, >>>> >>>> P2 generation of product CEP is failing[1] when installing Cassandra >>>> Server Feature 4.3.0.SNAPSHOT since it cannot satisfy dependency org.slf4j >>>> [1.7.2,1.7.3). After an offline chat with Harsha it was figured out that >>>> in carbon-storage-management repository that dependency is satisfied >>>> through another component. Can you please look into this and bundle sl4j >>>> with Cassandra Server Feature hence it can be installed independently. >>>> >>>> [1] https://wso2.org/jenkins/job/product-cep/325/ >>>> >>>> Thanks, >>>> Tishan >>>> >>>> -- >>>> Tishan Dahanayakage >>>> Software Engineer >>>> WSO2, Inc. >>>> Mobile:+94 716481328 >>>> >>>> Disclaimer: This communication may contain privileged or other >>>> confidential information and is intended exclusively for the addressee/s. >>>> If you are not the intended recipient/s, or believe that you may have >>>> received this communication in error, please reply to the sender indicating >>>> that fact and delete the copy you received and in addition, you should not >>>> print, copy, re-transmit, disseminate, or otherwise use the information >>>> contained in this communication. Internet communications cannot be >>>> guaranteed to be timely, secure, error or virus-free. The sender does not >>>> accept liability for any errors or omissions. >>>> >>> >>> >>> >>> -- >>> Harsha Kumara >>> Software Engineer, WSO2 Inc. >>> Mobile: +94775505618 >>> Blog:harshcreationz.blogspot.com >>> >> >> >> >> -- >> >> *S. Suhothayan* >> Technical Lead & Team Lead of WSO2 Complex Event Processor >> *WSO2 Inc. *http://wso2.com >> * <http://wso2.com/>* >> lean . enterprise . middleware >> >> >> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog: >> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter: >> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in: >> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>* >> > > > > -- > *Bhathiya Jayasekara* > *Software Engineer,* > *WSO2 inc., http://wso2.com <http://wso2.com>* > > *Phone: +94715478185 <%2B94715478185>* > *LinkedIn: http://www.linkedin.com/in/bhathiyaj > <http://www.linkedin.com/in/bhathiyaj>* > *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* > *Blog: http://movingaheadblog.blogspot.com > <http://movingaheadblog.blogspot.com/>* > -- *Bhathiya Jayasekara* *Software Engineer,* *WSO2 inc., http://wso2.com <http://wso2.com>* *Phone: +94715478185* *LinkedIn: http://www.linkedin.com/in/bhathiyaj <http://www.linkedin.com/in/bhathiyaj>* *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>* *Blog: http://movingaheadblog.blogspot.com <http://movingaheadblog.blogspot.com/>*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
