I have a Liberty server farm over which MobileFirst Platform 7.1 is deployed. I have deployed push notification adapters which is having a Tag based notification implementation. I have enabled the tracelogs using the below parameter in the server.xml file.
<logging traceSpecification="com.ibm.ws.webcontainer*=all:com.ibm.wsspi.webcontainer*=all:HTTPChannel=all"
traceFileName="trace.log"
maxFileSize="30"
maxFiles="20"
traceFormat="BASIC" />
How to confirm that the push notification has been sent to the GCM for the all numbers that are subscribed to a Tag using trace.log.
Thanks in advance
Adding "com.ibm.pushworks.*=all" to your trace specification will log messages regarding how Push is communicating with the GCF and APNS.
you can turn on Naming=allfor more info on this refer this or you can use
<logging traceSpecification="*=audit=enabled:com.worklight.integration.notification.*=finest=enabled" />
Related
I am new in openfire, i have setup openfire 4.0.1. Everything is working fine. But Stream Management is not working while it has been resolved.
https://igniterealtime.org/issues/browse/OF-446
But when user sending chat message no acknowledge getting back to sender.
I downloaded source code from here http://www.igniterealtime.org/downloads/source.jsp
I have enable streammanagement in smack client while making connection.
xMPPTCPConnection.setUseStreamManagement(true);
xMPPTCPConnection.setUseStreamManagementResumption(true);
Please suggest me if anything need to do with in openfire to enable stream management or anything i am doing wrong.
Thanks in advance.
You need to check the Incoming/Outgoing traffic and check what packet is sent by Smack for enabling stream management and if it gets acknowledgement from server about stream management enabled.
Please provide the packets here too.
When push notifications are sent to MFP server from backend external server does MFP saves these messages and the status of delivery (Passed/Failed)?
MFP cannot account for the success or failure of the message once it has passed to the vendor - APNS, GCM or MPNS. The messages are not stored, but may be queued until all are dispatched.
I ask early about notification on client here.
Now I am interesting in notification for server side. In particular I am interesting in fact that notification inform all servers.
My problem is cluster of servers. I have some database elements cashed on all servers. If some user on any server update database element cash need to be refresh. Notification could do the job.
Or is there another way to deal with cluster of servers ?
Marko
There is no complete tutorial on this topic, I'm afraid.
Scout however does have the functionality you are looking for in the form of the IClusterSynchronizationService.
You can use it to register listeners and send messages between Eclipse Scout servers.
For it to work, you'll need a message passing system (message queue) such as ApacheMQ or RabbitMQ. You simply have to install the necessary connector from the Eclipse Marketplace and register them for integration in your application. A detailed explanation is in this tutorial. (You need to add the new connector as dependencies to your product files, register the cluster synchronization service, and configure it with properties for host, port, ...).
The "BahBah" Demo chat application on GitHub has an implementation of these listeners and how to register them.
The (inofficial) fork of the BahBah Chat demo has some of these changes already built in.
I configured the Operational analytics for the MobileFirst 7.0
Configured the JDNI as per the IBM document and created client side log profile in Admin Operation Console. But it always shows 0 data. Not load any client logs / server logs.
Log receiver adapter has been built and deployed in the operation console. Client has the method to push the logs to server via WL.Logger.send(). I see the client log console and logcat, the logs has been pushed to server. In server log also, i see the invoke success log for logReceiverAdapter call.
In Operation Analytics console JNDI, the Queue and Size has been set to 1.
This was identified to be a defect in the product and will be resolved as part of APAR #PI42509 WHEN USING SSL ON WEBSPHERE THE ANALYTICS DATA IS NOT RECEIVED BY THE ANALYTICS SERVER BECAUSE OF THE SSL CONFIGURATION USED
There is no local workaround.
Continue to follow up on the issue in the PMR (support ticket) you have opened.
I am working on developing an interface between TomEE application server and rabbitmq.
Is there any example that can show me what is to be configured in the tomEE server ?
How can I initiate tomEE to create a exchange and queue and than send out messages ?
not sure I fully got the question bu you can embed java client in your application and use Java API: http://www.rabbitmq.com/tutorials/tutorial-one-java.html
If you want to use JMS you can rely on https://github.com/imatix/openamq-jms but since there is no rabbitmq resource adapter it is still "manual".