<div dir="ltr">Arun, <div><br></div><div>I got rid of this error implementing the Serializable interface on the bean that you specified.</div><div><div>







<p class="">              public class Booking implements Serializable { </p><p class="">But there are other errors that probably is related with what Stuart said:</p><p class=""><br></p><p class="">org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type JMSContext with qualifiers @Default</p><p class="">  at injection point [BackedAnnotatedField] @Inject org.javaee7.movieplex7.points.ReceivePointsBean.context</p><p class="">  at org.javaee7.movieplex7.points.ReceivePointsBean.context(ReceivePointsBean.java:0)</p><p class="">...</p><p class=""><br></p></div><div>Regards,</div><div>Eduardo Sant&#39;Ana da Silva</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-26 19:20 GMT-02:00 Stuart Douglas <span dir="ltr">&lt;<a href="mailto:stuart.w.douglas@gmail.com" target="_blank">stuart.w.douglas@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Its probably related to the CDI upgrade. At a guess I would say thinks the bean is not passivation capable because of the EntityManager injection. <div><br></div><div>I think this is a Weld bug, but Jozef (in CC) would know more.</div><div><br></div><div>Stuart<br><br><div class="gmail_quote"><div><div class="h5">On Thu Nov 27 2014 at 7:25:31 AM Arun Gupta &lt;<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>&gt; wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Java EE 7 HOL is failing to deploy on WildFly 8.2:<div><br></div><div>







<p><span>12:08:38,801 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.deployment.unit.&quot;movieplex7-1.0-SNAPSHOT.war&quot;.WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit.&quot;movieplex7-1.0-SNAPSHOT.war&quot;.WeldStartService: Failed to start service</span></p>
<p><span><span>        </span>at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]</span></p>
<p><span><span>        </span>at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_20]</span></p>
<p><span><span>        </span>at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_20]</span></p>
<p><span><span>        </span>at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_20]</span></p>
<p><span>Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-000072: Bean declaring a passivating scope must be passivation capable.  Bean:  Managed Bean [class org.javaee7.movieplex7.booking.Booking] with qualifiers [@Default @Any @Named]</span></p>
<p><span><span>        </span>at org.jboss.weld.bean.ManagedBean.checkType(ManagedBean.java:203)</span></p>
<p><span><span>        </span>at org.jboss.weld.bean.AbstractBean.initializeAfterBeanDiscovery(AbstractBean.java:105)</span></p>
<p><span><span>        </span>at org.jboss.weld.bean.ManagedBean.initializeAfterBeanDiscovery(ManagedBean.java:113)</span></p>
<p><span><span>        </span>at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:136)</span></p>
<p><span><span>        </span>at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$AfterBeanDiscoveryInitializerFactory.doWork(ConcurrentBeanDeployer.java:127)</span></p>
<p><span><span>        </span>at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)</span></p>
<p><span><span>        </span>at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)</span></p>
<p><span><span>        </span>at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_20]</span></p>
<p><span><span>        </span>... 3 more</span></p> </div><div><br></div><div>Its complaining for the bean defined at:</div><div><br></div><div><a href="https://github.com/javaee-samples/javaee7-hol/blob/master/solution/movieplex7/src/main/java/org/javaee7/movieplex7/booking/Booking.java" target="_blank">https://github.com/javaee-samples/javaee7-hol/blob/master/solution/movieplex7/src/main/java/org/javaee7/movieplex7/booking/Booking.java</a></div><div><br></div><div>This has worked, and is still working fine, on WildFly 8.1.</div><div><br></div><div>Thoughts ? </div><div><br></div><div>Arun  <br></div></div></div>
______________________________<u></u>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/<u></u>mailman/listinfo/wildfly-dev</a></blockquote></div></div>
<br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-family:Arial;font-size:small">________________</span><span style="font-family:Arial;font-size:small">__________</span><br></div><div><div align="left" style="font-family:Arial;font-size:small">Eduardo Sant&#39;Ana da Silva - Dr.</div><div style="font-family:Arial;font-size:small"><font face="Arial">Pesquisador / Consultor de TI<br></font></div><div style="font-family:Arial;font-size:small"><br></div></div></div></div>
</div>