Skip to content

Instantly share code, notes, and snippets.

View timmaybrown's full-sized avatar

Tim Brown timmaybrown

View GitHub Profile
.state('logout', {
url: '/logout',
controller: 'LogoutCtrl',
controllerAs: 'vm'
.state('loginLayout', {
abstract: true,
//url: '/',
views: {
timmaybrown / WAITING on java.util.concurrent.CountDownLatch
Created March 18, 2015 06:13
cfcouchbase - 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 August 29, 2015 14:17
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 September 24, 2014 18:08
ColdBox REST API: Example 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 March 4, 2016 04:12
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 …
<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.