Personal tools

Views

ColdFusion 9

From Adobe Labs

(Redirected from Centaur)
Table of contents
[edit]

ColdFusion 9 (Centaur) Beta Release Notes

[edit]

Overview

Welcome to the Adobe® ColdFusion® 9 Beta release (previously codenamed "Centaur").

ColdFusion 9 Beta is an early glimpse of the ColdFusion 9 release. Some of the key features of this release include:

In addition, we have introduced database enhancements and significant performance enhancements such as, granular control over caching, in-memory file capabilities, and improved clustering. And of course, we have added many language and CFC enhancements to ensure that ColdFusion continues to remain unmatched for its ease-of-use and technical capabilities.

These are just a few examples of the advancements made so far with this release. For the complete list of feature additions of this release, see #What’s New in ColdFusion 9.

The goal of the ColdFusion 9 Beta release is to give the community an opportunity to test and provide feedback on the new features. So, please use this opportunity to explore the new features and communicate your feedback. However, since it is Beta software, please do remember that there may be bugs, performance issues, incomplete features, and documentation issues.

Note: Although we do believe this release to be extremely stable, because this is a Beta release, we strongly recommend that you install the software on development and testing servers only.

[edit]

What’s New in ColdFusion 9

For an overview of the new features in ColdFusion 9 and pointers to the associated documentation, see What's New in ColdFusion 9.

[edit]

System Requirements

Here is a summary of system requirements for running the ColdFusion 9 beta. Complete details on supported platforms and technologies can be found within the ColdFusion 9 System Support Matrix (PDF).

Operating Systems

J2EE Application Servers

[edit]

Installation Instructions

For the complete list of instructions to install and configure ColdFusion 9 on Windows, Macintosh, Solaris, Linux, and AIX platforms, see Installing Adobe ColdFusion 9.

[edit]

Documentation

The following Beta-quality documentation is available online in HTML and Adobe Acrobat Portable Document Format (PDF) files.

[edit]

Known Issues

The following issues are known to exist in ColdFusion 9 Beta and have not been fixed in this release.

71411 - When you use Mozilla Firefox 3 as the browser to upload files using cffile action="upload", cffile.clientdirectory returns the name of file and not the directory. This happens because of a bug in Mozilla Firefox 3 that fails to send the complete path of the file that is uploaded in the request.

71549 - It is difficult to identify if an object is serializable or not (that is, to identify if an instance of Serializable or Externlizable or writeReplace method is implemented). If the object tree is not serializable, either completely or partially (that is, some members are serializable and some are not), the App server (like, Jboss/Jrun) throws an exception (java.io.OptionalDataException) on the console and also logs the exception in the App server log.

71710 - Using try/catch/finally with extensive nesting can cause the following error to occur: "java.lang.VerifyError : Illegal return from subroutine"

71745 - On WebSphere with IBM JDK 1.5, if finally is nested within other try/catch blocks, users may encounter the following error: "java.lang.VerifyError: invalid returnAddress for ret instruction in method 2 (runPage()Ljava/lang/Object;) at pc=65535"

71770 - When you invoke a child CFC using CreateObject, which extends another CFC (marked as serializable="FALSE"), after session failover to the other server, the expected behavior is that this CFC does not get serialized. This is the expected behavior because the CFC it invokes extends a CFC that is marked as serializable="FALSE". The correct way of handling this is to throw an exception to the user. However, what happens is the Exception Class object (coldfusion.runtime.SessionScope$SerializationProblem) is replicated against the Object Key in session.

71786 - When an IPv6 address is provided for a non-Windows platform, when you register a remote CF server in a multi-server environment, the host's IP address must be specified within [] (square brackets).

71852 - In Windows 2008 and Vista platforms, if you are unable to remove connector from wsconfig, it is a permission issue. This issue occurs if the current user does not have permissions to read "c:\\windows\\system32\\inetsrv\\config\\ApplicationHost.config". The resolution for this issue is to manually delete:

71856 - While configuring web server connector, if you receive the message "An unknown error has occurred ", ensure that you have an entry for IP address/hostname in the host file used to configure the connector. For example, in wsconfig, you provided 127.0.0.1 as hostname, but the host file {available in C:\Windows\System32\Drivers\etc} do not have entry for 127.0.0.1, then you will receive the error. Updating the host file with IP address/Hostname and using it while configuring the connector resolves this issue.

