<div dir="ltr">Hello Giuseppe,<div><br></div><div>I got a reply on that bug from the PicketLink team a few days ago. Based on their suggestion I am _trying_ to override the included PL dependecies on a branch:</div><div><br>
</div><div><a href="https://github.com/aerogear/aerogear-unifiedpush-server/tree/0.10.x_PLINK_override">https://github.com/aerogear/aerogear-unifiedpush-server/tree/0.10.x_PLINK_override</a><br></div><div><br></div><div>Do you mind to build this branch and see if you can deploy the build WAR file to your configured Glassfish container ? </div>
<div><br></div><div>Thanks!</div><div>Matthias</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 4:22 PM, Giuseppe Sciacca <span dir="ltr"><<a href="mailto:giuseppe.sciacca@gmail.com" target="_blank">giuseppe.sciacca@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thank's<br>
<br>
Giuseppe.<br>
<br>
2014-06-26 13:55 GMT+02:00 Matthias Wessendorf <<a href="mailto:matzew@apache.org">matzew@apache.org</a>>:<br>
<div class="HOEnZb"><div class="h5">> Hello Giuseppe,<br>
><br>
> here is the PicketLink bug:<br>
> <a href="https://issues.jboss.org/browse/PLINK-514" target="_blank">https://issues.jboss.org/browse/PLINK-514</a><br>
><br>
> -Matthias<br>
><br>
><br>
><br>
> On Thu, Jun 26, 2014 at 7:37 AM, Matthias Wessendorf <<a href="mailto:matzew@apache.org">matzew@apache.org</a>><br>
> wrote:<br>
>><br>
>> Hello Giuseppe!<br>
>><br>
>> thanks for reporting the issue. In the 0.10.x series we are using<br>
>> Picketlink for security (mainly auth of the user), but it looks like the<br>
>> version we are using has an issue w/ EclipseLink that is used as Glassfish's<br>
>> JPA Provider. I will report that issue to the Picketlink team. Perhaps there<br>
>> is a way to get a patched version of the 0.10x series. We will keep you<br>
>> posted.<br>
>><br>
>><br>
>> On the master branch (0.11.x) series we are no longer using Picketlink, we<br>
>> are using Keycloak, but I don't see a Glassfish adapter for Keycloak at the<br>
>> moment.<br>
>><br>
>><br>
>> Besides these issues, there is still an option to use the UnifiedPush<br>
>> Server:<br>
>> * On the cloud, via OpenShift (it's free to get an OpenShift account)<br>
>> * Via JBoss AS / EAP<br>
>><br>
>> Hope that helps for now<br>
>><br>
>> -Matthias<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, Jun 26, 2014 at 3:54 AM, Giuseppe Sciacca <<a href="mailto:g.sciacca@glauco.it">g.sciacca@glauco.it</a>><br>
>> wrote:<br>
>>><br>
>>> Hi Matthias,<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> thank's for all.<br>
>>><br>
>>><br>
>>><br>
>>> this is a part of my log :(<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> [#|2014-06-26T09:39:19.315+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=45;_ThreadName=Thread-2;|Exception<br>
>>> while visiting org/jboss/aerogear/security/auth/AuthenticationManager.class<br>
>>> of size 335<br>
>>><br>
>>> java.lang.NullPointerException<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.impl.TypesImpl.getType(TypesImpl.java:78)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.impl.ModelClassVisitor.visit(ModelClassVisitor.java:119)<br>
>>><br>
>>> at org.objectweb.asm.ClassReader.accept(Unknown Source)<br>
>>><br>
>>> at org.objectweb.asm.ClassReader.accept(Unknown Source)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.Parser$5.on(Parser.java:363)<br>
>>><br>
>>> at<br>
>>> com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.handleEntry(ReadableArchiveScannerAdapter.java:171)<br>
>>><br>
>>> at<br>
>>> com.sun.enterprise.v3.server.ReadableArchiveScannerAdapter.onSelectedEntries(ReadableArchiveScannerAdapter.java:133)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.Parser.doJob(Parser.java:348)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.Parser.access$300(Parser.java:70)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:307)<br>
>>><br>
>>> at<br>
>>> org.glassfish.hk2.classmodel.reflect.Parser$3.call(Parser.java:296)<br>
>>><br>
>>> at<br>
>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)<br>
>>><br>
>>> at java.util.concurrent.FutureTask.run(FutureTask.java:166)<br>
>>><br>
>>> at<br>
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)<br>
>>><br>
>>> at<br>
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)<br>
>>><br>
>>> at java.lang.Thread.run(Thread.java:722)<br>
>>><br>
>>><br>
>>><br>
>>> ......<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> [#|2014-06-26T09:39:22.564+0200|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread-2;|Exception<br>
>>> [EclipseLink-28018] (Eclipse Persistence Services - 2.3.2.v20111125-r10461):<br>
>>> org.eclipse.persistence.exceptions.EntityManagerSetupException<br>
>>><br>
>>> Exception Description: Predeployment of PersistenceUnit<br>
>>> [picketlink-default] failed.<br>
>>><br>
>>> Internal Exception: Exception [EclipseLink-7212] (Eclipse Persistence<br>
>>> Services - 2.3.2.v20111125-r10461):<br>
>>> org.eclipse.persistence.exceptions.ValidationException<br>
>>><br>
>>> Exception Description: The attribute [expiryDate] from the entity class<br>
>>> [class<br>
>>> org.picketlink.idm.jpa.model.sample.simple.AbstractCredentialTypeEntity]<br>
>>> does not specify a temporal type. A temporal type must be specified for<br>
>>> persistent fields or properties of type java.util.Date and<br>
>>> java.util.Calendar.<br>
>>><br>
>>> javax.persistence.PersistenceException: Exception [EclipseLink-28018]<br>
>>> (Eclipse Persistence Services - 2.3.2.v20111125-r10461):<br>
>>> org.eclipse.persistence.exceptions.EntityManagerSetupException<br>
>>><br>
>>> Exception Description: Predeployment of PersistenceUnit<br>
>>> [picketlink-default] failed.<br>
>>><br>
>>> Internal Exception: Exception [EclipseLink-7212] (Eclipse Persistence<br>
>>> Services - 2.3.2.v20111125-r10461):<br>
>>> org.eclipse.persistence.exceptions.ValidationException<br>
>>><br>
>>> Exception Description: The attribute [expiryDate] from the entity class<br>
>>> [class<br>
>>> org.picketlink.idm.jpa.model.sample.simple.AbstractCredentialTypeEntity]<br>
>>> does not specify a temporal type. A temporal type must be specified for<br>
>>> persistent fields or properties of type java.util.Date and<br>
>>> java.util.Calendar.<br>
>>><br>
>>> at<br>
>>> org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:1402)<br>
>>><br>
>>> at<br>
>>> org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:208)<br>
>>><br>
>>> at<br>
>>> org.glassfish.persistence.jpa.PersistenceUnitLoader.loadPU(PersistenceUnitLoader.java:206)<br>
>>><br>
>>> at<br>
>>> org.glassfish.persistence.jpa.PersistenceUnitLoader.<init>(PersistenceUnitLoader.java:120)<br>
>>><br>
>>> ....<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> Greetings,<br>
>>><br>
>>> Giuseppe<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> hello Giuseppe!<br>
>>><br>
>>><br>
>>><br>
>>> thanks for the interest in the UnifiedPush Server. Since it is standard<br>
>>> JavaEE, it should be working in Glassfish.<br>
>>><br>
>>> However you need to configure a datasource (e.g. MySQL) inside of<br>
>>> Glassfish. Here is the details about our DS name:<br>
>>><br>
>>><br>
>>> <a href="https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/jpa/src/main/resources/META-INF/persistence.xml#L23" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/model/jpa/src/main/resources/META-INF/persistence.xml#L23</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> Did you give it a try? If there are any issues, please report them here,<br>
>>> so that we can help :)<br>
>>><br>
>>><br>
>>><br>
>>> Greetings,<br>
>>><br>
>>> Matthias<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Wed, Jun 25, 2014 at 10:24 AM, Giuseppe Sciacca <<a href="mailto:g.sciacca@glauco.it">g.sciacca@glauco.it</a>><br>
>>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> sorry for my english :P<br>
>>><br>
>>><br>
>>><br>
>>> "The UnifiedPush Server on Glassfish"<br>
>>><br>
>>><br>
>>><br>
>>> it's possible ?<br>
>>><br>
>>> is there some tutorial?<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> thank's a lot<br>
>>><br>
>>><br>
>>><br>
>>> GiuScia<br>
>>><br>
>>><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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> 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><br>
>>><br>
>>><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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>>><br>
>>><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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> 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><br>
><br>
><br>
><br>
><br>
> --<br>
> 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><br>
><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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
<br>
--<br>
</div></div><span class="HOEnZb"><font color="#888888">Giuseppe Sciacca<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<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" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>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>