I have another problem with the offline store. I use one server to send messages to Jive Messenger 2.2.0 (SuSE 9.2 with mysql) and another server (smack 2.0.0) who connects each half an hour to retrieve the data. This time (not half an hour, just 20 minutes or so) one server wrote 194 messages to the other account which were stored in the jiveOffline table.
When the half-an-hour server connected it only received 72 messages but the jiveOffline table was empty afterwards. This is the code that gets the data:
int packetCount = 0;
// if no PacketCollector exists it is created this way:
// jabberConnection.createPacketCollector(new PacketTypeFilter(Message.class));
PacketCollector collector = connectorData.getPacketCollector();
Packet packet = collector.nextResult(timeout); // timeout is 5000 millisec
while (packet != null)
packet = collector.nextResult(500);
log.finer(packetCount+" Messages received.");
I need some help here.
PS: For another problem which describes my Server setup in greater detail please see here: http://www.jivesoftware.org/community/thread.jspa?threadID=16372&tstart=0