<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Lincoln Baxter, III" &lt;lincolnbaxter@gmail.com&gt;<br><b>Sent: </b>Monday, July 9, 2012 1:19:08 PM<br><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Problem - Seems like the client classes are still being deployed at runtime in eclipse. That problem seems to have gone away when I turned off dynamic marshallers. Here is the stack trace from socialpm:</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">[...]</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,221 ERROR [stderr] (http--0.0.0.0-8080-2) Caused by: java.lang.ClassNotFoundException: com.ocpsoft.socialpm.gwt.client.local.view.events.LogoutEvent from [Module "deployment.socialpm-gwt.war:main" from Service Module Loader]</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
10:00:49,232 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,232 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
10:00:49,233 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,233 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
10:00:49,234 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,234 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
10:00:49,234 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at java.lang.Class.forName0(Native Method)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,235 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at java.lang.Class.forName(Class.java:169)</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">10:00:49,235 ERROR [stderr] (http--0.0.0.0-8080-2) &nbsp;&nbsp;&nbsp; at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:92)</div></blockquote><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Hmm, from this stack trace it looks like the client classes are not being deployed to the app server (hence the ClassNotFoundException), but for some reason the server-side CDI event dispatcher has received a (client-local)&nbsp;<span style="font-size: 12pt; ">LogoutEvent from the client. I guess that means that either the server-side EventDispatcher has subscribed to that message subject, or the client bus made a bad routing decision in sending that event to the server.</span></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><span style="font-size: 12pt; "><br></span></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">Can you list out your subscriptions in the JavaScript console, or use the bus monitor app? That might give us a clue about which scenario we're dealing with.</div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><br></div><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">-Jonathan</div></div></body></html>