<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <base href="https://issues.jboss.org" />
<title>Message Title</title>
</head>
<body class="jira" style="color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 1.429">
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f5f5f5; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<!-- header here -->
<tr>
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px">
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 8px"> <img id="header-avatar-image" class="image_fix" src="https://community.jboss.org/gravatar/ec2d1ef9ac288e8ec596dd7addd3ebc2?d=mm&s=48" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top" />
</td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> <a class="user-hover" rel="b.toussaint" id="email_b.toussaint" href="https://issues.jboss.org/secure/ViewProfile.jspa?name=b.toussaint" style="color:#3b73af;; color: #3b73af; text-decoration: none">Bertrand Toussaint</a> <strong>commented</strong> on <a href="https://issues.jboss.org/browse/AEROGEAR-1455" style="color: #3b73af; text-decoration: none"><img src="cid:jira-generated-image-static-bug-5355e5e6-0608-4538-853e-45556db4304b" height="16" width="16" border="0" align="absmiddle" alt="Bug" /> AEROGEAR-1455</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px">
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; border-spacing: 0; border-collapse: separate">
<tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 15px; background-color: #fff; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px; height: 10px; line-height: 10px; padding: 0 15px 0 16px; mso-line-height-rule: exactly">
</td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff">
<table class="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" class="page-title-pattern-header-container"> <span class="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AEROGEAR-1455" style="color: #3b73af; text-decoration: none">Re: Unified Push Server Wildfly 8 Final installation registration exception</a> </span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="text-paragraph-pattern-top" class="email-content-main mobile-expand comment-top-pattern" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff; border-bottom: none; padding-bottom: 0">
<table class="text-paragraph-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px">
<tr>
<td class="text-paragraph-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 10px 0">
<p style="margin: 10px 0 0 0">I have the same error in that context:</p>
<p style="margin: 10px 0 0 0">Cordova 3.5 mobile application using org.jboss.aerogear.cordova.push 0.5.0 push plugin...<br /> Cordova platform ios / built under xcode 5.1.1 (executed on an iphone 5, IOS 7.1.1)<br /> Unified Push Server 0.10.4 / Wildfly 8.0</p>
<p style="margin: 10px 0 0 0">Please find a log extract from the execution under the iphone through Xcode 5.1.1:</p>
<p style="margin: 10px 0 0 0">2014-07-08 14:19:18.118 AlarmtTILT Cordova<span class="error">[495:60b]</span> <span class="error">[notificationservice.getNotificationFromRowItem]</span> Notification :<span class="error">[object Object]</span><br /> 2014-07-08 14:19:18.123 AlarmtTILT Cordova<span class="error">[495:60b]</span> Push registration Error: Error Domain=AGPushErrorDomain Code=-1011 "internal server error" UserInfo=0x16dcb360 {AGNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x16dba1d0> </p> { URL: https://test-weu1.alarmtilt.net/unifiedpush-server-0.10.4/rest/registry/device }
<p style="margin: 10px 0 0 0"> { status code: 500, headers </p> { "Accept-Ranges" = bytes; Connection = close; "Content-Length" = 3632; "Content-Type" = "text/html; charset=iso-8859-1"; Date = "Tue, 08 Jul 2014 12:19:17 GMT"; Etag = "\"e30-4ec26580cf840\""; "Last-Modified" = "Wed, 27 Nov 2013 10:48:57 GMT"; Server = "Apache/2"; }
<p style="margin: 10px 0 0 0"> }, AGNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x16ef1a10> </p> { URL: https://test-weu1.alarmtilt.net/unifiedpush-server-0.10.4/rest/registry/device }
<p style="margin: 10px 0 0 0">, NSLocalizedDescription=internal server error}</p>
<p style="margin: 10px 0 0 0">Please find a log extract from our unified push server:</p>
<p style="margin: 10px 0 0 0">2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.event.internal.AbstractFlushingEventListener]</span> (default task-15) Flushed: 0 insertions, 0 updates, 0 deletions to 3 objects<br /> 2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.event.internal.AbstractFlushingEventListener]</span> (default task-15) Flushed: 0 (re)creations, 0 updates, 0 removals to 2 collections<br /> 2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.internal.util.EntityPrinter]</span> (default task-15) Listing entities:<br /> 2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.internal.util.EntityPrinter]</span> (default task-15) org.jboss.aerogear.unifiedpush.model.InstallationImpl</p> {id=170c8f84-a36f-4414-9a55-92356516550a, platform=ios, enabled=true, operatingSystem=iPhone OS, osVersion=7.1.1, alias=5be5465e8f09a3c0eddd3d23a48e646f_304147934, deviceType=iPhone, deviceToken=492d7e75f7be5325c2b564a34620124aed90dce04477994d0a5ab38de8e8287e, simplePushEndpoint=null, categories=null}
<p style="margin: 10px 0 0 0">2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.internal.util.EntityPrinter]</span> (default task-15) org.jboss.aerogear.unifiedpush.model.InstallationImpl</p> {id=044e2c65-4c12-4d8a-bc6b-97272754b6ea, platform=ios, enabled=true, operatingSystem=iPhone OS, osVersion=7.0.2, alias=af04701f74c37c1794c738505eff6208_304141378, deviceType=iPhone, deviceToken=1325697cd52042ce2dd0f61586595ce8475081894df60728ac6038398cd469da, simplePushEndpoint=null, categories=[]}
<p style="margin: 10px 0 0 0">2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.internal.util.EntityPrinter]</span> (default task-15) org.jboss.aerogear.unifiedpush.model.AbstractVariant</p> {id=515de0bd-a37a-46ba-89dc-eeb7bc8ded56, installations=[org.jboss.aerogear.unifiedpush.model.InstallationImpl#170c8f84-a36f-4414-9a55-92356516550a, org.jboss.aerogear.unifiedpush.model.InstallationImpl#044e2c65-4c12-4d8a-bc6b-97272754b6ea], variantID=c4259ab2-514f-43e9-a728-fef27babe8d9, developer=admin, description=Ios variant, name=IOS, secret=ee05e879-d0af-4ecb-92b9-e2bec0b761c8}
<p style="margin: 10px 0 0 0">2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.engine.jdbc.internal.LogicalConnectionImpl]</span> (default task-15) Releasing JDBC connection<br /> 2014-07-08 14:19:18,023 DEBUG <span class="error">[org.jboss.as.jpa]</span> (default task-15) default task-15:<span class="error">[transaction scoped EntityManager]</span>: closing entity managersession<br /> 2014-07-08 14:19:18,023 DEBUG <span class="error">[org.hibernate.engine.jdbc.internal.LogicalConnectionImpl]</span> (default task-15) Aggressively releasing JDBC connection<br /> 2014-07-08 14:19:18,026 WARN <span class="error">[org.jboss.resteasy.core.ExceptionHandler]</span> (default task-15) Failed executing POST /registry/device: org.jboss.resteasy.core.NoMessageBodyWriterFoundFailure: Could not find MessageBodyWriter for response object of type: org.jboss.aerogear.unifiedpush.model.InstallationImpl of media type: application/octet-stream<br /> at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:67) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:427) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:376) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) <span class="error">[resteasy-jaxrs-3.0.6.Final.jar:]</span><br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) <span class="error">[jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)<br /> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)<br /> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) <span class="error">[undertow-servlet-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) <span class="error">[undertow-core-1.0.0.Final.jar:1.0.0.Final]</span><br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) <span class="error">[rt.jar:1.7.0_51]</span><br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) <span class="error">[rt.jar:1.7.0_51]</span><br /> at java.lang.Thread.run(Thread.java:744) <span class="error">[rt.jar:1.7.0_51]</span></p>
<p style="margin: 10px 0 0 0">2014-07-08 14:20:28,098 DEBUG <span class="error">[org.jboss.ejb.client.txn]</span> (Periodic Recovery) Send recover request for transaction origin node identifier 1 to EJB receiver with node name hikari<br /> 2</p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="email-content-main mobile-expand " style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 0 16px; background-color: #fff">
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">
<tr>
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 10px 0 10px 24px; vertical-align: middle; padding-left: 0">
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"> <a href="https://issues.jboss.org/browse/AEROGEAR-1455#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none"> <img class="actions-pattern-action-icon-image" src="cid:jira-generated-image-static-comment-icon-7f3923c7-1268-40e9-8694-0e28f9c8868d" alt="Add Comment" title="Add Comment" height="16" width="16" border="0" style="vertical-align: middle" /> </a>
</td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px"> <a href="https://issues.jboss.org/browse/AEROGEAR-1455#add-comment" target="_blank" title="Add Comment" style="color: #3b73af; text-decoration: none">Add Comment</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<!-- there needs to be content in the cell for it to render in some clients -->
<tr>
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 5px; line-height: 5px; background-color: #fff; border-top: 0; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; mso-line-height-rule: exactly">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px">
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px">
This message was sent by Atlassian JIRA <span id="footer-build-information">(v6.2.6#6264-<span title="ee7642271310c09537d01e5848a003c4498a0eed" data-commit-id="ee7642271310c09537d01e5848a003c4498a0eed}">sha1:ee76422</span>)</span>
</td>
<td id="footer-pattern-logo-desktop-container" valign="top" style="padding: 0px; border-collapse: collapse; padding-left: 20px; vertical-align: top">
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
<tr>
<td id="footer-pattern-logo-desktop-padding" style="padding: 0px; border-collapse: collapse; padding-top: 3px"> <img id="footer-pattern-logo-desktop" src="cid:jira-generated-image-static-footer-desktop-logo-8a29055e-f038-4f7a-89fa-cb654ac91135" alt="Atlassian logo" title="Atlassian logo" width="169" height="36" class="image_fix" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>