Skip to content

Instantly share code, notes, and snippets.


Tim Brown timmaybrown

View GitHub Profile
View gist:ff6f00cb9fefc31f49c1
.state('logout', {
url: '/logout',
controller: 'LogoutCtrl',
controllerAs: 'vm'
.state('loginLayout', {
abstract: true,
//url: '/',
views: {
timmaybrown / WAITING on java.util.concurrent.CountDownLatch
Created Mar 18, 2015
cfcouchbase - WAITING on java.util.concurrent.CountDownLatch
View WAITING on java.util.concurrent.CountDownLatch
"ajp-bio-8014-exec-1" Id=131 WAITING on java.util.concurrent.CountDownLatch$Sync@4c03dfda
java.lang.Thread.State: WAITING
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.CountDownLatch$Sync@4c03dfda
at java.util.concurrent.locks.LockSupport.park(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(
at java.util.concurrent.CountDownLatch.await(
at com.couchbase.client.vbucket.BucketUpdateResponseHandler.getReceivedFuture(
timmaybrown / Coldbox + Couchbase Client Start Up Locking Issue
Last active Aug 29, 2015
Coldbox + Couchbase Client Start Up Locking Issue
View Coldbox + Couchbase Client Start Up Locking Issue
coldfusion.tagext.lang.LockTag$TimeoutException: A timeout occurred while attempting to lock WireBox.Singleton.couchbaseclient@cfcouchbase.
at coldfusion.tagext.lang.LockTag.doStartTag(
at cfSingleton2ecfc125162580$funcGETFROMSCOPE.runFunction(C:\inetpub\wwwroot\ezapi\coldbox\system\ioc\scopes\Singleton.cfc:38)
at coldfusion.runtime.UDFMethod.invoke(
at coldfusion.filter.SilentFilter.invoke(
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(
at coldfusion.filter.FunctionAccessFilter.invoke(
at coldfusion.runtime.UDFMethod.runFilterChain(
at coldfusion.runtime.UDFMethod.invoke(
timmaybrown / BaseRemoteHandler.cfc
Created Sep 24, 2014
ColdBox REST API: Example BaseRemoteHandler.cfc
View BaseRemoteHandler.cfc
component {
property name="customJSON" inject="model";
public void function preHandler(event, rc, prc){
prc["ret"] = {};
public any function onError(event, faultAction, exception, eventArguments){
//duplicate the PRC so it can be useful information during development
timmaybrown / customJSON.cfc
Last active Mar 4, 2016
Here is a component that extends Ben Nadel's JSON Serializer CFC ( and uses the jsonUTIL project in lieu of native CF serialization to fix some known issues. This approach uses a CFDirectory call to find all my persistent CFCs (in this case they …
View customJSON.cfc
<cfcomponent extends="model.util.jsonSerializer" singleton="true">
<cfproperty name="jsonUTIL" inject="model" />
<cffunction name="init">
<!---// let's init Mr. Nadel's serializer--->
<cfset super.init()>
<!--- FOR Reference: PROPERTIES THAT ARE AVAILABLE due to the SUPER.init() call above
// Every key is added to the full key list.
You can’t perform that action at this time.