<div dir="ltr">Hwllo,<div><br></div><div>I see &quot;as7&quot; - what version of JBoss are you using? We don&#39;t really support the JBoss7.1 server anymore. We have support for WildFly 8 and 9. Bsides that we have EAP_6.4.0 as one of the supported servers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 24, 2015 at 2:08 PM, Javornik, Romain <span dir="ltr">&lt;<a href="mailto:Romain.Javornik@saint-gobain.com" target="_blank">Romain.Javornik@saint-gobain.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="FR" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello Matthias,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I try to do a step by step like you suggest.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">The migration of the database between 1.0.2 and 1.03 worked perfectly, but I can’t deploy  unifiedpush-server-as7.war<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">2015-11-24 11:45:45,457 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment unifiedpush-server-as7.war
 in 20ms<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">2015-11-24 11:45:45,458 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) {&quot;JBAS014653: Composite operation failed
 and was rolled back. Steps that failed:&quot; =&gt; {&quot;Operation step-2&quot; =&gt; {&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.persistenceunit.\&quot;unifiedpush-server as7.war#unifiedpush-default\&quot;&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.persistenceunit.\&quot;unifiedpush-server-as7.war#unifiedpush-default\&quot;:
 javax.persistence.Persisten<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">ceException: [PersistenceUnit: unifiedpush-default] Unable to build EntityManagerFactory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: unifiedpush-default] Unable to build EntityManagerFactory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">    Caused by: org.hibernate.HibernateException: Wrong column type in unifiedpush_tmp.VariantMetricInformation for column deliveryStatus. Found:
 bit, expected: boolean&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I’m currently trying to make some change in the type of the column deliveryStatus to see if it make a difference.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Best Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Romain<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De :</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:aerogear-dev-bounces@lists.jboss.org" target="_blank">aerogear-dev-bounces@lists.jboss.org</a> [mailto:<a href="mailto:aerogear-dev-bounces@lists.jboss.org" target="_blank">aerogear-dev-bounces@lists.jboss.org</a>]
<b>De l</b></span><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">a part de</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Matthias Wessendorf<br>
<b>Envoyé :</b> jeudi 19 novembre 2015 15:25<br>
<b>À :</b> AeroGear Developer Mailing List<br>
<b>Objet :</b> Re: [aerogear-dev] Problem on migrating to 1.1.0-Final<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hi Romain,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">unfortunately I don&#39;t think the 1.0.2 -&gt; 1.1.0.Final really works. I think you have to go to 1.0.3 first, before being able to run the migration towards 1.1.0.Final.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 19, 2015 at 11:22 AM, Javornik, Romain &lt;<a href="mailto:Romain.Javornik@saint-gobain.com" target="_blank">Romain.Javornik@saint-gobain.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I don’t really know if this is the right email address for asking question but I give it a try, please redirect me if I’m wrong !</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">------ Problem in the UnifiedPush Server User Guide ------</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Before explaining my problem I want to tell you that something isn’t clear enough from my point of view in your migration guide (<a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#migration-guide" target="_blank">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#migration-guide</a>).</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">On the part where you explain the database migration for mysql you write :</span><u></u><u></u></p>
<h4 style="margin-bottom:7.5pt;background:#f8fdff"><span lang="EN-US">           
</span><span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">MySQL</span><u></u><u></u></h4>
<p class="MsoNormal" style="margin-bottom:7.5pt;line-height:15.0pt;background:#f8fdff">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Inside of the extracted zip file, there is a liquibase-mysql-example.properties, copy that to liquibase.properties.</span><u></u><u></u></p>
<div style="border:solid #cccccc 1.0pt;padding:7.0pt 7.0pt 7.0pt 7.0pt">
<p class="MsoNormal" style="margin-bottom:15.0pt;background:white;word-break:break-all">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#333333">cp liquibase-mysql-example.properties liquibase.properties</span><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:7.5pt;line-height:15.0pt;background:#f8fdff">
<span lang="EN-US" style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">Once done, you need to edit the new file to match your database name and credentials.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">The problem with this is that you can’t choose the version you want to upgrade to.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Since I have “changeLogFile=liquibase/master.xml” in my liquidbase.properties, the only upgrade I was able to make was to the 1.0.0-Final and I’m on the 1.0.2.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I had to open the ups-migrator.jar (wich wasn’t really userfriendly) to see what was my option. And then I was able to go the version I want (exemple -&gt; “changeLogFile=liquibase/1.1.0-Final/releasechanges.xml”)</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">To conclude I think that just a small explanation in the migration guide will make everything more clear.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">------ My migration problem ------</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I’m currently using AerogearPush Server 1.0.2 and I want to go to the 1.1.0-Final version.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">I download the last package (1.1.0-Final) on this page
<a href="https://aerogear.org/getstarted/downloads" target="_blank">https://aerogear.org/getstarted/downloads</a></span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Like explain above I had some trouble make it work to move to the version I wanted.
</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Right now in 1.0.2 I can use the Migrator Tool to make sure that my 1.0.2 Mysql database is good and to upgrade it to 1.0.3.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">But I can’t go the 1.1.0-Final, I join to this email the error I get from the Migrator Tool.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Can you please tell me where the problem might come from or if you have any solution ?</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Best Regards,</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Romain
</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Matthias Wessendorf <br>
<br>
blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a></div>
</div>