Skip to content

Instantly share code, notes, and snippets.

Avatar
📦
There's a box for that

Brad Wood bdw429s

📦
There's a box for that
View GitHub Profile
View gist:6187080
<Host name="scribble.dev" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
<Context path="" docBase="C:\Users\Brad.development\Documents\scribble.dev" />
</Host>
View gist:6189428
- endElement(): not adding invalid matcher '320 kBits'
- endElement(): not adding invalid matcher '384 kBits'
- endElement(): not adding invalid matcher '\b3'
- endElement(): not adding invalid matcher '\b2'
- endElement(): not adding invalid matcher 'Mono'
- endElement(): not adding invalid matcher '- %d frames,'
- endElement(): not adding invalid matcher 'width=%d pixels,'
- endElement(): not adding invalid matcher 'height=%d pixels,'
- endElement(): not adding invalid matcher 'depth=%d,'
- endElement(): not adding invalid matcher 'ticks/frame=%d'
@bdw429s
bdw429s / gist:6440863
Created Sep 4, 2013
Stack trace of server under load test.
View gist:6440863
This file has been truncated, but you can view the full file.
"http-bio-8888-exec-123" Id=256 BLOCKED on java.lang.Object@266b6eb6 owned by "http-bio-8888-exec-106" Id=211
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1695)
- blocked on java.lang.Object@266b6eb6
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectionCommand(SQLServerConnection.java:1761)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.setAutoCommit(SQLServerConnection.java:1901)
at railo.runtime.db.driver.ConnectionProxy.setAutoCommit(ConnectionProxy.java:238)
at railo.runtime.db.DatasourceConnectionPool.isValid(DatasourceConnectionPool.java:146)
at railo.runtime.db.DatasourceConnectionPool.getDatasourceConnection(DatasourceConnectionPool.java:55)
at railo.runtime.orm.hibernate.HibernateORMEngine.createSession(HibernateORMEngine.java:128)
View gist:6453871
This file has been truncated, but you can view the full file.
"http-bio-8888-exec-96" Id=291 BLOCKED on railo.runtime.db.DCStack@26c9b4c owned by "http-bio-8888-exec-101" Id=296
at railo.runtime.db.DatasourceConnectionPool.getDatasourceConnection(DatasourceConnectionPool.java:40)
- blocked on railo.runtime.db.DCStack@26c9b4c
at railo.runtime.orm.hibernate.HibernateORMEngine.createSession(HibernateORMEngine.java:128)
at railo.runtime.PageContextImpl.getORMSession(PageContextImpl.java:2968)
at railo.runtime.orm.ORMUtil.getSession(ORMUtil.java:35)
at railo.runtime.orm.ORMUtil.getSession(ORMUtil.java:31)
at railo.runtime.functions.orm.EntityLoadByPK.call(EntityLoadByPK.java:12)
at system.orm.hibernate.baseormservice_cfc$cf._2(/opt/sites/webcom/wwwcore/coldbox/system/orm/hibernate/BaseORMService.cfc:480)
View gist:6472524
"http-bio-8888-exec-261" Id=814 BLOCKED on java.lang.Class@7de431c0 owned by "http-bio-8888-exec-242" Id=795
at railo.runtime.type.KeyImpl.getInstance(KeyImpl.java:127)
- blocked on java.lang.Class@7de431c0
at railo.runtime.reflection.Reflector.getMethodInstance(Reflector.java:643)
at railo.runtime.java.JavaObject.call(JavaObject.java:213)
at railo.runtime.java.JavaObject.call(JavaObject.java:238)
at railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:712)
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:1494)
at system.cache.providers.cacheboxprovider_cfc$cf._3(/opt/sites/webcom/wwwcore/coldbox/system/cache/providers/CacheBoxProvider.cfc:551)
at system.cache.providers.cacheboxprovider_cfc$cf.udfCall(/opt/sites/webcom/wwwcore/coldbox/system/cache/providers/CacheBoxProvider.cfc)
View gist:6531016
This file has been truncated, but you can view the full file.
"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@250a57aa
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@250a57aa
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@56a00a64
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@56a00a64
View gist:6709986
java.io.UnixFileSystem.getBooleanAttributes0(UnixFileSystem.java:???)[Native Method]
java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
java.io.File.isFile(File.java:876)
railo.commons.io.res.type.file.FileResource.isFile(FileResource.java:516)
railo.runtime.orm.hibernate.HibernateSessionFactory.loadComponents(HibernateSessionFactory.java:340)
railo.runtime.orm.hibernate.HibernateSessionFactory.loadComponents(HibernateSessionFactory.java:345)
railo.runtime.orm.hibernate.HibernateSessionFactory.loadComponents(HibernateSessionFactory.java:323)
railo.runtime.orm.hibernate.HibernateSessionFactory.loadComponents(HibernateSessionFactory.java:304)
railo.runtime.orm.hibernate.HibernateORMEngine.getSessionFactoryData(HibernateORMEngine.java:152)
railo.runtime.orm.hibernate.HibernateORMEngine.getSessionFactory(HibernateORMEngine.java:121)
@bdw429s
bdw429s / gist:6719613
Last active Dec 24, 2015
Stack trace obtained with FR 5.0.6 showing blocking threads and what appears to be circular references.
View gist:6719613
This file has been truncated, but you can view the full file.
"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@6396038a
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@6396038a
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@91cac0
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@91cac0
@bdw429s
bdw429s / gist:7419367
Created Nov 11, 2013
This is what my log files show any time I attempt to save settings in my CF 10 admin. Latest updates applied. This may have started last time I updated.
View gist:7419367
Nov 11, 2013 13:51:24 PM Information [catalina-exec-21] - User admin logged in.
Nov 11, 2013 13:51:24 PM Information [catalina-exec-21] - User admin logged in.
Nov 11, 2013 13:52:14 PM Warning [catalina-exec-27] - There was an error while verifying the token. Either the session timed out or un-authenticated access is suspected.
@bdw429s
bdw429s / gist:8222569
Created Jan 2, 2014
This works as it is using an < (less than)
View gist:8222569
<cfoutput>
#testerton(
function(){
if(1 < 2){
return true
}
return false;
})#
</cfoutput>