71896 - In a Safari browser, you cannot login into the IPv6 admin page from another IPv6 machine.

72019 - If OpenOffice is not installed, you might encounter the following display issues with the PPT to CP/HTML/PDF conversions:

72031 - If OpenOffice is not installed, ColdFusion does not render HTML/Connect presentation/PDF properly when the PPT contains the following:

72038 - If OpenOffice is not installed, and you provide the PowerPoint presentation as the source(src) in <cfpresentationslide>, hyperlinks do not function in the Connect presentation.

72066 - If data in an Excel spreadsheet is auto-filtered and is read as query, ColdFusion <cfspreadsheet> tag reads all the rows instead of only the filtered rows.

72109 - To allow the cfspreadsheet tag to read the cell content in an Excel spreadsheet, Read permission must be given to the locked cells.

72120 - SpreadSheetAddImage: Trying to add image to a an Excel file that has images result in the removal of existing images and corruption. - cfspreadsheet tag action="update" will not update the images to the new Spreadsheet file.

72134 - In SharePoint integration, the GetAlerts method of Alerts.asmx is not supported because the response from GetAlerts method is highly customized.

72217 - Excel spreadsheets that are corrupted when read with <cfspreadsheet> tag may show loss of data.

72232 - When you specify the directory (or cacheDirectory) attribute of the cfcache tag, it is ignored and cached data files are always written to the location specified by <diskStore path=""> property in {cfroot}\lib\ehCache.xml.

72260 - When you write using cfspreadsheet, some Excel files may show increased file size with even a few or no operations.

72308 - In SharePoint integration, the GetSite and EnumerateFolder methods of SiteData.asmx are not supported because the response that the GetSite and EnumerateFolder methods is highly customized.

72323 - cfspreadsheet does not allow adding a column/row to merged columns/rows.

72383 - In Internet Explorer, the headers in a grid are not rendered properly. You have to remove the DOCTYPE from the CFM file for correct behavior.

72413 - Retrieving a cell by < cfspreadsheet> tag containing fractions in an Spreadsheet file may not provide proper results.

72421 - <cfspreadsheet>: Scientific numbers when retrieved from an Excel spreadsheet fille, miss the '+' (plus) sign.

72433 - In Internet Explorer, using a progress bar in a pod tends to break the pod. Remove Doctype to make this work correctly.

72434 - In Internet Explorer, if the width of the progress bar is more than the width of the window, it overflows the window border. Remove DocType to make this work correctly.

72435 - In Internet Explorer, if the labels of the message box are very long, then the message box UI might appear slightly distorted.

72501 - For cfspreadsheet tag, the attribute 'linestylecolor' in the struct for comment does not work.

72503 - Unless a cache is initialized, the disk store does not get picked. Therefore, the function getalltemplatecacheids() would return empty. This can be done during onserverstart callback.

72508 - There is a backward compatibility issue with ColdFusion 9 in terms of what gets cached. In ColdFusion 8, a page with a cfcache tag caches only the contents of that page (note that end tag is not required for ColdFusion 8).

In ColdFusion 9, the cfcache tag should have a corresponding end tag. If the end tag is not present, everything is cached until the end of response. For example, when you include a page that has a cfcache tag without an end tag, ColdFusion 9 caches the included page as well as the contents of the main page (and goes on until the end of response). As a workaround for this issue, you must provide an end tag for cfcache in the included page.

72569 - In the cfcache tag, port and protocol attributes are deprecated. port and protocol attribute values are read from the request-url and not from the cfcache tag, where you can specify port and protocol attributes.

72828 - Consider the code: var value1=value2=value3="hello"

Here, value2 and value3 can be pre-declared variables and not necessarily a variable. This statement does not indicate that value2 and value3 are in var scope.

72882 - A variable is available throughout the function in which it is declared. Therefore, to resolve similarly named variables in other scopes (for example, Variables), they need to be scoped.

72994 - Office 95 PPT/Doc/XLS files are not supported by Solr.

73090 - Local is a new scope introduced in Coldfusion 9. "local" should not be used as variable name.

