I have a wildfire server, a spark client and smack used on a coldfusion website.
I recently downloaded the most recent version of spark (2.0) and it stopped my website from working properly!
Smack successfully connects to wildfire and sets up a conversation with the spark client, and can send message. But the other way around does not work!
I recieve a null message from the spark client when no message was sent, and no actual sent messages from spark are recieved by smack!
I am not sure where this bug lies as it could be in any of the three compnents. but as soon as I downgraded back to spark 1 it all started working again!
you may want to enable the debug windows for Spark (press F12) and for Smack (add XMPPConnection.DEBUG=true;) to see what’'s the difference. This should help you to identify whether this is a Spark bug.
with the error message “DEBUG”, heh. I will post with the spark results as soon as I do them. I see that spark uses smack too, a greater version than the current stand alone release?
the messages Spark 1 and Spark 2 did send look to be exactly the same. So I really wonder if this is a Spark problem. Could you try to reproduce this problem using F12 / Ad-hoc messages with Spark 1.1.4 and Spark 2?
maybe it helps to use the Wildfire audit log to see what’‘s going on, as the “Spark Debug Window” / “Ad-hoc messages” seem to be a little harder to use. http://server:9090/audit-policy.jsp let’'s you enable a log for all packets.
Just worked out how to send an ad hoc message (mac user, not used to right click button!) And it looks like it’‘s spark’'s fault.
-message through window-
The AdHoc message is recieved but the other one is not. This seems to be because spark is sending it as an offline message, because it is not set to recieve presense information for the user it is sending to, so they appear offline. This looks like it can be fixed in either spark of wildfire. My two suggestions :-
In Spark. If someone not on your roster sends you a message, first reply should be sent as a normal message, if this isn’'t succesful, THEN send it as offline
In WildFire. If it recieved an offline marked message and the user is actully online, convert it to a normal message and send it.