Archive for April, 2007
configuring cfcUnit on Linux
by Rolando on Apr.19, 2007, under ColdFusion
It works great, but as usual you have make a few modifications before getting it to work properly.
- Unzip your cfcUnit file.
- Place the inside folder content (cfcunit and org) in your webroot
- Modify the file cfcunit/index.cfm and change
<code><cfinclude template="machII/mach-ii.cfm"/></code> to:
<code><cfinclude template="machii/mach-ii.cfm"/></code> - Create a mapping to your org folder in coldfusion.
- That's it, now run the test as explained in their documentation and it should work!
ColdFusion MX: ‘Exception occurred trying to get an MBean’ error when using wsconfig & Java 1.5
by Rolando on Apr.16, 2007, under ColdFusion
The ColdFusion webserver configuration utility, known as wsconfig, may encounter the error ‘Exception occured trying to get an MBean.’ The wsconfig utility can be run in either graphical mode or console mode. In either mode, if the wsconfig utility is executed with the Sun JVM version 1.5, then this error will occur. Macromedia has not tested Sun JVM 1.5 with ColdFusion MX for use in running the ColdFusion server or for running the wsconfig utility. It appears that the Sun JVM 1.5 is more strict about getter/setter method invocation.
java.home=by adding the path to the jvm 1.4. In Windows this is usually found at
C:/Program Files/Java/jre1.4.xxAs you can see I’m using the forward-slash (/) instead of the usual back-slash (\).
java.home=C:/Program Files/Java/jre1.4.xx[cf root folder]\binLess clicks with Alt+F2 shortcut
by Rolando on Apr.16, 2007, under Misc
On Ubuntu if you press the key combination: Alt+F2 the Run Application dialogue window will appear (You can think of this as the “Run” dialogue from Windows but better!) Now you can run any application by just typing the name of it. For example if you type
nautilus
you’ll get the file browser program.
Even better lets say you want to modify a file/folder were you don’t have permissions as the logged in user, so you want to use root to edit files/folders you can run the application as root by typing
gksudo nautilus
instead.
If you’re like me you’ll love this since it’ll save you clicks here and there.
Swiftfox = Firefox optimized for your specific CPU Architecture
by Rolando on Apr.16, 2007, under Misc
I just installed Swiftfox which is a version of Firefox optimized for various CPU Architectures.
Whether it's better or not I don't know yet, some people says it is though. I have decided to give it a try since I know FireFox will start drinking your memory once it's open for a while specially if you have several windows opened. I haven't seen any benchmarks between the two browsers yet. Let's see how it goes.
If you have any info on pros/cons about Swiftfox, please drop a comment.


