I'm trying to send notification to android device. On my Worklight Studio I have succeeded to make subscription + notification.
When I trying to do it on real worklight server(on liberty), I have succeeded to make subscription, but I can't send notification.
I'm trying to send notification on browser like that:
http://serverIp:9080/worklighttime/dev/invoke?adapter=PushAdapter&procedure=submitNotification¶meters=[%27user%27,%27text message%27]
At the adapter I added:
<procedure name="submitNotification" securityTest="wl_unprotected" />
And, still I get this error:
Exception thrown by application class 'com.worklight.core.auth.impl.AuthenticationFilter.doFilter:235'
java.lang.RuntimeException: javax.servlet.ServletException: Can not access development servlets in production mode
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:235)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:194)
at [internal classes]
Caused by: javax.servlet.ServletException: Can not access development servlets in production mode
at com.worklight.core.auth.impl.AuthenticationFilter.doFilter(AuthenticationFilter.java:136)
... 2 more