
September 25 2006 by

Andrew Powell
Even a moderately busy server logs a lot of information. The quantity of information stored in the log files is very large, not to mention also somewhat verbose. ColdFusion tries to alleviate this by splitting its info into many different logfiles. Over time, these log files can grow quite large and become very difficult to manage.
Linux offers us a soltuion to this: logrotate.
Logrotate runs as a daily cron job and behaves as it is told to, on any log file it is told to act upon. You can alter /etc/logrotate.conf to specify which log file to rotate and what to do when rotating that log. Log rotate allows you to act either on a schedule or when a logfile reaches a certain size. You can also compress rotated logs for space concerns. All options are configurable within logrotate.conf.
Rotating your logs will keep your log files at a reasonable and manageable size, will take up less space, and, most importantly, will be easier to read. This will allow you to diagnose any issues you may have much quicker than if you hadn't rotate your logs.
Interested in more detail on how to rotate your log files?
Read this article.
Posted in ColdFusion | General | Linux | Adobe |
0 comments

July 21 2006 by

Andrew Powell
I didn't realize how many people were actually using my RTF2HTML webservice. I understand that since the migration to the new server, it is not working. If you would let me know what your problem is and what error you are getting, please post it to the comments and I will do my best to work with you on it. If you are looking to access the service, the WSDL is:
http://www.infoaccelerator.net/cfc/rtf2html.cfc?wsdl
Posted in ColdFusion | General | Linux | RTF2HTML |
0 comments

July 21 2006 by

Andrew Powell
Ok, so the problem has been diagnosed. I need to completely re-write the service to use a java object instead of a com object. This should be done relatively quickly. I just need my license for the engine to arrive and we're set to go.
The WSDL will remain the same and the service will be invoked the same. I just need to update the underlying engine.
This is just one of the casualties of upgrading to Linux from Windows servers!
Posted in ColdFusion | Linux | RTF2HTML |
0 comments

July 19 2006 by

Andrew Powell
Well, it is finally all setup. I bought a new server two weeks ago and finally got around to configuring it this weekend.
My goal was this: Install ColdFusion (on JRun) and setup multiple instances.
I went with RHEL 4.0 as the OS b/c I am into avoiding the evil empire at all costs. Having never setup CF in a clustered enviroment before, I was walking on unfamiliar ground. I installed the proper JVM, JRun and ColdFusion. I configured httpd.conf like it was supposed to be configured and gave it a whirl.
Nothing.
Turns out that you have to be very careful with your virtual hosts setup.
instead of:
<VirtualHost 127.0.0.1>
i used:
<VirtualHost *:80>
...and it worked. I had originaly used the first entry to no avail.
Now that it's all configured, I am coming to you in a M$ free enviroment! Linux server, Apple desktop. Pages, Keynote, & Mail instead of Office. Free at last, free at last....you get the point.
Posted in General | Linux |
0 comments