<div dir="ltr"><div><div>Thanks for your reply. Yes your right the reason why we have choose wildfly9.0.2.Final is,  currently our application has been devloped with jdk1.7.0_72<br></div></div><div><div><br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 29, 2018 at 3:36 PM, Matej Novotny <span dir="ltr">&lt;<a href="mailto:manovotn@redhat.com" target="_blank">manovotn@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
while upgrading from AS 7.1 to WFLY 9, you updated Weld from 1.x to 2.x and I bet there was also major upgrade in Jersey.<br>
You might want to check the migration notes of those two and then probably read up on jersey integration with CDI/Weld.<br>
<br>
Weld changes don&#39;t seem to be causing this though.<br>
If I were you I would try and identify the Jersey versions in both servers and go from there.<br>
<br>
One last thing - note that you are basically upgrading from pre-historic version to outdated one (3y old); currently, there is WildFly 12 as the latest release.<br>
As you will likely face many migration difficulties, it may be worth it to instead look into migration to latest WildFly right away.<br>
Though I understand it may not be possible in your case for various reasons.<br>
<br>
Regards<br>
<span class="gmail-HOEnZb"><font color="#888888">Matej<br>
</font></span><div class="gmail-HOEnZb"><div class="gmail-h5"><br>
----- Original Message -----<br>
&gt; From: &quot;wildflyuser&quot; &lt;<a href="mailto:elayaraja.s@gmail.com">elayaraja.s@gmail.com</a>&gt;<br>
&gt; To: <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; Sent: Tuesday, May 29, 2018 10:51:25 AM<br>
&gt; Subject: [wildfly-dev] wildfly-9.0.2.Final: Failed to start service jboss.deployment.unit.&quot;app.<wbr>ear&quot;.WeldStartService:<br>
&gt; <br>
&gt; Not sure what we are missing, getting below error. Upraded from<br>
&gt; jboss-as-7.1.1.Final  to wildfly-9.0.2.Final<br>
&gt; <br>
&gt;  <br>
&gt; <br>
&gt; ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001:<br>
&gt; Failed to start service jboss.deployment.unit.&quot;app.<wbr>ear&quot;.WeldStartService:<br>
&gt; org.jboss.msc.service.<wbr>StartException in service<br>
&gt; jboss.deployment.unit.&quot;app.<wbr>ear&quot;.WeldStartService: Failed to start service<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.msc.service.<wbr>ServiceControllerImpl$<wbr>StartTask.run(<wbr>ServiceControllerImpl.java:<wbr>1904)<br>
&gt; <br>
&gt;     at<br>
&gt; java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>ThreadPoolExecutor.java:1145)<br>
&gt; <br>
&gt;     at<br>
&gt; java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>ThreadPoolExecutor.java:615)<br>
&gt; <br>
&gt;     at java.lang.Thread.run(Thread.<wbr>java:745)<br>
&gt; <br>
&gt; Caused by: org.jboss.weld.exceptions.<wbr>DeploymentException: WELD-001408:<br>
&gt; Unsatisfied dependencies for type ServiceLocator with qualifiers @Default<br>
&gt; <br>
&gt;   at injection point [UnbackedAnnotatedField] @Inject private<br>
&gt; org.glassfish.jersey.server.<wbr>mvc.internal.<wbr>ViewableMessageBodyWriter.<wbr>serviceLocator<br>
&gt; <br>
&gt;   at<br>
&gt; org.glassfish.jersey.server.<wbr>mvc.internal.<wbr>ViewableMessageBodyWriter.<wbr>serviceLocator(<wbr>ViewableMessageBodyWriter.<wbr>java:0)<br>
&gt; <br>
&gt;  <br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.bootstrap.<wbr>Validator.<wbr>validateInjectionPointForDeplo<wbr>ymentProblems(Validator.java:<wbr>359)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.bootstrap.<wbr>Validator.<wbr>validateInjectionPoint(<wbr>Validator.java:281)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.bootstrap.<wbr>Validator.validateGeneralBean(<wbr>Validator.java:134)<br>
&gt; <br>
&gt;     at org.jboss.weld.bootstrap.<wbr>Validator.validateRIBean(<wbr>Validator.java:155)<br>
&gt; <br>
&gt;     at org.jboss.weld.bootstrap.<wbr>Validator.validateBean(<wbr>Validator.java:518)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.bootstrap.<wbr>ConcurrentValidator$1.doWork(<wbr>ConcurrentValidator.java:68)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.bootstrap.<wbr>ConcurrentValidator$1.doWork(<wbr>ConcurrentValidator.java:66)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.executor.<wbr>IterativeWorkerTaskFactory$1.<wbr>call(<wbr>IterativeWorkerTaskFactory.<wbr>java:60)<br>
&gt; <br>
&gt;     at<br>
&gt; org.jboss.weld.executor.<wbr>IterativeWorkerTaskFactory$1.<wbr>call(<wbr>IterativeWorkerTaskFactory.<wbr>java:53)<br>
&gt; <br>
&gt;     at java.util.concurrent.<wbr>FutureTask.run(FutureTask.<wbr>java:262)<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; --<br>
&gt; Sent from: <a href="http://wildfly-development.1055759.n5.nabble.com/" rel="noreferrer" target="_blank">http://wildfly-development.<wbr>1055759.n5.nabble.com/</a><br>
&gt; ______________________________<wbr>_________________<br>
&gt; wildfly-dev mailing list<br>
&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
&gt; <br>
</div></div></blockquote></div><br><br><div class="gmail_signature"><div dir="ltr">             <br></div></div>
</div></div></div></div></div>