Hi
I have set up template cache to use couchbase provider and it mostly seems fine.
I tried to use the CacheBox Monitoring tool and upon choosing the template from the drop down it freezes until i get a page timeout after 50 secs.
It could be that the Monitoring tool is not yet Couchbase savvy so to speak but thought i would report it anyway.
There is only a few items in my couchbase cache and its pretty close (i.e. on our lan) so i doubt latency is the issue.
`
Railo 4.1.1.003 Error (expression)
Message request (path: C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\index.cfm (C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc):1) has run into a timeout (50 seconds) and has been stopped.
Stacktrace The Error Occurred in
C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc: line 397
395: // This should only error the first time and will run successfully every time after.
396: try {
397: getCouchbaseClient().getDesignDocument( local.designDocumentName );
398: }
399: catch(‘com.couchbase.client.protocol.views.InvalidViewException’ e) {
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc: line 346
344: any function getKeys() output=“false” {
345:
346: ensureViewExists(“allKeys”);
347:
348: // The only reason I’m try/catching this is that the Java exception has an object for the 'type
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc: line 314
312: any function getStoreMetadataReport() output=“false” {
313: var md = {};
314: var keys = getKeys();
315: var item = “”;
316:
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\ReportHandler.cfc: line 131
129:
130: // Cache Data
131: cacheMetadata = cacheProvider.getStoreMetadataReport();
132: cacheMDKeyLookup = cacheProvider.getStoreMetadataKeyMap();
133: cacheKeys = cacheProvider.getKeys();
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\skins\default\CacheReport.cfm: line 118
116:
117:
118: #renderCacheContentReport(arguments.cacheName)#
119:
120:
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\ReportHandler.cfc: line 109
107:
108: <!— Generate Debugging —>
109:
110:
111:
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\monitor.cfm: line 78
76:
77:
78: <cfset report = reportHandler.renderCacheReport(cacheName=url.cbox_cacheName)>
79:
80:
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\Coldbox.cfc: line 197
195:
196: <cfmodule template=“/coldbox/system/cache/report/monitor.cfm”
197: cacheFactory=“#cbController.getCacheBox()#”>
198:
199:
called from C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\Application.cfc: line 44
42: <cfset reloadChecks()>
43: <!— Process Request —>
44: <cfset processColdBoxRequest()>
45:
46:
Java Stacktrace request (path: C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\index.cfm (C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc):1) has run into a timeout (50 seconds) and has been stopped.
at sun.misc.Unsafe.park(Native Method):-2
at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source):-1
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(Unknown Source):-1
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(Unknown Source):-1
at java.util.concurrent.CountDownLatch.await(Unknown Source):-1
at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:80):80
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74):74
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64):64
at com.couchbase.client.CouchbaseClient.getDesignDocument(CouchbaseClient.java:538):538
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method):-2
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source):-1
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source):-1
at java.lang.reflect.Method.invoke(Unknown Source):-1
at railo.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:37):37
at railo.runtime.reflection.Reflector.callMethod(Reflector.java:820):820
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:721):721
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at coldbox.couchbase.couchbaseprovider_cfc$cf._3(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc:397):397
at coldbox.couchbase.couchbaseprovider_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712):712
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at coldbox.couchbase.couchbaseprovider_cfc$cf._3(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc:346):346
at coldbox.couchbase.couchbaseprovider_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712):712
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at coldbox.couchbase.couchbaseprovider_cfc$cf._3(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc:314):314
at coldbox.couchbase.couchbaseprovider_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\couchbase\CouchbaseProvider.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.ComponentImpl._call(ComponentImpl.java:612):612
at railo.runtime.ComponentImpl._call(ComponentImpl.java:495):495
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1708):1708
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712):712
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at coldbox.system.cache.report.reporthandler_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\ReportHandler.cfc:131):131
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712):712
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at coldbox.system.cache.report.skins._default.cachereport_cfm$cf.call(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\skins\default\CacheReport.cfm:118):118
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:833):833
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:780):780
at coldbox.system.cache.report.reporthandler_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\ReportHandler.cfc:109):109
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:198):198
at railo.runtime.ComponentImpl._call(ComponentImpl.java:613):613
at railo.runtime.ComponentImpl._call(ComponentImpl.java:495):495
at railo.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1725):1725
at railo.runtime.util.VariableUtilImpl.callFunctionWithNamedValues(VariableUtilImpl.java:738):738
at railo.runtime.PageContextImpl.getFunctionWithNamedValues(PageContextImpl.java:1504):1504
at coldbox.system.cache.report.monitor_cfm$cf.call(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\cache\report\monitor.cfm:78):78
at railo.runtime.PageContextImpl.doInclude(PageContextImpl.java:833):833
at railo.runtime.tag.CFTag.doInclude(CFTag.java:303):303
at railo.runtime.tag.CFTag.cfmlStartTag(CFTag.java:225):225
at railo.runtime.tag.CFTag.doStartTag(CFTag.java:157):157
at coldbox.system.coldbox_cfc$cf._1(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\Coldbox.cfc:197):197
at coldbox.system.coldbox_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\coldbox\system\Coldbox.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:700):700
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712):712
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494):1494
at application_cfc$cf.udfCall(C:\Users\Blacka\Dropbox\Code\CFWorkspace\mcwr_ii.l\Application.cfc:44):44
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:94):94
at railo.runtime.type.UDFImpl._call(UDFImpl.java:307):307
at railo.runtime.type.UDFImpl.call(UDFImpl.java:211):211
at railo.runtime.ComponentImpl._call(ComponentImpl.java:612):612
at railo.runtime.ComponentImpl._call(ComponentImpl.java:495):495
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1708):1708
at railo.runtime.listener.ModernAppListener.call(ModernAppListener.java:373):373
at railo.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:109):109
at railo.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:18):18
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2149):2149
at railo.runtime.PageContextImpl.execute(PageContextImpl.java:2116):2116
at railo.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:318):318
at railo.loader.servlet.CFMLServlet.service(CFMLServlet.java:29):29
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728):728
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305):305
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210):210
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222):222
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123):123
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472):472
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171):171
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99):99
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118):118
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407):407
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200):200
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589):589
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310):310
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source):-1
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source):-1
at java.lang.Thread.run(Unknown Source):-1
Timestamp 27/09/13 14:21:07 BST
`
`
CacheBox Monitor
Refresh Monitor:
CacheBox ID
596211302
Configured Caches
default,template
Scope Registration
{ENABLED={false}, KEY={cachebox}, SCOPE={server}}