Performance Considerations for Running ColdFusion 8 in 64-bit Mode

In yesterday's post about configuration nuances of using a 64-bit webserver and 64-bit JVM with ColdFusion 8 on the 64-bit Sun Solaris OS, Damon Gentry posted a comment that is, frankly, way above my head.

I'm curious about if there are any performance gains by running CF8 with a 64-bit JVM. More specifically, given the CPU architecture differences between Intel/AMD, and Sparc (speed vs. cores), does it make since to stick with Solaris? I know that the Sparc T1 can support 32 cores, albeit at 1.2 GHz, whereas the Intel CPU can support 4 cores @ 3.6GHz. [more]


The short answer is, "I don't know".

64-bit Basics
Ok, so I'm not a computer scientist. I don't even have a computer science degree. However, I do have Google. And Wikipedia. And the rest of the Web. So, I've filtered through a variety of articles and selected the following to help inform me on the topic:



All of these articles are quite long, and I encourage you to read them if this subject interests you. Since I cannot precisely answer Damon's question, I'll try to summarize relevant information that I have gleaned from them about running a Java-based web application on a 64-bit JVM/OS. If you want details about any inferences, you should read the above articles, although I may end up quoting liberally here.

[More]

Photography Club Exhibit Opening and Reception in Concord

First Parish of ConcordThis Sunday on April 22 the Photography Club at the First Parish of Concord will present its fifth annual Photography Club Exhibit. The public is welcome (and wanted) to attend... hey, that's what its all about. I joined the group in 2006, and I've been told that membership has swelled in the last couple years, and we're nearly 50 members.

Come join us for food and drinks this Sunday from 3 to 6pm while you wander the galleries throughout the First Parish, just off Concord Center. Concord Center is usually busy on weekends, and with the first burst of Spring's warmth expected for Sunday the place will probably be bustling. You can find a huge parking lot very near on Keyes Road just across from the Sally Ann Food Shop and behind the Bank of America.

Here's photos on Flickr geotagged for Concord. For my photos of Concord click here, or here on a map.

www.flickr.com

Video: The Streets of Bangalore India

You'll never complain about the traffic in your town again! Driving in Bangalore, India is not for the faint hearted. Bangalore has undergone an extreme population explosion in the last decade with the growth of the IT Industry. In my experience, Bangalore has unparalleled traffic congestion and chaos compared to anywhere in North America or Europe.

The first 3 minutes of this video are the last stretch in our daily commute from the Leela Palace Hotel to the Adobe office on Bannerghatta Road along the IT corridor. Starting at 4 minutes into the video is a backseat view from a ride inside one of those yellow-capped auto rickshaws from the office to the nearby Forum Mall. It was as much fun as an amusement park!

[More]

Spring
Conference 2007

Spring
Conference 2007
Thursday, March 22, 2007
Athens, OH


Join us for our fifth annual event. This year the conference will be bigger than ever. 35 sessions to choose from in 7 tracks, plus three hands on sessions! Ben Forta, Adobe's Chief Product Evangelist will be speaking at the General Session Key Note plus, Ben will be back to give a presentation at the Lunchtime Session as well.

    Choose from session in the following tracks:
  • Design & User Experience
  • Using Tools: Tips & Tricks
  • ColdFusion, Java, PHP & ActionScript
  • Maximum Development
  • Web 2.0: Ajax, Flex & Video
  • Application Security & Performance
  • Vendor Showcase
  • Boot Camp: Beginner Level Hands On


Some of this year's speakers include:
Ben Forta, Phillip Kerman, Joseph Lowery, Chris Bate, Rob Gonda, John Cummings, D.Lee Beard, Bob Paquette, Dan Switzer, Bailey Bruce, Doug Ward, Steve Drucker, James Shore, James Shore, Joshua Logsdon, Scott Cantor, Kevin Hoyte, Jeff Carnes, Joel Stanley, Gary Kraeger, more.

We'll have the Vendor Expo where you can meet with the companies that provide the software and services you're looking for!

Registration Fee: $35 [includes your lunch]

Registration is available at http://www.sbconference.com

We hope to see you there!

