Back Forum Reply New

blazeds w/Spring Integration errors

I'm trying to get the pojo messaging example from the test drive application working, and I'm getting an error message returned in the message (no stacktrace I can find). What could cause an error like this? (where do I start to debug this)

I'm using Spring-Flex 1.0.1, Spring 3.0RC3, Spring-integration 2.0M1
There was an unhandled failure on the server. org//core/convert/support/DefaultConversionService

2009-12-10 15:18:37,892 [from-8080-1] DEBUG (IntegrationAdapter.java:128) ? received Flex Message: Flex Message (flex.messaging.messages.AsyncMessageExt)    clientId = 7FF81856-5E0A-5C36-5F84-EE3A1B542149   correlationId =    destination = si-send   messageId = CFDC0EB7-B06A-7A04-4D3C-7A752DAD1082   timestamp = 1260479917886   timeToLive = 0   body = start   hdr(DSId) = 7FF81417-F10A-9800-03BC-C861C0577741   hdr(DSEndpoint) = my-polling-amf
2009-12-10 15:18:37,898 [from-8080-1] DEBUG (AbstractMessageChannel.java:156) ? preSend on channel 'fromFlex', message: [Payload=start][Headers={flex_destination_id=si-send, springintegration_expirationDate=1260479917886, springintegration_timestamp=1260479917886, flex_client_id=7FF81856-5E0A-5C36-5F84-EE3A1B542149, springintegration_id=CFDC0EB7-B06A-7A04-4D3C-7A752DAD1082, DSId=7FF81417-F10A-9800-03BC-C861C0577741, DSEndpoint=my-polling-amf}]
2009-12-10 15:18:37,900 [from-8080-1] DEBUG (AbstractMessageHandler.java:59) ? ServiceActivator for [org..integration.handler.MethodInvo  kingMessageProcessor@3e2ad6a0] received message: [Payload=start][Headers={flex_destination_id=si-send, springintegration_expirationDate=1260479917886, springintegration_timestamp=1260479917886, flex_client_id=7FF81856-5E0A-5C36-5F84-EE3A1B542149, springintegration_id=CFDC0EB7-B06A-7A04-4D3C-7A752DAD1082, DSId=7FF81417-F10A-9800-03BC-C861C0577741, DSEndpoint=my-polling-amf}]
2009-12-10 15:18:37,915 [from-8080-1] DEBUG (ThrowsAdviceInterceptor.java:117) ? Found handler for exception of type [java.lang.Throwable]: public void org..flex.core.ExceptionTranslation  Advice.afterThrowing(java.lang.Throwable) throws java.lang.Throwable
[BlazeDS]Serializing AMF/from response
Version: 3 (Message #0 targetURI=/1/onStatus, responseURI=)   (Typed Object #0 'flex.messaging.messages.ErrorMessage')     headers = (Object #1)     rootCause = null     body = null     correlationId = quot;CFDC0EB7-B06A-7A04-4D3C-7A752DAD1082quot;     faultDetail = null     faultString = quot;There was an unhandled failure on the server. org//core/convert/support/DefaultConversionServicequot;     clientId = quot;7FF81856-5E0A-5C36-5F84-EE3A1B542149quot;     timeToLive = 0.0     destination = quot;si-sendquot;     timestamp = 1.26047991792E12     extendedData = null     faultCode = quot;Server.Processingquot;     messageId = quot;7FF818A9-6008-A0E6-8BB6-6A4EF8CD48D6quot;
Here is my spring configuration

lt;flex:integration-message-destination id=quot;si-sendquot; message-channel=quot;fromFlexquot; /gt;
lt;flex:integration-message-destination id=quot;si-receivequot; message-channel=quot;toFlexquot;/gt;lt;integration:channel id=quot;toFlexquot;/gt;
lt;integration:channel id=quot;fromFlexquot;/gt;

lt;!--integration:inbound-channel-adapter ref=quot;counterquot; method=quot;nextquot; channel=quot;fromFlexquot;gt;
lt;integrationoller max-messages-per-poll=quot;1quot;gt;
lt;integration:interval-trigger interval=quot;5000quot;/gt;
lt;/integrationollergt;
lt;/integration:inbound-channel-adapter--gt;

lt;integration:inbound-channel-adapter ref=quot;counterquot; method=quot;nextquot; channel=quot;toFlexquot;gt;
lt;integrationoller max-messages-per-poll=quot;1quot;gt;
lt;integration:interval-trigger interval=quot;5000quot;/gt;
lt;/integrationollergt;
lt;/integration:inbound-channel-adaptergt;

lt;integration:service-activator input-channel=quot;fromFlexquot; ref=quot;counterquot; method=quot;handlequot;/gt;lt;bean id=quot;counterquot; class=quot;com.nomee.stream.test.Counterquot;/gt;

I did get past this error. I'm not sure what change finally did it, but I'm good.
¥
Back Forum Reply New