I've written a blog post addressing the configuration in a bit more detail. The big item that needs to be considered is that an EJB Module containing an EJB spec must be provided. The EJB spec points to a Tridion Message Driven Bean class. Here is the link to the post:
There's probably 2 or 3 questions hiding behind that seemingly simple question...
If you want to find it the CCS is running, the easiest is to open a telnet connection to the server and port that it's configured to run on. If you get no answer, then CCS is not running.
If you want to find out if the CCS is working it's a different ball game. Here you'll ...
The basic principle is that for each deployer there is a cache invalidation process. For RMI , this is via the Cache Channel Service (CCS) and for JMS this is via a JMS queue.
If you have two servers each with their own DB and deployer, then you will need two cache invalidation processes (CCS or JMSQ).
All brokers (websites) that serve content deployed by ...
You question may be more related cache channel service rather the Tridion CDA or it is little unclear as the question is mixing up on the functionality of Object Cache and CCS.
Before I answer your question, Few Important Notes on Tridion Object Caching and Cache Channel Service(CCS):
Tridion Object Caching on your CDA is memory based and stand alone to ...
I've figured it out. There are two things necessary:
Give the service a different name
Specify a different port.
To do this, edit the installService.ps1 script. Locate the line where the first argument to procrun is added:
$arguments += "//IS//SDLWebCacheService"
... and modify it to be different to the cache service you already have running. e.g.:
In 2013 SP1 the Cache Channel messages were not a public API, and that hasn't changed yet in Web 8 either.
I don't think you can do much with the RMI at all actually, but when you change to JMS there are some possibilities. See for example Mihai's blog on how to hook into the messages using a JMS listener http://yatb.mitza.net/2014/07/custom-cache-...
If you are using DD4T caching with ActiveMQ cache invalidation, that allows you to keep DD4T objects cached for a long period (until they get invalidated).
However, your application may still be (indirectly) using the CIL API as well. So, I would recommend to also enable CIL caching (but with a relatively short Time To Live, e.g. 1 minute).
BTW: for Java ...
If I'm not wrong, you need to add FlushCacheDuringDisconnectInterval attribute on RemoteSynchronization node on cd_storage_conf.xml
<RemoteSynchronization Host="127.0.0.1" Port="1099" Queuesize="128" ServiceMonitorInterval="3000" FlushCacheDuringDisconnectInterval="200000" />
What is "FlushCacheDuringDisconnectInterval"?
If the Content ...
It's caused by the fact that the CacheEvent class had no serialVersionUUID. Some application servers then generate their own and if they differ between JVMs (which is then usually the case), you get this error.
Hotfix CD_184.108.40.2069 fixes the issue. You'll need to apply it on all involved CD components.
First of all, you will need to setup JMS as your cache invalidation mechanism, as DD4T's caching mechanism does not support listening to RMI. You can read all about that in Quirijn's blog post and the follow-up post.
To enable JMS cache invalidation in a dd4t-2.0 webapp, you need to do the following:
Ensure the following dependencies are present:
I would centralized CCS on one server. Instead of having CCS running on server A and B, have it configured to run on server A and have the webapp connect to server B. In the cd_storage_conf.xml on webapp B configure the remote synchronization to ServerA
For few years, we are exactly in the same configuration : caching setup with one cache channel service (as Windows Service) configured on each webserver. Each webservers is synchronized with its dedicated Cache Channel.
The only disavantage I see in this scenario is that Cache Channel becomes a SPOF. It cannot be scaled up. One Cache Channel for one ...
You can change the following registry key:
Change the value of the ImagePath for the parameters to pass to the Cache Channel Service. For example:
"C:\Program Files (x86)\Tridion\bin\cd_cacheservice.exe" localhost:1066
This is documented on the following page:
When generated Trace level log for micro services like discovery, content and deployer I found that cache channel service is generating logs and working fine. When published a component, I can see log generated for cache channel service, deployer, content etc. When we configured CIL level caching in DD4T application we found significant improvement.
On your first question, the dd4t cache provider assumes that the tridion object cache is turned on and functioning - it doesn't actually check if the cache it is inserting into is activated or not. If you would like to run without cacheing, i would advise you to utilize the (aptly named) NoCacheProvider.
On your second question, both the cache channel as ...
You are using AsyncJMS11MDB strategy. You may need to provide an EJB module with an EJB spec pointing to the MDB class (if your build is java).
Also make sure that the strategy you specify is supported by Tibco.
Have a look at the article here that explains how to accomplish this for WebSphere JMS. There may be similarities.
For this kind of problem, the first tool you reach for should be Sysinternals procmon. This will enable you to see exactly which file can't be opened, and also to get other information, such as which process was involved, what kind of access was specified for the file open, and what account it was using. Usually this is sufficient to solve problems like this....
This article is probably the best starting point for you to understand the object cache and cache channel service relationship.
In a nutshell, all your web application servers are Cache Channel Service clients that listen for updates. Your Deployer is the one piece providing information about which items should be flushed from cache.
If all your app ...
There is no invalidation of the DD4T cache in DD4T .NET 2 out of the box.
However, DD4T Java has cache invalidation out of the box.
The Cache Channel Service will invalidate the Tridion Object Cache but not DD4T's cache. You will need to rely on TTL or integrate with ActiveMQ/JMS.
The cache channel service should be shared by the deployer (which sends invalidation messages) and the web applications (which need to be informed of invalidations). So the deployer and the web applications have a shared interest in the content items that are being published.
The cleanest design for a scale-out is to ensure that there's no overlap of ...
You can't have two instances of the service listen on the same port. One will fail.
One option is to configure the services to run on separate ports like this:
Is it possible to specify your own port number for the cache microservice
You could also consider running the instances on separate servers.
The error is a sign of you starting up the CacheChannel service twice on the same port. Did you maybe merge the CCS in your Deployer startup?
If you use ActiveMQ JMS, you don't actually need to setup the CacheChannel service at all.
Problem was caused by the RMIChannel Listenerport which is by default enabled in the quickinstall configs (SDL Web 8.5\Content Delivery\resources\quickinstall\config\deployer-combined\deployer-conf.xml). After commenting out this Port problem was resolved.
<!-- RMI Channel Port -->
In addition to Rob's answer, in DD4T version 2, the framework does not support RMI.
This does not mean you cannot use RMI for invalidation of the Tridion Object Cache in case you have that turned on in the web application and are using the in process Tridion libraries. If you use RMI for this part however, the DD4T stack cannot listen to invalidation ...
Use Regedit and check the following name:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\SDLWebCacheService\Parameters\Java
If there are spaces in the name of the service, you will find that the Classpath is truncated at the first space. (Instead it should look more like this, although the other services use a dot to ...