73246 - Within multiple levels of nested code, throw might fail and can result in verify error. To reduce nesting, modify the code.

73257 - To perform PDF actions in cfscript, when you specify a filename (for example, for source or destination attribute), you must specify either the absolute path to the file or a path relative to the CFC location (that is, com.adobe.coldfusion).

73320 - For fileUpload, set the minimum width to 400px for default label settings for the UI to appear properly. To specify a lesser width, you must define shorter labels or no labels.

73329 - Flash takes the highest priority over the other components on the Page. Therefore, the AJAX components created/rendered below the Flash component(e.g.cffileupload/mediaplayer)will not get rendered properly.

73335 - For the query service, if you do not use cfqueryparams (named/positional params) and the SQL has column values with single quotes, then you must escape the single quotes by preceding the single quote with another single quote. It is recommended to use named/positional params.

73425 - Coldfusion tag comments, such as , are not allowed inside CFC files that contain component definitions in the cfscript-style syntax.

73461 - In a persistent component, for cfproperty with fieldtype=column, SQL can be input to an optional attribute named formula. In SQL, if the table name has space, the table name is enclosed within [] (square brackets). This results in an exception stating that the SQL constructed is invalid.

To resolve this issue, ensure that you do not use square brackets for table names. Instead, use aliases for table names.

73745 - If ColdFusion is configured with IIS or Apache web servers, when you attempt to launch ServerManager from Internet Explorer or Safari, instead of launching the application, you will see ServerManager.zip displayed on the download window or may encounter the error: “Page cannot be displayed”. To resolve this issue, do one of the following:

*Download ServerManager.zip and change the extension to .AIR and run it.

73801 - In the Server Manager AIR Application, in the Server settings panel, if you select multiple settings and invoke Apply to Selected Servers, only the settings of the selected row applies to the selected servers.

When you select multiple settings and invoke 'Delete', only the node of the selected row is deleted.

As a workaround, to apply multiple selection of settings to the selected servers, you can drag and drop the selected settings.

73862 - Internet Explorer responds slowly to events that trigger a bind operation. For example, if an onClick event on a radio button triggers a bind on cfdiv, then the bind operation does not occur immediately on the onClick event. It occurs after another event, for example, a tab out operation from the radio button.

74108 - If an HTML element (for instance, button) is disabled (and is possibly the last element in the form), then any tooltip specified by the cftooltip tag is ignored in Mozilla FireFox and other related browsers. This is because, an onmouseover event is not executed. However, this issue does not occur with Internet Explorer.

74171 - Verity does not index files that have Cyrillic characters in the file name. Rename the file to have only Roman characters and index it.

74309 - For conversions with OpenOffice, the following limitations apply:

74734 - cfcache flushes content before it is executed.

74807 - *.dot and *.dotx extensions for conversion from Microsoft Word to PDF are not supported.

74855 - Password-encrypted PowerPoint files cannot be converted to PDF by <cfdocument> tag.

74871 - For PPT to HTML conversion(<cfpresentationslide>), hyperlinks in the PPT are not clickable and the text is not searchable because they are rendered as embedded images in the resultant HTML.

74908 - The word "parent", written in lower-case, is a reserved keyword for some browsers for JavaScript processing and therefore might conflict if used as CFC name.

74989 - From ServerManager for start/stop of ColdFusion server, when you deploy wsappstartup.war on WebSphere versions prior to 6.1.0.000019, you might encounter deployment exceptions.To resolve this issue, you must upgrade your WebSphere Application server.

75022 - Due to a memory leak in OpenOffice process, the memory and threads keep increasing as documents get processed. You should restart the process manually, is the request hangs.

75068 - In Application.cfc, the compile time error stack trace does not occur despite setting enablerobustexception to true in Application.cfc. For Runtime Exceptions, this works fine.

75124 - Ajax applications might not function correctly in the Webpart provided for SharePoint Single Sign-on. This is because, it is an iframe internally.

75175 - On Mac OSX and Linux platforms, when you convert Microsoft Word to PDF, if the Word file has macros, it results in EOF exception and causes OpenOffice to crash. This issue does not occur on Windows platform. If the macro is enabled/disabled, the same exception occurs.