Spring
Conference 2007 is presented by the Southeast Ohio Creative Adobe Technologies User Group in partnership with Ohio University, the IT

Verity doesn't work when you run ColdFusion 7 (unsupported) on Java 5 or Java 6

Verity doesn't work when you run ColdFusion 7 (unsupported) on Java 5 or Java 6. The problem is not in ColdFusion or Verity - it is in the venerable old Cryptix Java security provider which doesn't work with Java 5 or Java 6. Fortunately Cryptix is open source so you can get Cryptix and change it as necessary to make it work with Java 6 (or Java 5).

[More]

Running ColdFusion MX 7 on Fedora Core 6 Linux

There's been a lot of talk about how to run ColdFusion MX 7 on Ubuntu Linux, but I haven't seen much about running CFMX on Fedora Core 6 Linux. While both are officially unsupported for use with ColdFusion by Adobe, as a hobbyist you might enjoy working with these or other distributions, as I do. Ubuntu is based on source from Debian Linux, while Fedora Core is based on Red Hat source, and in fact Fedora distros are effectively public betas used towards the development of future Red Hat Enterprise Linux releases. According to DistroWatch, Ubuntu is by far the most popular distro out there, for now, while Fedora pulls in at #3.

The problems regarding the installation and configuration of ColdFusion on each distribution are both overlapping and yet distinct, especially where Security Enhanced Linux (SELinux) is involved (Fedora). FC6 intends to make SELinux security policy administration easier via a graphical troubleshooting tool. (While I was able to install and use setroubleshoot, I was not able to get the sealert client GUI to work, but it does have commandline operations that were helpful... somewhat. See below.)

Here I identify and address 5 problems in order to run ColdFusion on FC6, leaving one problem with SELinux unresolved but with a workaround. Some of these problems and their solutions have been blogged about before, but I found new twists to them in FC6.

I decided to address the issues of Fedora Core because Red Hat Enterprise Linux 5 is currently in Beta 2 and is largely based on Fedora, and I hope to be ahead of the curve by the time RHEL5 is released. Since ColdFusion 4.01 in 1998, ColdFusion releases have supported current Red Hat releases.

[More]

ColdFusion Protocol Tags CFHTTP, CFINVOKE, CFLDAP support SSLv2

My reply to a comment to an earlier blog entry about importing SSL certificates into ColdFusion cacerts file for CFHTTP purposes warrants its own blog entry here as a separate topic.

The comment:

