Welcome to my blog! Feel free to post comments.
- Andrew


Visit Coldfusion Community


<< February, 2008 >>
SMTWTFS
12
3456789
10111213141516
17181920212223
242526272829
Search Blog

Categories
Archives
RSS


Powered by
BlogCFM v1.14

Flex Multiline Text / Code Editor with Line Numbers
18 February 2008

I found myself needing a text editor that displayed line numbers for a Flex project, and despite searching online, couldn't find a Flex 2 component that did what I wanted.  So like a good programmer, I whipped one up. 

Here it is, in all its buggy glory.  I would love some feedback, and perhaps some of you Flex gurus would like to contribute.  If so, e-mail me.

 

Posted by aschwabe at 5:21 PM | Link | 0 comments


<cfpresentation> error on multiserver coldfusion install
Reports missing viewer.swf
17 February 2008
On a clean multiserver install of ColdFusion 8, I was surprised that <cfapplication> was throwing an error.

The error I was getting was:

An error occurred in creating the presentation. java.io.FileNotFoundException: C:\JRun4\servers\SERVER_NAME\cfusion.ear\cfusion.war\WEB-INF\cfusion\lib\preso\viewer.swf

Upon investigating, it seems that the primary JRun server for ColdFusion (usually called "cfusion"  had the proper files in the expected places, however each of the additional servers that were created had several directories missing from the last "/lib" folder, including the "preso" folder mentioned above, which caused the issue.

The missing directories were:
  • preso
  • thirdpartytools
Directory stats also show that the cfusion server has 187 objects, while the new instances had only 179 objects.  Take the above two directories out, and you are left with 6 other files that are apparently missing.  I haven't spent the time to figure out which ones, because everything else seems to be working right now.  I just find it curious...

Anyway, copying the "preso" folder from the cfusion server to your manually created server fixed the problem.  If you run a clustered server, don't forget to copy to each server in your cluster.
Posted by aschwabe at 12:00 AM | Link | 0 comments