-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
cordova 3.5
(iphone 5) ios 7.1.1 / Xode 5.1.1
unified push server 0.10.4
cordova aerogear push plugin 0.5.0
An error is returned by the server at the end of the Push.register...
1) Please find the log extracted from Client Execution (cordova 3.5 app/ios7.1.1)
2014-07-08 14:19:18.118 AlarmtTILT Cordova[495:60b] [notificationservice.getNotificationFromRowItem] Notification :[object Object]
2014-07-08 14:19:18.123 AlarmtTILT Cordova[495:60b] Push registration Error: Error Domain=AGPushErrorDomain Code=-1011 "internal server error" UserInfo=0x16dcb360 {AGNetworkingOperationFailingURLResponseErrorKey=<NSHTTPURLResponse: 0x16dba1d0>
{ status code: 500, headers
{ "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"; } }, AGNetworkingOperationFailingURLRequestErrorKey=<NSMutableURLRequest: 0x16ef1a10>
{ URL: https://test-weu1.alarmtilt.net/unifiedpush-server-0.10.4/rest/registry/device }, NSLocalizedDescription=internal server error}
2) Please find the log extracted from Unfied Push Server 0.10.4
ar.unifiedpush.model.InstallationImpl.categories#044e2c65-4c12-4d8a-bc6b-97272754b6ea] (initialized)
2014-07-08 14:19:18,023 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] (default task-15) Flushed: 0 insertions, 0 updates, 0 deletions to 3 objects
2014-07-08 14:19:18,023 DEBUG [org.hibernate.event.internal.AbstractFlushingEventListener] (default task-15) Flushed: 0 (re)creations, 0 updates, 0 removals to 2 collections
2014-07-08 14:19:18,023 DEBUG [org.hibernate.internal.util.EntityPrinter] (default task-15) Listing entities:
2014-07-08 14:19:18,023 DEBUG [org.hibernate.internal.util.EntityPrinter] (default task-15) org.jboss.aerogear.unifiedpush.model.InstallationImpl
2014-07-08 14:19:18,023 DEBUG [org.hibernate.internal.util.EntityPrinter] (default task-15) org.jboss.aerogear.unifiedpush.model.InstallationImpl
{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=[]}2014-07-08 14:19:18,023 DEBUG [org.hibernate.internal.util.EntityPrinter] (default task-15) org.jboss.aerogear.unifiedpush.model.AbstractVariant
{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}2014-07-08 14:19:18,023 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] (default task-15) Releasing JDBC connection
2014-07-08 14:19:18,023 DEBUG [org.jboss.as.jpa] (default task-15) default task-15:[transaction scoped EntityManager]: closing entity managersession
2014-07-08 14:19:18,023 DEBUG [org.hibernate.engine.jdbc.internal.LogicalConnectionImpl] (default task-15) Aggressively releasing JDBC connection
2014-07-08 14:19:18,026 WARN [org.jboss.resteasy.core.ExceptionHandler] (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
at org.jboss.resteasy.core.ServerResponseWriter.writeNomapResponse(ServerResponseWriter.java:67) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.writeResponse(SynchronousDispatcher.java:427) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:376) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) [resteasy-jaxrs-3.0.6.Final.jar:]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) [resteasy-jaxrs-3.0.6.Final.jar:]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [jboss-servlet-api_3.1_spec-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) [undertow-core-1.0.0.Final.jar:1.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
2014-07-08 14:20:28,098 DEBUG [org.jboss.ejb.client.txn] (Periodic Recovery) Send recover request for transaction origin node identifier 1 to EJB receiver with node name hikari
2
- is blocked by
-
AEROGEAR-6028 Unified Push Server Wildfly 8 Final installation registration exception
- Resolved