Good Day,

I am trying to get my HTML DW to connect to the database via the connection
cache.

dwMine = java.CreateComponent ("DataWindow/HTMLGenerator",
"iiop://localhost:9000", "jagadmin", "", "DataWindow/HTMLGenerator" );
dwMine.SetDWObject("cyclelab.pbl", "dw_event");
dwMine.SetSelfLink(document.name, "");
dwMine.SetWeight(true, true, true, false, false);
dwMine.SetHTMLObjectName("dwMine");
var retVal = dwMine.SetTrans("SYJ", "CacheName='CycleLab'", "", "", "",
"MagiTemp", "");


document.Write(retVal);
retVal = dwMine.Retrieve();
document.Write(retVal);
retVal = dwMine.GetLastErrorString();
document.Write(retVal);
document.Write(dwMine.Generate());

My output is :

1-1Cannot connect! Jaguar Error on JagCmGetCachebyName. Please check the
Jaguar server file for the failure reason.

In my server Jaguar log file it says :

Feb 24 13:55:53 2000: cm_get_cachebyname: cache 'CycleLab' does not exist.

I do have cache-by-name access enabled on my connection cache and it pings
succesfully.

Any help would be appreciated.

Thank you.

Cobus Bron.