[ 
http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12255#comment-12255
 ] 

Ivo Ladage - van Doorn commented on AMDATUOPENSOCIAL-193:
---------------------------------------------------------

The error above can easily be fixed by disabling ehCache (as default for the 
normal runtime). But after fixing that error, you get this one instead:

Caused by: java.lang.ClassCastException: 
org.apache.xerces.dom.DOMXSImplementationSourceImpl cannot be cast to org.w3c.d
om.DOMImplementationSource
        at org.w3c.dom.bootstrap.DOMImplementationRegistry.newInstance(Unknown 
Source)
        at 
org.apache.shindig.gadgets.parse.ParseModule$DOMImplementationProvider.<init>(ParseModule.java:50)
        at 
org.apache.shindig.gadgets.parse.ParseModule$DOMImplementationProvider$$FastClassByGuice$$a37f9102.newInstanc
e(<generated>)

After some investigation it seems to me that the problem is caused by NOT 
deploying Cassandra in the integration test. In the normal runtime Cassandra 
starts first, loads the jackson library which loads the 
DOMImplementationRegistry class using the bootstrap classloader. In the 
integration test, Cassandra is not started and Guice will try to load the class 
using the bundle classloader instead.
                
> Stacktraces during integration test on ehCache
> ----------------------------------------------
>
>                 Key: AMDATUOPENSOCIAL-193
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUOPENSOCIAL-193
>             Project: Amdatu OpenSocial
>          Issue Type: Bug
>          Components: Shindig
>    Affects Versions: 0.2.0
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Ivo Ladage - van Doorn
>             Fix For: 0.2.1
>
>
> Stacktrace: 
> Caused by: net.sf.ehcache.CacheException: Error configuring from input 
> stream. Initial cause was org.apache.xerces.jaxp.
> SAXParserFactoryImpl cannot be cast to javax.xml.parsers.SAXParserFactory
>         at 
> net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:157)
>         at 
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.getConfiguration(EhCacheCacheProvider.java:70)
>         at 
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider.<init>(EhCacheCacheProvider.java:56)
>         at 
> org.apache.shindig.common.cache.ehcache.EhCacheCacheProvider$$FastClassByGuice$$ed9a41b6.newInstance(<generat

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to