Skip to main content
January 19, 2011
Question

unexpected constant #41 0

  • January 19, 2011
  • 1 reply
  • 767 views

I am trying to install (For the FIRST TIME) Cold Fusion under JBoss.

1. When I install it on my laptop (Windows 7 - JDK 6) and run in under JBoss locally it works.

2. I copied the EAR file and moved it to a Server environment (Windows Map Drive)

3. Extracted the EAR as per the instructions

4. When I access the administrator page I get the error --> unexpected constant #41 0

5. I tried delting the cfclasses etc that I found in different forums. No luck.

6. JBoss TMP folder is in a different location that the DEPLOY folder. (Just an FYI)

Any help please.....

    This topic has been closed for replies.

    1 reply

    Participant
    January 20, 2011

    Additional input -

    1) I can create a simple .cfm file with just text; it gets compiled into a .class file in the cfclasses folder and displays properly

    2) I can open one of the .cfm files that has htm embedded in it - it displays properly

    3) The only .cfm files that return this error are those that appear to be already compiled classes.

    Looking at the JBoss log, one can see the error:

    15:59:19,156 INFO  [STDOUT] 01/20 15:59:19 Error [http-0.0.0.0-8080-1] - unexpected constant #41 0 The specific sequence of files in
    cluded or processed is: /-/J2EE/DIR/JBOSS430/server/default/deploy/cfusion.ear/cfusion.war/CFIDE/administrator/index.cfm, line: 95

    Inspiring
    January 21, 2011

    Is your Cf Administrator page opening properly??

    Long long back i got this error, i uninstalled and reinstalled it again.:( In my case, none of the .cfm page opened.

    January 21, 2011

    I am not able to load admininstrator page.

    Pramod Nair