75269 - Writing the same Excel 2007 object twice into a file using <cfspreadsheet> tag, results in the following exception: org.apache.xmlbeans.impl.values.XmlValueDisconnectedException.

To resolve this issue, read the file again and then write.

75343 - On Jboss 4.2.3 with JDK 1.5 or higher, Apache Derby Embedded datasources may not work and can result in the error: "Failed to load MBeanServerBuilder classorg.jboss.mx.server.MBeanServerBuilderImpl".

To resolve this issue, run Jboss with "./run -Djboss.platform.mbeanserver".

References:

http://java.sun.com/j2se/1.5.0/docs/guide/management/mxbeans.html

https://jira.jboss.org/jira/browse/JBAS-1610

75389 - The following code, for instance, does not work because, in implicit struct and implicit array, the same variable is used and assigned:

<cfset a = 2> <cfset a = {b=a}>


75485 - When accessing portlets through WSRP, internal source attribute pointed to any URL in a CFC/CFM does not work. For example, <cfpod name="pod01" title="pod01" source="display01.cfm" height=400 width=600 />.

CFPOD works fine through WSRP, if there is static text in-place of source URL.


75497 - In script-based queries, the attribute 'cachedwithin' is not supported.

75886 - In IPv6 enabled Windows machines, the IP address mapped against localhost in system host file must be used to configure web server connector through wsconfig tool.

If 'localhost' is mapped against IPv6 address, an IPv6address must be provided in the format [ipv6address]. Also ensure that there is a mapping 127.0.0.1 to localhost in host file.

76078 - Headers or footers added while generating PDF using cfdocument are not marked and are not recognized as headers or footers. Therefore, cfpdf action="removeheaderfooter" will not be able to remove them from source PDF.

76329 - For spreadsheetaddinfo(), supported properties "Company" and "Manager" cannot be set in Excel 2007 XML file format.

76370 - Webtier compiler is not shipped along with ColdFusion 9. Even if you try to integrate it externally, it may not work.

76408 - To select an accordion panel dynamically at runtime, use the ColdFusion AJAX Javascript API ColdFusion.Layout.expandAccrodion().

76627 - ImageShear() throws exception "java.lang.ArrayIndexOutOfBoundsException" on Mac OSX with Java 1.5.0_16 ,due to an API issue. However, it works correctly for JDK 1.6.0. Therefore it is recommended to use JDK1.6 for Mac OSX.

76849 - For static grids, default grid row selection does not work.

76920 - cfheader tag cannot be used on a template after including another file using GetPageContext().include(""), as GetPageContext().include("") will flush the output generated till that point.

77001 - If the cffileupload control is inside an accordion layout and the accordion panel is collapsed (for some reason) and then expanded, the upload control is reloaded. This causes the clearing of file upload list canceling further uploads.

This is an issue with FireFox which tries to reload any object (swf/java applet) added through the embed/object tag.

77059 - In a border layout, Close button does not appear when you set the closable attribute as “true”. The extJS implementation does not provide this anymore.

77115 - If you use Internet Explorer, Expand and Collapse icons might not appear for Accordion inside a nested border layout.

77118 - If a border layout is nested within an hbox, you must define the width for the border layout. Otherwise, the content will not be visible.

77128 - In Linux environment, for ServerManager AIR application, if you right-click and select 'Diff with', the window gets locked.

77197 - If ColdFusion is connected to web servers such as IIS or Apache, when you try to invoke server monitoring link from Administrator, even after providing the correct credentials to log in, you may not see the options such as 'Start Monitoring' on the Server Monitoring page. To resolve this issue, reinvoke the server monitoring URL from the browser.

77473 - If the load is high, running complex Stored Procedures that return refcursors on Oracle datasources, created using in-built Oracle drivers, can result in the following exceptions:

77728 - Since “local” is a scope in ColdFusion 9, using snippets similar to the following can result in a change of behavior:

<cfcomponent output="false" extends="centaur.base"> <cfset variables.cfc = structNew() /> <cfset cfc.dsn.dsn1 = "dsn1" />

<cffunction name="test" access="public" output="true" returntype="void">

<cfset var local = structNew() /> <cfdump var="#cfc#">

<cfset local.cfc = structNew() /> <cfdump var="#cfc#">

