Gert just tweeted about the "Ram Resource Info" being available on the preview site ( http://preview.getrailo.org/ExtensionProvider.cfc ). I thought I'd take a moment to show you how to install and use it.
| Mo | Di | Mi | Do | Fr | Sa | So |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 |
Random Friday Railo tip: this.datasource
Mark Z said: Thanks for the review. You've saved much of my time as I'm currently
surfing the web looking for s...
[More]
Railo Tip: Trimming with cfsavecontent
Naveen Krishnamurthy said: I had the same preceding and succeeding spaces too.. But the spaces are gone if we set the suppressW...
[More]
Railo – BlazeDS
Serge said: Hi, I just try to make it work through Ajax client library. It doesn't seem to have setSource() meth...
[More]
Railo 3.0 released - Features part III - Multimedia
brian said: Hi, just wondered if anyone had come across this. I downloaded Railo Express
last night to give c...
[More]
Running Railo 3.1 from a CD
brian said: When I try and launch a url from the start.bat file as follows:
httpd.exe -conf conf/resin.conf -...
[More]
I wasn't aware of this until just this morning, but ram:/// is specific to each web context. Case in point, my screenshots were showing everything I did on http://testbed/ - I went over to my http://localhost/ and installed the application and my ram:/// is empty.
If that's true, I think it's actually cool that Railo implemented VFS so that each web context gets its own RAM space.
----
Another thing. At the moment the ram resource is defined in each web context’s railo-web.xml.cfm file. The definition looks like this:
<resource-provider
scheme="ram"
class="railo.commons.io.res.type.ram.RamResourceProvider"
arguments="case-sensitive:true;lock-timeout:1000;"/>
If you now copy the above definition to the railo-server.xml file like follows:
<resource-provider
scheme="gram" <<< this scheme just says something like global RAM
class="railo.commons.io.res.type.ram.RamResourceProvider"
arguments="case-sensitive:true;lock-timeout:1000;"/>
and restart the server, you could actually use a global ram resource in order to share files across the server. You can of course use any other scheme for it. Then after that you can use it like this:
<cffile action=”copy” source=”c:\temp.txt” destination=”gram:///test.txt”>