Hi Oliver,
I real tried hard to enable a ClusterCacheRefreshing with 2 full caching
slides. And can't get it working. This is what I found out:
- If one use udp="false" for every refreshing action a new thread is
started a the sender and the receiver of the refresh-message. One is the
NotifyMethod, that is waiting for an answer and the other is the
NotificationListener that wait for an additional message line. (A bug? )
- Using udp="true" the last started slide receives
ClusterCacheRefreshing-Notifications but is not able to send them.
- Receiving a ClusterCacheRefreshing-Notifications slide dumps "INFO -
Resetting cache for ..." for the structure- and contentSubscriber. In
the debugger I saw that TxLRUObjectCache.remove() is called, but the
cache wasn't really cleared.
Is it possible to work out two Domain.xml that cluster two slides
working on one filestore? (Building two workers in a loadbalanced mod_jk
environment.)
Here are my first suggestions:
<listener
classname="org.apache.slide.cluster.ClusterCacheRefresher">
<configuration>
<node local-host="tomcat1"
local-port="4410"
repository-domain="/"
repository-host="tomcat2"
repository-port="8080"
username="root"
password="****"
udp="false"
/>
</configuration>
</listener>
#############################################################
<listener
classname="org.apache.slide.cluster.ClusterCacheRefresher">
<configuration>
<node local-host="tomcat2"
local-port="4411"
repository-domain="/"
repository-host="tomcat1"
repository-port="8080"
username="root"
password="****"
udp="false"
/>
</configuration>
</listener>
Yours
Arne
Oliver Zeigermann-2 wrote:
A shared file system will not work with the transactional file store.
Maybe if you used a non transactional file store it might work.
Oliver
2007/4/18, Eirikur Hrafnsson <[EMAIL PROTECTED]>:
Thanks Oliver,
better to know that at least. Only problem is that we have had so
much trouble with the RDBMS store that we have all but abandoned it
for the much more reliable txfile store : /
Would it be possible to blend the two? Like with a shared drive for
the files but using the db for the properties etc?
cheers
-Eiki, Idega Software
On Apr 17, 2007, at 6:52 PM, Oliver Zeigermann wrote:
> AFAIK clustered mode only makes sense with a DB store.
>
> Oliver
>
> 2007/4/17, Eirikur Hrafnsson <[EMAIL PROTECTED]>:
>> Hi all,
>>
>> reading the wiki, http://wiki.apache.org/jakarta-slide/
>> ClusterSupport, tells me nothing about how we can set up a simple two
>> server cluster (loadbalanced tomcats...)
>>
>> We have a clustered app that needs Slide, preferably using TxFile
>> store. Is it possible and could someone describe the setup? Shared
>> drive? etc...
>>
>> Best Regards
>>
>> Eirikur S. Hrafnsson, [EMAIL PROTECTED]
>> Chief Software Engineer
>> Idega Software
>> http://www.idega.com
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Quoted from:
http://www.nabble.com/Is-it-REALLY-possible-to-Cluster-Slide--%28from-cvs-HEAD%29-tf3592074.html#a10076859
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]