hi<div><br></div><div>the stack indicates a JBoss AS7 instance (due to catalina) </div><div><br></div><div>Can you launch a complete new instance (now based on WildFly)?</div><div><br></div><div>Note: there is no longer SimplePush on the cartirdge, means:</div><div>- use the Mozilla Network(wss://<a href="http://push.services.mozilla.com">push.services.mozilla.com</a>)</div><div>- use the SimplePush facility of your existing instance </div><div><br></div><div>Thanks,</div><div>Matthias<span></span><br><div><br>On Monday, July 6, 2015, mo <<a href="mailto:michi.oshima@gmail.com">michi.oshima@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm not sure the significance of this, but I'm going to report an error I'm<br>
seeing. Scenario is a bit complicated and may not be relevant to anything<br>
or anybody, so I apologize beforehand.<br>
<br>
Again, I use:<br>
<a href="https://github.com/aerogear/openshift-origin-cartridge-aerogear-push" target="_blank">https://github.com/aerogear/openshift-origin-cartridge-aerogear-push</a><br>
<br>
I get the following error when I attempt to attempt a duplicate<br>
registration. That is, when I attempt to register the same item the second<br>
time.<br>
<br>
Error:<br>
<br>
2015/07/06 13:27:50,138 ERROR<br>
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ag-push].[org.jboss.aerogear.unifiedpush.rest.RestApplication]]<br>
(http-127.5.38.1-127.5.38.1-8080-3) Servlet.service() for servlet<br>
org.jboss.aerogear.unifiedpush.rest.RestApplication threw exception:<br>
org.jboss.weld.exceptions.WeldException: by java.lang.LinkageError: loader<br>
(instance of org/jboss/modules/ModuleClassLoader): attempted duplicate<br>
class definition for name:<br>
"org/jboss/weldx/persistence/EntityManager$-1934315144$Proxy$_$$_Weld$Proxy$"<br>
<br>
Why do I do duplicate registration? Not for any good reason. It's because:<br>
<br>
1. I'm currently testing reconnection (navigator.push.reconnect()).<br>
2. I cannot determine whether I've registered with unified push server<br>
previously. (See one of my recent posts for details.) So I end up<br>
attempting registration with unified push server when I reconnect.<br>
<br>
Note:<br>
<br>
1. My client application registers 8 channels.<br>
2. Unified push server doesn't fail all 8 duplicate registrations. It fails<br>
about a half of them randomly.<br>
3. Just to show that I did some research: a ticket that mentions a similar<br>
error <<a href="https://developer.jboss.org/thread/197298?tstart=0" target="_blank">https://developer.jboss.org/thread/197298?tstart=0</a>> . It's funny,<br>
the ticket was filed for aerogear, apparently by mistake.<br>
<br>
If anyone is interested, I can make an entire server.log that contains the<br>
error and its context.<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/WeldException-duplicate-class-definition-tp110.html" target="_blank">http://aerogear-users.1116366.n5.nabble.com/WeldException-duplicate-class-definition-tp110.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Aerogear-users@lists.jboss.org')">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div></div><br><br>-- <br>Sent from Gmail Mobile<br>