Ios console.log中的Worklight通知错误

Ios console.log中的Worklight通知错误,ios,notifications,apple-push-notifications,ibm-mobilefirst,Ios,Notifications,Apple Push Notifications,Ibm Mobilefirst,我正在试用worklight中通知入门指南的模块41 isPushSupported返回true-ispushSubscribed返回false,其他两个按钮从未启用-这让我成了问题 因此,检查console.log我看到: tail -f console.log at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480) at org.jboss.resteasy.c

我正在试用worklight中通知入门指南的模块41

isPushSupported返回true-ispushSubscribed返回false,其他两个按钮从未启用-这让我成了问题

因此,检查console.log我看到:

 tail -f console.log 
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] FWLSE0048E: Unhandled exception caught: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
[ERROR   ] SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication():506'
com.worklight.server.auth.impl.WorkLightAuthenticationException
  at com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:506)
  at com.worklight.core.auth.impl.AuthenticationContext.login(AuthenticationContext.java:578)
  at com.worklight.core.auth.impl.AuthenticationServiceBean.login(AuthenticationServiceBean.java:108)
  at com.worklight.gadgets.serving.handler.LoginOnDemandHandler.doPost(LoginOnDemandHandler.java:69)
  at com.worklight.gadgets.serving.GadgetAPIServlet.doGetOrPost(GadgetAPIServlet.java:125)
  at com.worklight.gadgets.serving.GadgetAPIServlet.lockedGetOrPost(GadgetAPIServlet.java:87)
  at com.worklight.gadgets.serving.GadgetAPIServlet.doPost(GadgetAPIServlet.java:81)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] SRVE0777E: Exception thrown by application class 'org.jboss.resteasy.core.SynchronousDispatcher.unwrapException():329'
org.jboss.resteasy.spi.UnhandledException: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
  at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:329)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
  at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] FWLSE0048E: Unhandled exception caught: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
[ERROR   ] SRVE0777E: Exception thrown by application class 'org.jboss.resteasy.core.SynchronousDispatcher.unwrapException():329'
org.jboss.resteasy.spi.UnhandledException: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
  at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:329)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
  at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] FWLSE0048E: Unhandled exception caught: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
[ERROR   ] SRVE0777E: Exception thrown by application class 'org.jboss.resteasy.core.SynchronousDispatcher.unwrapException():329'
org.jboss.resteasy.spi.UnhandledException: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
  at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:329)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
  at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] FWLSE0048E: Unhandled exception caught: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
[ERROR   ] SRVE0777E: Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication():506'
com.worklight.server.auth.impl.WorkLightAuthenticationException
  at com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:506)
  at com.worklight.core.auth.impl.AuthenticationContext.login(AuthenticationContext.java:578)
  at com.worklight.core.auth.impl.AuthenticationServiceBean.login(AuthenticationServiceBean.java:108)
  at com.worklight.gadgets.serving.handler.LoginOnDemandHandler.doPost(LoginOnDemandHandler.java:69)
  at com.worklight.gadgets.serving.GadgetAPIServlet.doGetOrPost(GadgetAPIServlet.java:125)
  at com.worklight.gadgets.serving.GadgetAPIServlet.lockedGetOrPost(GadgetAPIServlet.java:87)
  at com.worklight.gadgets.serving.GadgetAPIServlet.doPost(GadgetAPIServlet.java:81)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] SRVE0777E: Exception thrown by application class 'org.jboss.resteasy.core.SynchronousDispatcher.unwrapException():329'
org.jboss.resteasy.spi.UnhandledException: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
  at org.jboss.resteasy.core.SynchronousDispatcher.unwrapException(SynchronousDispatcher.java:329)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
  at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
  at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
  at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
  at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
  at [internal classes]
[ERROR   ] FWLSE0048E: Unhandled exception caught: org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]; nested exception is <openjpa-1.2.2-r422266:898935 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: Multiple DISTINCT aggregates are not supported at this time. {SELECT COUNT(DISTINCT t0.DEVICE), COUNT(DISTINCT t1.ID) FROM NOTIFICATION_DEVICE t0 INNER JOIN NOTIFICATION_USER t1 ON t0.USERSUBSCRIPTIONID = t1.ID WHERE (t0.APPLICATIONID IN (?, ?) AND t0.PLATFORM = ?)} [code=30000, state=42Z02]
tail-f console.log
位于org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
位于org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
位于org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
位于org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
位于org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
在[内部课程]
[错误]FWLSE0048E:捕获到未处理的异常:org.springframework.dao.InvalidDataAccessApiUsageException:此时不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02];嵌套异常为org.apache.openjpa.persistence.ArgumentException:此时不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02]
org.springframework.dao.InvalidDataAccessApiUsageException:目前不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02];嵌套异常为org.apache.openjpa.persistence.ArgumentException:此时不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02]
[错误]SRVE0777E:应用程序类'com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication():506'引发异常
com.worklight.server.auth.impl.WorkLightAuthenticationException
在com.worklight.core.auth.impl.AuthenticationContext.checkAuthentication(AuthenticationContext.java:506)上
位于com.worklight.core.auth.impl.AuthenticationContext.login(AuthenticationContext.java:578)
位于com.worklight.core.auth.impl.AuthenticationServiceBean.login(AuthenticationServiceBean.java:108)
位于com.worklight.gadgets.service.handler.LoginOnDemandHandler.doPost(LoginOnDemandHandler.java:69)
位于com.worklight.gadgets.service.GadgetAPIServlet.doGetOrPost(GadgetAPIServlet.java:125)
位于com.worklight.gadgets.service.GadgetAPIServlet.lockedGetOrPost(GadgetAPIServlet.java:87)
位于com.worklight.gadgets.service.GadgetAPIServlet.doPost(GadgetAPIServlet.java:81)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
在[内部课程]
[错误]SRVE0777E:应用程序类'org.jboss.resteasy.core.SynchronousDispatcher.UnwapeException():329'引发异常
org.jboss.resteasy.spi.UnhandledException:org.springframework.dao.InvalidDataAccessApiUsageException:目前不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02];嵌套异常为org.apache.openjpa.persistence.ArgumentException:此时不支持多个不同的聚合。{从t0.USERSUBSCRIPTIONID=t1.ID上的通知\设备t0内部加入通知\用户t1中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID),其中(t0.APPLICATIONID IN(?)和t0.PLATFORM=?)}[code=30000,state=42Z02]
位于org.jboss.resteasy.core.SynchronousDispatcher.UnwapeException(SynchronousDispatcher.java:329)
位于org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:305)
位于org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:198)
位于org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:174)
位于org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:518)
位于org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
位于org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
位于org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:207)
位于org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
位于org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
位于javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
位于com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1234)
在[内部课程]
[错误]FWLSE0048E:捕获到未处理的异常:org.springframework.dao.InvalidDataAccessApiUsageException:此时不支持多个不同的聚合。{从通知设备中选择计数(不同的t0.DEVICE)、计数(不同的t1.ID)