ColdFusion MX 7.0.2 didn’t play nice with RedHat ES4

November 10th, 2006

I have been fighting to get ColdFusion MX 7.0.2 on a RedHat ES4 box. I did a typical install straight from the download (coldfusion-702-lin.bin) to the integration with Apache. Everything seemed fine until I started trying to connect with my Flex 2 applications. I received this error messages, which don’t show up any where on the web, except for a reference to a FDS/ColdFusion installation issue.

[Flex] Exception when invoking service: coldfusion-flashremoting-service
with message: Flex Message (flex.messaging.messages.RemotingMessage)
operation = getStatisticsByName
clientId = 34629AE6-CD0E-48A5-BFA8-852FE58DF5AD
destination = ColdFusion
messageId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
timestamp = 1163203485725
timeToLive = 1163203485725
body = null
hdr(DSEndpoint) = my-cfamf
exception: flex.messaging.MessageException:
flex/messaging/io/amf/UnknownTypeException

[Flex] Error handling message: flex.messaging.MessageException:
flex/messaging/io/amf/UnknownTypeException
incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
operation = getStatisticsByName
clientId = 34629AE6-CD0E-48A5-BFA8-852FE58DF5AD
destination = ColdFusion
messageId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
timestamp = 1163203485725
timeToLive = 1163203485725
body = null
hdr(DSEndpoint) = my-cfamf
errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
clientId = null
correlationId = EA7DE3DE-7499-ACA5-4614-D4564829D4FA
destination = ColdFusion
messageId = 34629AF3-020B-CBF3-29F7-BBB32E69FF55
timestamp = 1163203485730
timeToLive = 0
body = null
code = Server.Processing
message = flex/messaging/io/amf/UnknownTypeException
details = null
rootCause = java.lang.NoClassDefFoundError:
flex/messaging/io/amf/UnknownTypeException
body = null
extendedData = null

After many attempts of uninstalling and re-installing I got it to work. The method to the madness was that I had to:
1. Install ColdFusion MX 7.0.1 (which you can’t download directly, luckily I had a copy on another server)
2. Then install 7.0.1 updater (coldfusion-70-updater-lin.bin)
3. Then install 7.0.2 updater (coldfusion-70-updater2-lin.bin)

When the server came up using the steps above, it all worked like it should have. This is only my third install of ColdFusion MX 7.0.2 on non-development box and I was shocked I had so much trouble with this one. Hopefully this post will stand as a reminder for me, and a help for other people stuck with the same error message above.

Entry Filed under: Adobe Flex, ColdFusion MX 7, Rich Internet Applications

11 Comments Add your own

  • 1. Christian Cantrell  |  2006-11-11 at 12.39 am

    Renaun,

    This is a known bug in CF 7.0.2 and will hopefully be fixed soon. Thanks for posting a work around. I’m sorry you went through so much trouble getting it to work.

    Christian

  • 2. Renaun Erickson  |  2006-11-11 at 2.10 am

    Do you know what the issues is?

    I couldn’t find anything on it, so where is the list of known bugs that I might be able to check next time…?

  • 3. feiy  |  2006-12-03 at 12.44 am

    I am having the same problem!!!!!

    u can fixed by :

    wget http://labs.eshangrao.com/flex/2/flex-messaging-patch-byFeiy.jar
    cp flex-messaging-patch-byFeiy.jar\
    $coldfusion/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/

    more info view :http://blog.eshangrao.com/index.php/2006/12/03/303-redhatflash-remotingcfcunknowntypeexception

  • 4. feiy  |  2006-12-03 at 12.45 am

    bye the way:
    please restart coldfusion server after cp the “flex-messaging-patch-byFeiy.jar”

  • 5. Renaun Erickson  |  2006-12-03 at 12.47 am

    I forgot to say thanks for posting Christian, at least I know its a CF bug and not something else.

  • 6. John Wilker  |  2007-03-28 at 8.25 am

    Dude! Thanks for posting this. Sounds like the trouble we’re having. one of three prod boxes throws this error! Glad you wrote it up, thanks!

  • 7. John Wilker  |  2007-03-28 at 8.51 am

    This didn’t occur across the board, right? Your previous installations didn’t have trouble?

    Asking since, as I said 1 of our 3 prod boxes is afflicted, the others, not.

    Thanks

  • 8. Renaun Erickson  |  2007-03-28 at 9.36 am

    Not sure, I didn’t have problems on a Fedora Core box but just with an ES4 one. So not sure what the differences might be, are all 3 of your production boxes the same OS?

  • 9. Ryan  |  2007-06-21 at 12.34 pm

    I am running into this same issue. I don’t have a 7.01 installer, has anyone else solved this problem another way? Or can someone provide me with the 7.01 installer?

  • 10. Tero Pikala  |  2007-06-26 at 3.34 am

    Thanks for this. Saved my day.

    This solved issue on Fedora Core 5 box which I’m using for development at home.

  • 11. Tom  |  2008-12-12 at 10.46 am

    Anyone know if a hotfix was ever released to fix this?

    TIA

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


About: I work as a Platform Evangelist for Adobe Systems Incorporated.

My Amazon.com Wish List

Calendar

November 2006
S M T W T F S
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Most Recent Posts


Flex.org - The Directory for Flex