Moving On
You can find more of Nat's wisdom at webapper.
Erik is now blogging at psykel.
Happy Trails, grumps
jrun4 not compatible with 64-bit JVM
Alas, I am giving up. The crux of the issue seems to be that although JRun will run with Java 1.5, it will not run with Java 1.5 on the AMD64 version.
64-bit ColdFusion
I have Windows Server 2003 64-bit installed, and planned to use IIS 6. Sun JVM (latest being 1.5.0_05) has an AMD64 version. But how can I run CF7 on it?
I found this mm.com article, this other mm.com article, this descriptive MM forums thread, some old threads on CF-Talk, and blog entries by Ben Forta, Steven Erat and Pete Frietag.
But it just seems too darn silly! Am I really going to have Tomcat or another Java/J2EE server to run CF7 as a war? Jrun 4 seems like older technology (although Jrun updater 5 does support Java 1.5).
Any advice from someone who has either tried and failed or tried and succeeded in getting an all 64-bit platform running? I want 64-bit hardware running a 64-bit OS, with a 64-bit JVM with IIS running in 64-bit mode (rather than IIS5 isolation mode), and 64-bit capable ColdFusion, if that means running a 64-bit capable Java server with CF on top.
I suppose this is just another example of Macromedia claiming that ColdFusion is enterprise-worthy when anyone, anywhere in any enterprise knows for god sakes that it sure as hell ain't.
Java 1.5 Generics
<cfset mydates[1] = "this is not a date" />
<cfset mydates[2] = createObject("component","com.fusium.animals.Dog").init() />
But what happens when you try #dateformat(mydates[2])#? It will blow up, that's what.
That is something that has always irked me about ColdFusion.
tracking down opened db connections can be hard
Luckily on Tomcat, there is an easy solution.
JK2 Tomcat-IIS connector
One thing not so carefully covered in that doc is that if you want to set up a specific web site (rather than the global web server site), it doesn't matter where you point the document root to in IIS. Heck point it to the default if you want. Any URLs matching an entry in workers2.properties are forwarded to Tomcat.
And for that matter, pay *special* attention to the URI entries in workers2.properties. By default, 5.5.9 puts the examples in a different place than the workers2.properties thinks they are. That means that when TJ says to browse to the examples to see them run, they won't run because they won't match entries in the workers file. So mod your workers file like he modded his.
[EDITED on 12/12/2005] This article looks very good too.
jtds
I heard the same advice and was all, "Like, whatever dude, I'm not a performance freak." That was until I spent about three days trying to figure out why my frigging result set was mangled. Swapped it out for jtds and voila.
http://jtds.sourceforge.net/
TBJ
