We will have to find a common way to solve it, Shindig need xercesImpl and
having it in lib/edorsed wont work.

On Wed, Jan 4, 2012 at 2:22 PM, Ajith Vitharana <aji...@wso2.com> wrote:

>
>
> On Wed, Jan 4, 2012 at 2:16 PM, Afkham Azeez <az...@wso2.com> 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 <aji...@wso2.com> 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  :  aji...@wso2.com
>>> Mobile : +94714631794
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> Carbon-dev@wso2.org
>>> 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: **az...@wso2.com* <az...@wso2.com>* 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
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94714631794
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> 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
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to