Re: Jahia & JMS Installation Problem
Serge Huber <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.install |
|---|---|
| Message-ID | <[email protected]> |
This might happen if there was a problem on the JMS server. Check it's
console output to see if you get any errors.
Regards,
Serge Huber.
ghislain.cussonneau wrote:
> HELP !!!
>
> My config is :
>
> Sun Solaris 8.0
> Jahia 4.0.6
> PostgreSQL 7.4.7.000
> OpenJMS 0.7.6.1
> Apache 2.0.54
>
> I try to install two Jahia servers : one for authoring, one for reading.
> I read the "Jahia Clustering HOW-TO", but without success for OpenJMS
> integration.
>
> When I start the two Jahia Servers, I've got this entries in the two
> catalina.out logs :
>
> 22040 [main] DEBUG - JMSHubConsumer successfully instanciated!
> 22095 [main] DEBUG - JMS Hub successfully set as a listenenr on topic
> [jahiaCache-true]
> 22095 [main] INFO - JMS Message Consumer successfully initialized!
> Ready to receive message.
> 22102 [main] DEBUG - JMSHubPublisherHandler successfully instanciated!
> 22118 [main] DEBUG - Message Publisher successfully initialized on on
> topic [jahiaCache-true]
> 22119 [main] INFO - JMSHubPublisher successfully initialized!
> 22119 [main] INFO - JMS Message Publisher successfully started.
>
> So it seems to be OK... But when I publish some contents or pages on
> the authoring server, the modifications are not reloaded on the
> reading server and I've got lots of errors in the log that says the
> Message Publisher to be not connect !
>
> 1972730 [http-8080-Processor8] DEBUG - Removed the entry
> [Delete_ContentContainer_164] from cache [LockPrerequisitesResultMap]!
> 1972730 [http-8080-Processor8] DEBUG - The Message Publisher is not
> connected. Message dropped.
> [...]
> 1972878 [http-8080-Processor8] DEBUG - Entry [1062_1] could not be
> found in cache [FieldCache]!
> 1972884 [http-8080-Processor8] DEBUG - Adding key
> [PAGE-39:vubadm:fr###2] into cache [HTMLCache, cache size before set=3
> 1972884 [http-8080-Processor8] DEBUG - The Message Publisher is not
> connected. Message dropped.
>
> WHY ?
>
> The Jahia.properties contains
>
> ### JMS Cache Settings ###############
> org.jahia.cache.jmsCacheActivated = true
> org.jahia.cache.jmsCacheInitialContextFactory =
> org.exolab.jms.jndi.InitialContextFactory
> org.jahia.cache.jmsCacheContextProviderURL =
> rmi\://localhost\:1099/
> org.jahia.cache.jmsCacheTopicConnectionFactoryName =
> JmsTopicConnectionFactory
> org.jahia.cache.jmsCacheTopicName = jahiaCache
> #org.jahia.cache.jmsCacheMaxMessagesInPackage = 2000
> org.jahia.cache.jmsServerLookupSleepTime = 10000
> And the openjms.xml contains
>
> <?xml version="1.0"?>
> <!-- OpenJMS configuration:
> . RMI connectors
> . JDBM persistency
> . embedded JNDI provider
> . embedded RMI registry, running on port 1099
> . preconfigured destinations
> NOTES: this configuration shows all configuration elements relevant
> when using an RMI connector.
> -->
> <Configuration>
> <!-- Optional. This represents the default configuration -->
> <ServerConfiguration host="203.34.228.120" embeddedJNDI="true" />
> <!-- Required when using an RMI connector -->
> <Connectors>
> <Connector scheme="rmi">
> <ConnectionFactories>
> <QueueConnectionFactory name="JmsQueueConnectionFactory" />
> <TopicConnectionFactory name="JmsTopicConnectionFactory" />
> </ConnectionFactories>
> </Connector>
> </Connectors>
> <!-- Required -->
> <DatabaseConfiguration>
> <JdbmDatabaseConfiguration name="/openjms/datas/openjms.db" />
> </DatabaseConfiguration>
> <!-- Required -->
> <AdminConfiguration script="${openjms.home}\bin\startup.bat" />
> <!-- Optional. If not specified, no destinations will be created -->
> <AdministeredDestinations>
> <AdministeredTopic name="jahiaCache" />
> <AdministeredTopic name="topic1">
> <Subscriber name="sub1" />
> <Subscriber name="sub2" />
> </AdministeredTopic>
> <AdministeredQueue name="queue1" />
> <AdministeredQueue name="queue2" />
> <AdministeredQueue name="queue3" />
> </AdministeredDestinations>
> <!-- Optional. If not specified, no users will be created -->
> <Users>
> <User name="admin" password="openjms" />
> </Users>
>
> </Configuration>
> Thanks In Advance
>
> *Ghislain CUSSONNEAU*
> /DIRR/DPIL/CIS
> /
> /CAP 44, Rue Marcel Sembat
> /
> /44000 Nantes/
> *02 51 84 48 80*
>
>
> /Accédez au courrier électronique de La Poste : www.laposte.net ;/
> /3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)/