[cfhttp url="https://httpmailbox1.beta.etrac.net/submit-to-etra... method="post" port="xxx" proxyserver="xxxx" proxyport="xxx" >

I am having the same problem but I am using BlueDragon and CFMX. I am trying to connect to vendor using CFHTTP to send a XML file. The vendor keeps telling me that I am faliing the SSL handshake on his side. I was told by him that I needed to purchase a certificate form a trusted third party which we did (Verisign). This certificate was installed by my server team but I am refused connection at the vendor.

Do I need to export the vendors certificate and install it on my WebLogic server using the Keytool.


It sounds as if the vendor is requiring SSLv3 with client authentication, rather than SSLv2 with only server authentication. The documentation here describes the conditions where you may have to import a certificate into ColdFusion for SSLv2 for server authentication, but this is often confused with the requirement for client auth:

To use HTTPS with the cfhttp tag, you might need to manually import the certificate for each web server into the keystore for the JRE that ColdFusion uses. This procedure should not be necessary if the certificate is signed (issued) by an authority that the JSSE (Java Secure Sockets Extension) recognizes (for example, Verisign); that is, if the signing authority is in the cacerts already. However, you might need to use the procedure if you are issuing SSL (secure sockets layer) certificates yourself.


Lets back up a moment to consider the practical difference between SSLv2 and v3. First, imagine a simple HTTPS connection between a browser and server. A user at a browser types in the URL of a website beginning with https:// and the brower makes the request. Lets assume that the server is using SSLv2. The request gets to the server and the server replies with a message header stating it supports SSLv2 and sends its certificate. The browser receives the SSL certificate, inspects it, and negotiates a session key to be used for the remainder of the request/repsonse communication. This negotiation period is known as the SSL handshake.

[More]

Long weekend in Zion National Park

This past October my wife and I had the opportunity to vacation in Zion National Park in southern Utah, following the Adobe MAX conference in Las Vegas that month. This was my first time in the Southwest USA, and while I'm not inclined to return to the Las Vegas Strip, I would love the opportunity to spend at least a couple weeks visiting Bryce, Arches, and the Grand Canyon. I've been very satisified with the photos I've taken in Zion over the brief three day immersion, so I anticipate photographing much more from that region.

The Wikipedia article on Zion National Park begins with the following:

Zion National Park is a United States National Park located in the Southwestern United States, near Springdale, Utah. A prominent feature in the 229-square-mile (593 km≤) park is Zion Canyon, 15 miles (24 km) long and up to half a mile (800 m) deep, cut through the reddish and tan-colored Navajo Sandstone by the North Fork of the Virgin River... A total of 289 bird species, 75 mammals (including 19 species of bat), 32 reptiles and numerous plant species inhabit the park...

Human habitation of the area started about 8,000 years ago with small family groups of Native Americans; the semi-nomadic Basketmaker Anasazi (300 CE) stem from one of these groups... The Kolob section was proclaimed a separate Zion National Monument in 1937, but was incorporated into the park in 1956.

The geology of the Zion and Kolob canyons area includes nine formations that together represent 150 million years of mostly Mesozoic-aged sedimentation. At various periods in that time, warm, shallow seas, streams, ponds and lakes, vast deserts and dry near-shore environments covered the area.


We rented a Chrysler Sebring convertible at the Las Vegas airport, and made the trip to Springdale, Utah in just 3 hours. The highway from Vegas to St. George is largely desolate and uninteresting, but as soon as you get past Hurricane the scenery begins a dramatic change. I won't be renting the Sebring again because my eye level was the same height as the visor and the top of the windshield, forcing me to turn my neck and slouch down in the seat in order to get a good view, and even with the top up I couldn't get past the visor's annoyance factor.

[More]

CFMX 7.02 on WebSphere: Unable to register Flex Assembler Service

The switch titled "Enable Flex Data Management Support" in the ColdFusion MX Administrator under Flex Integration menu is automatically enabled in CFMX 7.02. When installing on IBM WebSphere Application Server on Windows, this switch may produce an error when starting such as:

view plain print about
1Unable to initialize FlexAssembler service: coldfusion.server.ServiceException:
2Unable to register Flex Assembler Service in RMI registry: java.rmi.ServerException:
3RemoteException occurred in server thread; nested exception is:     
4java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:     
5java.net.MalformedURLException: no protocol:
6Files/WebSphere/installedApps/server1/ColdFusionMX7.ear/ColdFusionMX7.war/ WEB-INF/cfusion/lib/ant-launcher.jar.



Notice the last line after the java.net.MalformedURLException that begins with "Files/WebSphere/installedApps/...". Since WebSphere installs by default into "C:Program FilesWebSphere" on Windows, the space in Program Files triggers the error when attempting to enable Flex Data Management support.

A workaround for this is to redeploy the ColdFusion MX 7.02 EAR such that you select a "Directory to Install Application" that has no spaces, and that you remove the spaces in the Application Name "Macromedia ColdFusion MX" to form just "MacromediaColdFusionMX", or choose any other alphanumeric name of your choice.

[More]

Adobe MAX 2006 on Flickr

My week in pictures... on Flickr.

Adobe MAX Developer Conference, October 23-26, 2006, at The Venetian Hotel, Las Vegas, Nevada.

MAX 2006, the annual Adobe user conference, offers the Adobe community an unprecedented opportunity to learn about Adobe software, interact with industry experts, connect with other Adobe software users, and have lots of fun.

Choose from over 100 unique sessions organized into eight tracks in topics such as web design, rich Internet applications, and mobile and devices.

Connect with other members of the Adobe community at a variety of networking opportunities, including the community lounge, sponsor lunches, and "Birds-of-a-Feather" sessions.
www.flickr.com


See also the Adobe MAX 2006 Flickr Pool and all photos tagged with Adobe MAX 2006

Previous Entries / More Entries