I think you have an old mmbaseroot.xml
Add this line to mmbaseroot.xml and you should get multicast log messages on startup

<property name="sharedstorage">org.mmbase.module.core.change.Multicast</property>

The properties used are then in config/utils/multicast.xml. The properties in mmbaseroot.xml are not used. Neither are the properties in unicast.xml these are only used when you set the sharedstorage to Unicast.

Nico Klasens


Arjen Roodselaar wrote:
Hi Nico,

Thanks for your reply!

On Thursday 23 March 2006 15:18, Nico Klasens wrote:

One vital piece of information is missing in your post. Which version of
 MMBase are yoy using.


Good point! I totally forgot to mention version numbers:

MMBase 1.7.3-final 20050107
Tomcat 5.5.15
Sun Java 1.4.2_08-b3


1.7.2 and up moved the properties to config/utils/multicast.xml and the
mmbaseroot.xml has a property sharedstorage.


The only thing I could find in mmbaseroot.xml about storage is this:
<property name="storagemanagerfactory">org.mmbase.storage.implementation.database.DatabaseStorageManagerFactory</property> Also, there are multicast properties in my mmbaseroot.xml. Is this also true for a generic MMbase 1.7.3 or did the developers who delivered this app fowardport the config files from an older MMbase version and thereby breaking certain functionality?


When you use 1.7.1 add a logger for class
org.mmbase.module.core.MMBaseMultiCast with debug in the log4j.xml and
you should see some messages passing around.


I added the following to my log4j.xml but I'm unable to spot any mcast information in the log:

  <logger name="org.mmbase.module.core.MMBaseMultiCast" >
    <level class="&mmlevel;" value ="debug" />
  </logger>

Is this correct?


Another thing nice to know is: are the machines on the same wire or are
there any routers/switches between them. The implementation uses a ttl
of 1 which means that the packets won't leave the wire.


The machines are on the same switch (and vlan), so a TTL of 1 should be enough.

Editing multicast.xml and setting a value for "multicasthost" didn't solve my problem yet. Also, should the port number specified in utils/multicast.xml be the same number specified in utils/unicast.xml? I guess not, but I've been wrong before.

Thanks in advance for more input!

Arjen


------------------------------------------------------------------------

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers


_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to