Related Pages

RSS Feed Knowledge Base Feed

Page Options

Unexpected constant #2 32 in Cold Fusion compiled code

Problem Description:

When trying to run a Cold Fusion page that has been compiled into Java byte code you receive the following error message:

"unexpected constant #2 32" or a similair error message.

Cause of the Problem:

Some FTP programs, mostly those built into HTML or code editors will sometimes change the contents of the file slightly before uploading it. These changes cause errors in the Java byte code.

Your Ad Here


This issue most commonly happens when Dreamweaver has been used to upload the compiled Cold Fusion code to the server.

Try using an alternative program such as WSFTP or CuteFTP to upload the files to the server.

In addition make sure your transfer mode is set to binary.

Related Programs and Devices:
Cold Fusion , Dreamweaver , FTP , Java

Last Updated: 04/01/2008 11:33 PM

blog comments powered by Disqus