On Wed, Jan 4, 2012 at 3:31 PM, Pradeep Fernando <[email protected]> wrote:
> Hi, > > On Wed, Jan 4, 2012 at 3:06 PM, Nuwan Bandara <[email protected]> wrote: > >> We will have to find a common way to solve it, Shindig need xercesImpl >> and having it in lib/edorsed wont work. > > > why is that ? can please explain why it is not woking. lib/endorsed has > older version (?). Ideally we should try to get rid of xerces altogether > since it gets shipped by the sunJDK. (?) > The version shipped with Sun JDK is actually a fork of the Xerces code base (repackaged with the com.sun package name). AFAIK it's not actively maintained. But it should be good enough for our purposes - JAXP, DOM, SAX etc Thanks, Hiranya > > >> >> >> On Wed, Jan 4, 2012 at 2:22 PM, Ajith Vitharana <[email protected]> wrote: >> >>> >>> >>> On Wed, Jan 4, 2012 at 2:16 PM, Afkham Azeez <[email protected]> wrote: >>> >>>> If you remove this jar from the plugins directory does your scenario >>>> work? >>>> >>> >>> Yes. it worked. >>> >>> /ajith >>> >>>> >>>> On Wed, Jan 4, 2012 at 2:01 PM, Ajith Vitharana <[email protected]>wrote: >>>> >>>>> Hi All, >>>>> >>>>> AFAIK it should be inside only lib/endorsed. >>>>> Only dashboard and gadgets features are directly using >>>>> xercesImpl_2.8.1.wso2v2.jar, therefore that jar has packed to plugins >>>>> directory. Due to the above reason, I'm getting following error when >>>>> generating reports. >>>>> >>>>> *Caused by: java.lang.ClassCastException: >>>>> org.apache.xerces.util.XMLGrammarPoolImpl cannot be cast to >>>>> org.apache.xerces.xni.grammars.XMLGrammarPool* >>>>> at org.apache.xerces.impl.xs.XMLSchemaLoader.reset(Unknown Source) >>>>> at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(Unknown >>>>> Source) >>>>> at >>>>> org.apache.xerces.parsers.XML11Configuration.configurePipeline(Unknown >>>>> Source) >>>>> at >>>>> org.apache.xerces.parsers.XIncludeAwareParserConfiguration.configurePipeline(Unknown >>>>> Source) >>>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown >>>>> Source) >>>>> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown >>>>> Source) >>>>> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) >>>>> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown >>>>> Source) >>>>> at >>>>> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) >>>>> * at org.apache.commons.digester.Digester.parse(Digester.java:1764) >>>>> * >>>>> at >>>>> net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:235) >>>>> at >>>>> net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:222) >>>>> at >>>>> net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:210) >>>>> at >>>>> org.wso2.carbon.reporting.util.JasperPrintProvider.createJasperPrint(JasperPrintProvider.java:68) >>>>> >>>>> Thanks >>>>> Ajith >>>>> >>>>> -- >>>>> Ajith Vitharana. >>>>> WSO2 Inc. - http://wso2.org >>>>> Email : [email protected] >>>>> Mobile : +94714631794 >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> 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 >>>> >>>> >>> >>> >>> -- >>> Ajith Vitharana. >>> WSO2 Inc. - http://wso2.org >>> Email : [email protected] >>> Mobile : +94714631794 >>> >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> *Thanks & Regards, >> >> Nuwan Bandara >> Senior Software Engineer >> WSO2 Inc. | http://wso2.com >> lean . enterprise . middleware >> >> http://nuwan.bandara.co >> * >> <http://www.nuwanbando.com/> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Pradeep Fernando > Software Engineer > WSO2 Inc; http://wso2.com/ > > blog: http://pradeepfernando.blogspot.com/ > m: +94776603662 > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: [email protected]; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
