User Tools

Site Tools


programming:coldfusion:misc

Programming - ColdFusion - Miscellaneous

Blogs

CF Servers

Railo
OpenBlueDragon (OpenBD) is the worlds first truly open source GPL Java and Google App Engine CFML runtime.
Smith - The Open Source CF Server (dead link)
MKFusion (dead), GitHub - bokic/mkfusion , SourceForge - mkfusion (old), a free opensource ColdFusion(Adobe) compatible application server. (Written in: C++. License: GNU LGPL (v3))
Lucee a fork of Railo.

Default admin pages for the CF Servers after deploying the WAR on Apache Tomcat (because I forget them all the time):

CF ServerWAR nameAdmin page
Railorailo-4.2.1.008.warhttp://servername(:8080)/railo-4.2.1.008/railo-context/admin/
OpenBDopenbd.war (3.1)http://servername(:8080)/openbd/bluedragon/administrator/
Default password: admin
Luceelucee-4.5.2.018.warhttp://servername(:8080)/lucee-4.5.2.018/lucee/admin/

CF Addons

DataMgr is a Data Access Layer component set. More than anything else, DataMgr is meant to manage CRUD (that is, Create Read Update Delete). Everything else that it does is an extension of this.

Java

JavaLoader is a library that has been built to ease the use, development and integration of Java within ColdFusion applications. Found via stackoverflow - Using Coldfusion to Programmatically Access the Google Voice Java API

Blogposts/Articles

GitHub

mhenke/CFML-in-100-minutes
KrisOlszewski/coldfusion-codeguide Reference for developers who are new to the language or need a quick refresh.
seancoyne/awesome-coldfusion A curated list of awesome ColdFusion frameworks, libraries and software.

bennadel - Repositories

jasonfill/ColdFusion-ElasticSearch-Client Full featured CFML client for ElasticSearch.
bennadel/POIUtility.cfc A ColdFusion component (and set of custom tags) for reading and writing XLS (Excel) documents in ColdFusion.

Troubleshooting

GC overhead limit exceeded

Excessive GC Time and OutOfMemoryError
“The parallel collector will throw an OutOfMemoryError if too much time is being spent in garbage collection: if more than 98% of the total time is spent in garbage collection and less than 2% of the heap is recovered, an OutOfMemoryError will be thrown. This feature is designed to prevent applications from running for an extended period of time while making little or no progress because the heap is too small. If necessary, this feature can be disabled by adding the option -XX:-UseGCOverheadLimit to the command line.”
Bron:Java SE 6 HotSpot - Virtual Machine Garbage Collection Tuning

Wat ook kan helpen is de Server Monitor uitzetten, aldus:CodeVerge.Net - java.lang.OutOfMemoryError: GC overhead limit exceeded

Zie ook:
Rapid-I Forum - GC overhead limit exceeded
Postgres Plus Forums - GC overhead limit exceeded
Sun Developer Network - Bug ID: 6485694 - VolanoTest app got OutOfMemoryError in x64 Solaris

ColdFusion 9 ODBC service(s) won't start

Problem
The ColdFusion 9 ODBC Server and/or the ColdFusion 9 ODBC Agent service won't start.

The Application event log contains one or more of the following:

Log Name:      Application
Source:        ColdFusion 9 ODBC Server
Date:          27-10-2011 20:07:00
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      
Description:
The description for Event ID 0 from source ColdFusion 9 ODBC Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

ColdFusion 9 ODBC Server@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ColdFusion 9 ODBC Server" />
    <EventID Qualifiers="49152">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-10-27T18:07:00.000000000Z" />
    <EventRecordID>354</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>ColdFusion 9 ODBC Server@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.</Data>
  </EventData>
</Event>
Log Name:      Application
Source:        ColdFusion 9 ODBC Agent
Date:          27-10-2011 20:07:10
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      
Description:
The description for Event ID 0 from source ColdFusion 9 ODBC Agent cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ColdFusion 9 ODBC Agent" />
    <EventID Qualifiers="49152">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2011-10-27T18:07:10.000000000Z" />
    <EventRecordID>355</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file version is not recognised.</Data>
  </EventData>
</Event>

Possible cause
The tracing files for one or both services weren't removed the last time (because of service crash?).

Solution

  1. Go to the correct directory. For a multiserver installation with JRun4 on D:\ the correct directory is:
    • D:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\db\slserver54\tracing
  2. Delete one or both of the following files, depending on if one or both services won't start:
    • ColdFusion 9 ODBC Agent.trc
    • ColdFusion 9 ODBC Server.trc
  3. Start the ColdFusion ODBC service(s).

New trc files will be created in the tracing directory.

Source:Mike Says Meh - ColdFusion 9 ODBC Server will not start page seems to be lost, retrieved from Bing cache.

programming/coldfusion/misc.txt · Last modified: 2022/08/07 16:25 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki