On Fri, Oct 14, 2011 at 2:11 PM, Isuru Suriarachchi <[email protected]> wrote:
> > > On Fri, Oct 14, 2011 at 1:58 PM, Afkham Azeez <[email protected]> wrote: > >> I just realized that Samisa has seen this bug on the released AS 4.1.0. >> This is a bug in that release. We fixed it just before we launched >> StratosLive. > > > So the fix makes sure that only one slf4j (or any other jar) will be loaded > even if there are multiple jars in the class path right?? Is this committed > to 3.2.2 and trunk? If so, let's resolve the JIRA. > Not only SLF4J, it stops recursively loading jars. This was committed to trunk & the 3.2.1 branch IIRC. > > Thanks, > ~Isuru > > >> >> >> On Fri, Oct 14, 2011 at 12:18 PM, Afkham Azeez <[email protected]> wrote: >> >>> Oh! This was a bug we fixed in CarbonBootstrap class. It was recursively >>> loading jars, instead of loading it only from one level. Can you please >>> compare these classes in trunk & the 3.2.1 branch? >>> >>> >>> On Fri, Oct 14, 2011 at 10:57 AM, Isuru Suriarachchi <[email protected]>wrote: >>> >>>> Hi Samisa, >>>> >>>> Are you using a fresh AS instance? It looks like the following slf4j jar >>>> is coming from some custom webapp that you've deployed. >>>> >>>> >>>> /lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5. >>>> 8.jar >>>> >>>> On a fresh AS instance, I can't find any non-osgi slf4j jar. >>>> >>>> isuru@isuru-laptop:~/releases/as/410/temp/wso2as-4.1.0$ find . -iname >>>> slf4j* >>>> >>>> ./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-api-1.5.10.jar >>>> >>>> ./repository/components/configuration/org.eclipse.osgi/bundles/12/1/.cp/slf4j-log4j12-1.5.10.jar >>>> >>>> ./repository/components/configuration/org.eclipse.osgi/bundles/58/1/.cp/slf4j-log4j12-1.4.3.jar >>>> >>>> Can you please double check how the above slf4j jar gets in? Or try with >>>> a fresh AS instance? >>>> >>>> Thanks, >>>> ~Isuru >>>> >>>> On Fri, Oct 14, 2011 at 10:45 AM, Samisa Abeysinghe <[email protected]>wrote: >>>> >>>>> https://wso2.org/jira/browse/CARBON-11259 >>>>> >>>>> >>>>> On Fri, Oct 14, 2011 at 10:36 AM, Isuru Suriarachchi >>>>> <[email protected]>wrote: >>>>> >>>>>> >>>>>> >>>>>> On Fri, Oct 14, 2011 at 10:31 AM, Samisa Abeysinghe >>>>>> <[email protected]>wrote: >>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Oct 14, 2011 at 9:28 AM, Rajika Kumarasiri >>>>>>> <[email protected]>wrote: >>>>>>> >>>>>>>> slfj4 is bundled with qpid-client library and it's required for CSG. >>>>>>>> You can either remove qpid-client jar >>>>>>> >>>>>>> >>>>>>> I did this and it worked. >>>>>>> >>>>>>> However, this is a blocker and must be fixed in the next release. AS >>>>>>> folks, please note. >>>>>>> >>>>>> >>>>>> Sure, can you please create a JIRA with the full stack trace.. >>>>>> >>>>>> Thanks, >>>>>> ~Isuru >>>>>> >>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>> (if you don't use CSG) or remove the slf4j library in WEB-INF/lib >>>>>>>> folder. >>>>>>>> >>>>>>>> Rajika >>>>>>>> >>>>>>>> On Thu, Oct 13, 2011 at 6:57 PM, Samisa Abeysinghe <[email protected] >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> I cannot start AS 4.1.0 on my machine. >>>>>>>>> >>>>>>>>> I am on Windows 7 and JVM is >>>>>>>>> java version "1.6.0_26" >>>>>>>>> Java(TM) SE Runtime Environment (build 1.6.0_26-b03) >>>>>>>>> Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) >>>>>>>>> >>>>>>>>> SLF4J: Class path contains multiple SLF4J bindings. >>>>>>>>> SLF4J: Found binding in >>>>>>>>> [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/core/WEB-INF/lib/qpid-client-0.11.0.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>>>>>>>> SLF4J: Found binding in >>>>>>>>> [jar:file:/E:/testing/WSO2AS~1.0/bin/../lib/tomcat/work/Tomcat/defaulthost/icescrum/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class] >>>>>>>>> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for >>>>>>>>> an explanation. >>>>>>>>> java.lang.reflect.InvocationTargetException >>>>>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >>>>>>>>> Method) >>>>>>>>> at >>>>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>>>>>> at >>>>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>>>>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>>>>>>> at >>>>>>>>> org.wso2.carbon.bootstrap.Bootstrap.loadClass(Bootstrap.java:62) >>>>>>>>> at >>>>>>>>> org.wso2.carbon.bootstrap.Bootstrap.main(Bootstrap.java:43) >>>>>>>>> Caused by: java.lang.NoSuchMethodError: >>>>>>>>> org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V >>>>>>>>> at >>>>>>>>> org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133) >>>>>>>>> at >>>>>>>>> org.wso2.carbon.utils.multitenancy.CarbonContextHolder.<clinit>(CarbonContextHolder.java:137) >>>>>>>>> at org.wso2.carbon.server.Main.start(Main.java:78) >>>>>>>>> ... 6 more >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> Samisa... >>>>>>>>> >>>>>>>>> Samisa Abeysinghe >>>>>>>>> VP Engineering >>>>>>>>> WSO2 Inc. >>>>>>>>> http://wso2.com >>>>>>>>> http://wso2.org >>>>>>>>> >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> Carbon-dev mailing list >>>>>>>>> [email protected] >>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Carbon-dev mailing list >>>>>>>> [email protected] >>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>>> >>>>>>>> Thanks, >>>>>>> Samisa... >>>>>>> >>>>>>> Samisa Abeysinghe >>>>>>> VP Engineering >>>>>>> WSO2 Inc. >>>>>>> http://wso2.com >>>>>>> http://wso2.org >>>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Carbon-dev mailing list >>>>>>> [email protected] >>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Isuru Suriarachchi >>>>>> Technical Lead & Product Manager, WSO2 Application Server >>>>>> WSO2 Inc. http://wso2.com >>>>>> email : [email protected] >>>>>> blog : http://isurues.wordpress.com/ >>>>>> >>>>>> lean . enterprise . middleware >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Carbon-dev mailing list >>>>>> [email protected] >>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>> >>>>>> Thanks, >>>>> Samisa... >>>>> >>>>> Samisa Abeysinghe >>>>> VP Engineering >>>>> WSO2 Inc. >>>>> http://wso2.com >>>>> http://wso2.org >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Isuru Suriarachchi >>>> Technical Lead & Product Manager, WSO2 Application Server >>>> WSO2 Inc. http://wso2.com >>>> email : [email protected] >>>> blog : http://isurues.wordpress.com/ >>>> >>>> lean . enterprise . middleware >>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> *Afkham Azeez* >>> Director of Architecture; WSO2, Inc.; http://wso2.com >>> Member; Apache Software Foundation; http://www.apache.org/ >>> * <http://www.apache.org/>** >>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >>> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >>> * >>> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >>> * >>> * >>> *Lean . Enterprise . Middleware* >>> >>> >> >> >> -- >> *Afkham Azeez* >> Director of Architecture; WSO2, Inc.; http://wso2.com >> Member; Apache Software Foundation; http://www.apache.org/ >> * <http://www.apache.org/>** >> email: **[email protected]* <[email protected]>* cell: +94 77 3320919 >> blog: **http://blog.afkham.org* <http://blog.afkham.org>* >> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> >> * >> linked-in: **http://lk.linkedin.com/in/afkhamazeez* >> * >> * >> *Lean . Enterprise . Middleware* >> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Isuru Suriarachchi > Technical Lead & Product Manager, WSO2 Application Server > WSO2 Inc. http://wso2.com > email : [email protected] > blog : http://isurues.wordpress.com/ > > lean . enterprise . middleware > > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
