|
From: Chris S. <Chr...@Ne...> - 2005-04-18 04:36:30
|
Hi folks, I am setting up a Jahia CMS (www.jahia.org) cluster according to the = instructions in their Jahia Clustering HOWTO (v2) document. Jahia uses = OpenJMS for syncing the CMS cache across multiple instances. If I set up my two Jahia instances to use RMI to connect to OpenJMS = (running on a third server) all is well - except that I cannot then = firewall the machines properly because of the anonymous ports used (cf. = http://sourceforge.net/mailarchive/message.php?msg_id=3D9099205). So I switched across to the TCP connector by changing the Connector = scheme to tcp. All apears fine and I can connect OK to OpenJMS with = "telnet localhost 3030". In Jahia, the config change is performed by just changing one line: org.jahia.cache.jmsCacheContextProviderURL =3D = rmi\://blah.com.au\:1099/ to read: org.jahia.cache.jmsCacheContextProviderURL =3D = tcp\://blah.com.au\:3030/ For completeness, this is the full extent of JMS configuration in = Jahia's properties file: ### JMS Cache Settings ############### org.jahia.cache.jmsCacheActivated =3D true org.jahia.cache.jmsCacheInitialContextFactory =3D = org.exolab.jms.jndi.InitialContextFactory org.jahia.cache.jmsCacheContextProviderURL =3D = rmi\://careerone01.ac3.com.au\:1099/ org.jahia.cache.jmsCacheTopicConnectionFactoryName =3D = JmsTopicConnectionFactory org.jahia.cache.jmsCacheTopicName =3D jahiaCache org.jahia.cache.jmsCacheMaxMessagesInPackage =3D 2000 org.jahia.cache.jmsServerLookupSleepTime =3D 10000 I also opened up the appropriate ports: 3030 and 3035. But this doesn't work and I get the following Jahia error in = catalina.out: 1315607 [JMS Reconnection] WARN - = org.jahia.services.cache.JMSConnectionException: JMS Connection error, = Could not get the InitialContext = [org.exolab.jms.jndi.InitialContextFactory] on provider = [tcp://blah.com.au:3030/]., root cause:Operation getNameParser failed: = java.io.EOFException root cause=3Djavax.naming.NamingException: = Operation getNameParser failed: java.io.EOFException I have since flushed my iptables so I know it is not a firewall problem. Is this an OpenJMS config error on my part? Am I missing something? Thanks in advance, Chris Chris Stephens > Technology Director phone > +61 2 9779 0129 mobile > +61 403 074 567 fax > +61 2 9779 0199=20 http://www.netreturn.com.au |