<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Since I think it's exactly on the subject, I'll just ask you (David) here. :-)<div><br></div><div><div><blockquote type="cite"><div>loader. &nbsp;This mechanism (at least as of today) is going to vary <br>substantially from one runtime environment to another though. &nbsp;Thus <br>being able to plug in to the process is critical [1].<br></div></blockquote></div><br></div><div>CapeDwarf is using Infinispan to store some data.</div><div>We always wrap Cache usage with app's CL - cache::getAdvancedCache::with(cl).</div><div>So when that data is persisted (mashalled), it is app's CL / module that gets into serialized info.</div><div><br></div><div>But it cannot get deserialized:</div><div><br></div><div>Full stack-trace:&nbsp;<a href="http://pastebin.com/5SWvahNV">http://pastebin.com/5SWvahNV</a></div><div><br></div><div><div>Caused by: org.jboss.modules.ModuleNotFoundException: deployment.29bc6d63-8cc8-4a4e-a626-94f3a9dca7ed.war:main</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:206) [jboss-modules.jar:1.1.2.GA]</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.jboss.marshalling.ModularClassResolver.resolveClass(ModularClassResolver.java:106)</div></div><div><br></div><div>The problem as you can see is that deployment module cannot be found by plain ModuleLoader,</div><div>but - I guess?- only by AS7' ServiceModuleLoader -- which has the deployment module info.</div><div><br></div><div>Do we already have such (based off ServiceML) ClassResolver?</div><div>If yes, why it's not used?&nbsp;</div><div>As I don't see how apps that use Infinispan (EDG?) can work w/o it (aka not having the same problem).</div><div><br></div><div>-Ales</div><div><br></div></body></html>