</cffunction> </cfcomponent>

In this case, first instance of dump shows variables.cfc and second instance shows local.cfc. This is change in behavior as in previous ColdFusion releases, second instance of dump would have picked variables.cfc. To retain backward compatibility, refer 'cfc' with explicit scope, that is variables.cfc

77729 - On Safari 3.2.1, cfmap might not render effectively.

77839 - In Server Manager AIR application, when you register two ColdFusion server instances running on the same machine with same hostname, you might experience issues while fetching the settings from the server resulting in DuplicateSessionException on the server.

To resolve this issue, register two different ColdFusion server instances running on the same machine with different host details. Register one server instance with IP address and the other server instance with hostname.

77918 - If a dynamic cfgrid uses a JavaScript bind for the onChange() attribute and further calls ColdFusion.navigate() from the JavaScript code to retrieve mark up from a URL, then you must manually encode cfgridrow and cfgridchanged objects before attaching them as URL parameters. For example,

var foo = function(cfgridaction,cfgridrow,cfgridchanged) {

cfgridrow = ColdFusion.JSON.encode(cfgridrow); cfgridchanged = ColdFusion.JSON.encode(cfgridchanged); myurl = "myurl.cfm?action=" + cfgridaction + "&gridrow=" + cfgridrow + "&gridchanged=" + cfgridchanged;

ColdFusion.navigate(myurl,'target',,,,'myform'); }


78312 - If you have a grid inside a table, grid column headers do not display. This is an Internet Explorer-related issue.

78370 - Search results might show category column as blank if you do not specify ‘category’ attribute while searching in a Solr collection.

78514 - On Mac OS and Linux, you must manually start Solr after installing ColdFusion.

78551 - If you run the script adminstart.sh available in {CFROOT}/runtime/bin, you might encounter the following error: "Does not exist, the server root null was not found". This is because of wrong line ending in the script. To resolve this issue, run dos2unix adminstart.sh before running the script.

78560 - While searching a Solr collection, you might encounter the following exception: "java.net.BindException: Address already in use: connect in windows, the number of open port's have exceeded the windows OS limit."

To increase the number of open ports, see the technote published by Microsoft available at the following URL: http://support.microsoft.com/default.aspx?scid=kb;EN-US;196271

78561 - The functions SpreadSheetAddFreezePane and SpreadsheetAddSplitPane and are not supported for Excel 2007 XML file format.

78562 - JPEG is the default format for thumbnail and allows you to save an ARGB image. JPEGs do not support transparency, hence, is then assumed to be CMYK. Therefore, thumbnails will have white border.

78563 - For AIR integration offline support, if you do not globally declare the variables for client side ActionScript classes but attempt to save the data records fetched from server using session.saveCache()/session.saveUpdateCache(), you might encounter AIR side error stackstrace with a message similar to the following:

“Error: The object of type Object does not have the Entity metadeta tag at coldfusion.air::EntityCache/addMetadata()[D:\p4\depot\ColdFusion\cf_main\tools\AIRIntegration\OfflineSupport\src\coldfusion\air\EntityCache.as:228]”

To avoid this error, declare classes used in the application globally, so that Flash player knows which classes must be pre-loaded before calling the saveCache()/saveUpdateCache() method. For example, for Customer.as and Address.as AS classes, declare the following as global variables: private var add:Address; private var cus:Customer;

78569 - Office 2007 Xml format (e.g pptx) is not supported in Office Integration.

78577 - CFPDF action=optimize with nofonts set to true, doesn't remove certain categories of embedded fonts, like identity encoded fonts.

78600 - In certain remote case, on Vista 32-bit OS, 64-bit binaries of the ColdFusion .Net Integration Service would get installed with ColdFusion 9 on Vista 32-bit OSinstead of 32-bit binaries. The work-around is to re-install ColdFusion .Net Integration Service using the standalone installer.

78618 - During connector configuration, if IIS6 Metabase compatible options are not enabled, then it may take several minutes to enable these options.In the mean time, connector configuration seems to be running for a long time. To avoid this, you may enable IIS6 Metabase compatible options, before configuring the connector with IIS.

Retrieved from "http://labs.macromedia.com/wiki/index.php/ColdFusion_9"