Is it christmas? Is it my birthday? Nope... Railo 4.0 is in Beta, and the long list of new tweaks and features they've added are super exciting...and they've 'fixed' some things I had just learned to work around (such as the UPPERCASING of struct keys when the dot notation was used)
The most important of which, for me is the long awaited fix for URL Rewriting!!! I've known for a while now that the cgi.path_info param needed for url rewriting to work got lost between IIS and Railos connector. Railo 4 Beta Release
Read all about the new features: Railo 4 Beta Release Features
Friday, July 6, 2012
Thursday, June 7, 2012
Railo 3.3 on Jelastic.. socks officially blown off!
Wow. A one-click .war distribution on scalable hosting... this could be a game changer... Unfortunately:
- Jelastic doesn't use MS-SQL.. which means no management console. An alternative might be the fact that mySQL does have a GUI via workbench
- Jelastic uses Maven.. and has no support for Checkout only.. which means old-school ftp based updates for your site, instead of an svn-update to a specific version Railo In The Cloud I'll let you know when they take my "good idea" and implement it :-)
- Jelastic doesn't use MS-SQL.. which means no management console. An alternative might be the fact that mySQL does have a GUI via workbench
- Jelastic uses Maven.. and has no support for Checkout only.. which means old-school ftp based updates for your site, instead of an svn-update to a specific version Railo In The Cloud I'll let you know when they take my "good idea" and implement it :-)
Turning an email address into an image using ColdFusion ( Railo 3.3 )
I've come across the need to be able to render text in a browser (specifically, in this case an email address) that is not easily robot-readable, and is painless to show inline in the browser.
<cfset request.newImage = imageNew("",250,15,"rgb","white")>
<cfset request.textRow1="email@email.com">
<cfset attr = { font="SansSerif.plain", size="12", style="bold"}>
<cfset imageSetDrawingColor(request.newImage,"black")>
<cfset imageDrawText(request.newImage, request.textRow1, 0, 10, attr)>
<cfimage action = "writeToBrowser"
source = "#request.newImage#"
format="png"
isBase64="no"
>
Thanks to: http://www.bjw.co.nz/developer/coldfusion/94-turning-an-email-address-into-an-image-using-coldfusion
Wednesday, May 23, 2012
Here we go again. Railo Setup Apache-Tomcat with IIS7.5 on Win7x64
My notes from a recent IIS7.5 setup on Win7x64 for Railo 3.3.1.000 Final (which uses Apache-Tomcat)
Started with a blank installation of IIS, by adding it as a feature in Windows 7x64bit
Using my already installed and running Railo 3.2 on Apache:
Edited C:\railoserver\tomcat\conf\server.xml. I changed line 55 back to default port 8888 (Had mine set to 80 previously)
Eventually figured out that it wasn't lying to me.. there was a problem with the isapiFilterModule..
Edited: C:\railoserver\connector\isapi_redirect-1.2.30.properties
Replaced "@@installdir@@" with "C:\railoserver"
(This workstation must have installed strangely... I thought this @@ stuff was supposed to be changed by the installer.. anyways...)
Restarted IIS.
Victory!!
Other Notes:
Read through: http://wiki.getrailo.org/wiki/Server_2008_R2_IIS_7.5_with_Tomcat_and_Plesk
Which mentions about 500.19 .. I only seem to get this error when attempting to setup a webroot outside of IIS C:\inetpub\wwwroot and I specifically get 0x8007000d (Notice the d at the end... which microsoft says is an web.config error.. which it isn't in my case.. removing web.config just changes the error to 500... so I have a permissions issue in this case... great...)
I incorrectly thought it was something to do with web.config attempting to override a setting that had overrides disabled... (It wasn't) : http://learn.iis.net/page.aspx/376/delegating-configuration-to-webconfig-files/
Started with a blank installation of IIS, by adding it as a feature in Windows 7x64bit
Using my already installed and running Railo 3.2 on Apache:
Edited C:\railoserver\tomcat\conf\server.xml. I changed line 55 back to default port 8888 (Had mine set to 80 previously)
<Connector port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Restarted Apache.
For some reason, on my workstation the railoserver's connector hadn't been modified by the vivio installer to have the correct path variable "@@installdir@@" replaced with a static value.. (Which is required!)
Edited C:\railoserver\connector\iis7connect.bat and iis7remove.bat
Replaced "@@installdir@@" with "C:\railoserver"
Ran iis7connect.bat
Created website in IIS, added jakarta as a virtual directory, pointing to C:\railoserver\connector as usual.
Then... Nuts... "Insert picture of ambiguous error here"
Then... Nuts... "Insert picture of ambiguous error here"
Eventually figured out that it wasn't lying to me.. there was a problem with the isapiFilterModule..
Edited: C:\railoserver\connector\isapi_redirect-1.2.30.properties
Replaced "@@installdir@@" with "C:\railoserver"
(This workstation must have installed strangely... I thought this @@ stuff was supposed to be changed by the installer.. anyways...)
Restarted IIS.
Victory!!
Other Notes:
Read through: http://wiki.getrailo.org/wiki/Server_2008_R2_IIS_7.5_with_Tomcat_and_Plesk
Which mentions about 500.19 .. I only seem to get this error when attempting to setup a webroot outside of IIS C:\inetpub\wwwroot and I specifically get 0x8007000d (Notice the d at the end... which microsoft says is an web.config error.. which it isn't in my case.. removing web.config just changes the error to 500... so I have a permissions issue in this case... great...)
I incorrectly thought it was something to do with web.config attempting to override a setting that had overrides disabled... (It wasn't) : http://learn.iis.net/page.aspx/376/delegating-configuration-to-webconfig-files/
This was actually caused by attempting to enable the rewrite module, when the rewrite module was not installed: http://www.microsoft.com/web/gallery/install.aspx?appid=urlrewrite2
Saturday, May 19, 2012
Tuesday, February 28, 2012
Subscribe to:
Posts (Atom)