Hi everybody,

I installed CFMX 7.2 in a Red Hat and everything was fine. I configured all the server, including DataSource to a PostGree at the same machine, J2EE Session etc.

I put my Flex 2 files at the server and I got an strange error:

[Flex] Exception when invoking service: coldfusion-flashremoting-service
  with message: Flex Message (flex.messaging.messages.RemotingMessage)
    operation = getMenuXML
    clientId = 7AD93153-C0E7-15D4-346F-8032B38A9F94
    destination = ColdFusion
    messageId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    timestamp = 1155859386108
    timeToLive = 1155859386108
    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 = getMenuXML
    clientId = 7AD93153-C0E7-15D4-346F-8032B38A9F94
    destination = ColdFusion
    messageId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    timestamp = 1155859386108
    timeToLive = 1155859386108
    body = null
    hdr(DSEndpoint) = my-cfamf
  errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
    clientId = null
    correlationId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    destination = ColdFusion
    messageId = 7AD93265-30F4-5440-C0CD-C66E2DFDA37D
    timestamp = 1155859386115
    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


Note that the connection occurred but an error were thrown.

So I decided installing CFMX under Tomcat 5 and I also got the same error.

Maybe it was something with my Red Hat installation, so I installed an Fedora Core 5, with Tomcat 5 and deployed the CFMX and got the same error:

17/08 21:02:43 INFO License Service: Flex 1.5 CF Edition enabled
17/08 21:02:43 INFO Starting Flex 1.5 CF Edition
17/08 21:02:43 INFO Macromedia Flex Build: 87315.134646
08/17 21:02:45 Information [main] - Starting logging...
08/17 21:02:45 Information [main] - Starting crypto...
08/17 21:02:46 Information [main] - Starting license...
08/17 21:02:46 Information [main] - Starting License server ...
08/17 21:02:46 Information [main] - Starting scheduler...
08/17 21:02:46 Information [main] - Starting WatchService...
08/17 21:02:46 Information [main] - Starting debugging...
08/17 21:02:46 Information [main] - Starting sql...
08/17 21:02:46 Information [main] - Pool Manager Started
08/17 21:02:46 Information [main] - Starting mail...
08/17 21:02:46 Information [main] - CORBA Configuration not enabled
08/17 21:02:46 Information [main] - Starting cron...
08/17 21:02:46 Information [main] - Starting registry...
08/17 21:02:46 Information [main] - Starting client...
08/17 21:02:47 Information [main] - The metrics service is disabled for the J2EE edition
08/17 21:02:47 Information [main] - Starting xmlrpc...
08/17 21:02:47 Information [main] - Starting graphing...
08/17 21:02:47 Information [main] - Starting verity...
08/17 21:02:47 Information [main] - Starting archive...
08/17 21:02:47 Information [main] - Starting document...
08/17 21:02:47 Information [main] - Starting eventgateway...
08/17 21:02:48 Information [main] - Starting Event Backend Handlers
08/17 21:02:48 Information [main] - Initialized EventRequestDispatcher with a Thread Pool size of 10
08/17 21:02:48 Information [main] - Initializing EventRequestHandler
08/17 21:02:48 Information [main] - Starting Event Gateways
08/17 21:02:48 Information [main] - Starting FlexAssembler...
08/17 21:02:48 Information [main] - ColdFusion started
17/08/2006 21:02:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /webdav from URL file:/usr/local/jakarta- tomcat-5.0.30/webapps/webdav
17/08/2006 21:02:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /tomcat-docs from URL file:/usr/local/jakarta- tomcat-5.0.30/webapps/tomcat-docs
17/08/2006 21:02:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /jsp-examples from URL file:/usr/local/jakarta- tomcat-5.0.30/webapps/jsp-examples
17/08/2006 21:02:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path /servlets-examples from URL file:/usr/local/jakarta- tomcat-5.0.30/webapps/servlets-examples
17/08/2006 21:02:49 org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application at context path  from URL file:/usr/local/jakarta- tomcat-5.0.30/webapps/ROOT
17/08/2006 21:02:49 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
17/08/2006 21:02:49 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
17/08/2006 21:02:49 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/83  config=/usr/local/jakarta-tomcat-5.0.30 /conf/jk2.properties
17/08/2006 21:02:49 org.apache.catalina.startup.Catalina start
INFO: Starting Coyote HTTP/1.1 on http-8080
17/08/2006 21:02:49 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
17/08/2006 21:02:49 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/83  config=/usr/local/jakarta-tomcat-5.0.30 /conf/jk2.properties
17/08/2006 21:02:49 org.apache.catalina.startup.Catalina start
INFO: Server startup in 9068 ms
[Flex] Exception when invoking service: coldfusion-flashremoting-service
  with message: Flex Message (flex.messaging.messages.RemotingMessage)
    operation = getMenuXML
    clientId = 7AD93153-C0E7-15D4-346F-8032B38A9F94
    destination = ColdFusion
    messageId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    timestamp = 1155859386108
    timeToLive = 1155859386108
    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 = getMenuXML
    clientId = 7AD93153-C0E7-15D4-346F-8032B38A9F94
    destination = ColdFusion
    messageId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    timestamp = 1155859386108
    timeToLive = 1155859386108
    body = null
    hdr(DSEndpoint) = my-cfamf
  errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
    clientId = null
    correlationId = BE9676E8-F3B4-E4D3-4086-1E969BFDEC9C
    destination = ColdFusion
    messageId = 7AD93265-30F4-5440-C0CD-C66E2DFDA37D
    timestamp = 1155859386115
    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


I develop everything in Windows, using Flex Builder 2 and tested the application on a CFMX standalone and Tomcat 5/CFMX installation and everything was fine.

Can anybody help me? I need do deploy it on Red Hat, because it's a requisite of the project.

Thanks.

--
Rafael M. Martinelli
Office.  +5511 5506.5154
Mobile. +5511 8142.6902
D-Click Web & Mobile Solutions
[EMAIL PROTECTED]
www.dclick.com.br/blog
www.dclick.com.br


--
Rafael M. Martinelli
Office.  +5511 5506.5154
Mobile. +5511 8142.6902
D-Click Web & Mobile Solutions
[EMAIL PROTECTED]
www.dclick.com.br/blog
www.dclick.com.br __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to