Dear Roth, please, find my answers inline below....
Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- AVVERTENZE AI SENSI DEL D.Lgs. 196/2003 Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003. The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc. On Tue, Aug 25, 2015 at 9:01 AM, Rot Ulet <[email protected]> wrote: > Up ! > Sorry to re-send the message but as I received no answer from my previous > questions, I wish to try again ... > Thx > > Hi, > I am running into problems configuring the jms clustering of Geoserver. > > Here is the background: > > I have 4 virtualboxes, each running a Geoserver 2.7.1 with the jms-cluster > extension. I would like to keep the embedded broker in a matter of simpler > installation. Also I would like to preserve this kind of peer to peer > network because it supports easily the add or removal of node and because > clients, do not have to know the broker network config. > I was about to say that this should be supported out-of-the-box with the multicast approach but it looks like you can't use it. > However, my network admin announced me multicast will not be allowed in > production environment. There you go :) > So as I know a priori the ip addresses of all the > geoserver instances, I would like to change the multicast to a set of static > ip setting the java property > 'activemq.transportConnectors.server.discoveryURI' to > 'static:(host1,host2,etc.)'. > > But I got a NullPointerException from activemq. I even tried to upgrade to > latest version of activemq jars (as suggested by the fix - > issues.apache.org/jira/browse/AMQ-5442) but it does the same: geoserver do > not bootstrap. Here the top of the stacktrace: > 21 Jul 10:26:04 ERROR [cluster.impl] - java.lang.NullPointerException at > org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent.start(Simple > DiscoveryAgent.java:92) at > org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:253) > at > org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.j > ava:2593) at > org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2 > 506) at > org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:710) > > Then I have disabled the embedded broker and install an external one (latest > version) for each Geoserver VMs. Brokers can see each other and exchange > messages. If I create a style from one Geoserver, the jms messages are sent > to the other broker in the good topic. But the other geoserver does not > retrieve the messages from its local broker... so the style is not > imported... > > Here is my configuration: > * /etc/default/activemq pastebin.com/XARMtzQF > * activemq.xml pastebin.com/PTkpUhjP > * cluster.properties pastebin.com/CDKPKG2J. > > The activemq version was 5.11.1 and I got the same results the 5.9.0. > > Can I have some hints to configure my geoservers with the embedded broker > without multicast? Or, at least, hints for an external broker without > mutilcast? I believe I tried to help a bit with this kind of questions on Stackexchange. The first config is something we never tried, It would need some of our devs time to make sure it is supported and work properly. About the second, this should work as well as it is one of the two configurations that we usually uses (1 being the p2p embedded broker with multicast). You can find some additional information in this documents: http://geoserver.geo-solutions.it/edu/en/clustering/geoserver/active/index.html#advanced-stand-alone-mom-configuration-and-usage I would suggest to make sure that the various instances are acting as slaves and that the connection with the broker is enabled (see the cluster configuration page that is available once you deploy the jms clustering extension in geoServer). Let me know how it goes, it might also be wort to sayin with OS you are using for the deploy. > > Regards, > Rot. > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
