[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] about publish key



Hi,

this works fine here, probably
you need to specify "-bootstrapHostname <host>" as the clients don't
find the server (e.g. client assumes 127.0.0.1 but server listens on
127.0.0.2)

Try to start the server like this
  java -Dcom.sun.management.jmxremote org.xmlBlaster.Main -call[core] true
and observe if the clients have logged in with
 jconsole

cu
Marcel


Cyrille Giquello wrote:

Hello,

Bad news from me, I cannot retreived published messages...

I've try with xmlBlaster_REL_1_0_7 without any changes (unzip downloaded file).

At first start the subscriber :
java -cp xmlBlaster/lib/xmlBlaster.jar javaclients.HelloWorldSubscribe -oid myTopic
then publishing :
java -cp xmlBlaster/lib/xmlBlaster.jar javaclients.HelloWorldPublish -oid myTopic -numPublish 3


The subscriber never got messages !
It stay at this line and way for ever ...
[12 nov. 2005 01:19:37 INFO main HelloWorldSubscribe] Waiting on update ...


then in the GUI Window (key 'g' in xmlBlaster console) I've try some XPath queries but all failed.
Only matching queries are //key or /xmlBlaster/key.
such queries's result looks like :


======================================================
### XmlKey:

<key oid='xmlBlaster_192_168_0_151_3412-1131752421119000000'/>
### Content:
Hi-1

I did a dump in a file, but nothing about 'myTopic'.

Have you an idea ??

Cyrille.