Tuesday, August 12, 2008

Flash Player 10 RC Build

The RC build for Flash Player 10 has been released.

You can download the it here…

download

 

Monday, August 11, 2008

What if you forget the ColdFusion Admin Password?

Imagine suppose you have forgotten the admin password and cannot log in to ColdFusion Administrator. Here is a solution for this, follow the below steps.

  1. Make a backup copy of CF_HOME\lib\neo-security.xml file

    In case of multi-server editions, the path is:
    C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\neo-security.xml
  2. Open the neo-security.xml file in a text editor and change 'true' to 'false' for the admin.security.enabled variable tag. For example, search the file for "admin.security.enabled" and change the entry as follows:

    <var name='admin.security.enabled'><boolean value='false'/></var>
  3. Restart the ColdFusion application server.

You should now be able to bypass the login to the ColdFusion administrator. You can reset the password by choosing Security > Administrator.

 

Wednesday, August 6, 2008

Imp Technote about "Flex Builder 2 RemoteObject calls to ColdFusion 8 CFCs"

Here is an important update on the adobe site.

http://www.adobe.com/go/kb404846

=================================================

 

Flex Builder 2 RemoteObject calls to ColdFusion 8 CFCs fail

Issue

You are unable to connect Adobe Flex Builder 2 RemoteObjects to Adobe ColdFusion 8 CFCs.

Reason

Flex Builder 2 projects containing RemoteObject calls to ColdFusion 8 fail to connect for the following reasons:

  • You have not entered the proper compiler arguments which point to your ColdFusion 8's services-config.xml and or your ColdFusion server's context root.
  • You have created your Flex Builder 2 project as a "ColdFusion Flash Remoting Service." This is not appropriate if you are connecting to ColdFusion 8 CFCs.
  • You are using ColdFusion 8's embedded web server (typically running from port 8500) and you are trying to run your Flex project from within Flex Builder.
  • You do not have your ColdFusion 8 CFCs located in your server's web root.

Solution

Create your Flex Builder 2 project

  1. Create a "Basic" (e.g. XML or web service from PHP/JSP/ASP.NET) Flex project.
  2. Change your project's Output folder to point to your web root (if using ColdFusion 8's embedded web server, use {cfusion8_root}/wwwroot/your_project_name).
  3. Click Finish, right-click your project from the Navigator pane of Flex Builder 2, and then choose Properties.
  4. In the Flex Compiler section, add the appropriate Additional Compiler Arguments. For example:

    -services=C:\ColdFusion8\wwwroot\WEB-INF\flex\services-config.xml -context-root=/ -locale en_US.
  5. Click OK

Ensure ColdFusion 8 CFCs are setup properly

  • If using ColdFusion 8's embedded web server, ensure you have you CFCs located somewhere beneath the {cfusion8_root}/wwwroot/ directory
  • If using an external web server, ensure you have your CFCs located somewhere beneath your web server's web root, for example IIS is typically C:/Inetpub/wwwroot/
  • Ensure the "source" attribute of your Flex Project's <mx:RemoteObject> is correct. If your CFC is located in /wwwroot/myCFC/someCFC.cfc, then your "source" entry would be "myCFC.someCFC".
  • Ensure your database serving the data to your CFC is started and the ColdFusion 8 DSN is configured properly within ColdFusion Administrator

Run your Flex Application from the web root

  • Compile your project, but instead of running it from Flex Builder 2, open a web browser and go to http://host_name/website_name/flex_app_name/flex_project_name.html.

TechNote Details

Last Update:

08-01-2008

ID:

kb404846

OS:

  • Windows 2000
  • Windows 2003
  • Windows Vista
  • Windows XP

Permanent Link:

http://www.adobe.com/go/kb404846