[
http://jira.amdatu.org/jira/browse/AMDATU-72?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bram de Kruijff reassigned AMDATU-72:
-------------------------------------
Assignee: Ivo Ladage - van Doorn
@Ivo attached a quick fix (no warranty) patch that resolves the issue at first
glance. The real problem here is the import/export mess of this bundle and this
is what I traced sofar:
1) You export org.amdatu.opensocial.shindig
2) This package contains SocialApiModule extends Module
3) As a consequence you expose com.google.inject
4) .. with contains com.google.inject.Binder
5) .. which exposes com.google.inject.matcher
6) ..etc
however... you are not exporting (let alone importing) com.google.inject so
your bundle classloader does not wire it and is thus not affected by any
refresh/rewire and so now part of the packages come from diff classloaders!
Hence the classloader constraint.
Moral of this story: Explicitly think about what to export (and what the cat
drags along), make sure you export it all (from some bundle) and always import
what your export.
The way it is set op now in the pom is almost impossible to validate so I
suggest to check it meticulously and consider a different setup.
> Updating the Shindig bundle breaks it
> -------------------------------------
>
> Key: AMDATU-72
> URL: http://jira.amdatu.org/jira/browse/AMDATU-72
> Project: Amdatu
> Issue Type: Bug
> Components: Amdatu OpenSocial
> Affects Versions: 0.0.4
> Reporter: Ivo Ladage - van Doorn
> Assignee: Ivo Ladage - van Doorn
> Fix For: 0.1.1
>
> Attachments: AMDATU-72-importExportGoogleInject.patch
>
>
> When you update the Shindig bundle, it logs 'Fake Guice servlet not yet
> available, sleeping for 1 second... (... retries left)' 5 times and then
> causes a stacktrace.
> As a consequence the dashboard doesn't work anymore
--
This message is automatically generated by JIRA.
-
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