Hello
I have a simple web app that populates a data grid with records from
an oracle DB. I use tomcat (but also tried 3 different releases from
oc4j, and JRUN).
When i come to the following line : dsPresentation.fill
(presentations, "all.presentations", []); (using Hibernate), keep
getting following error : [RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error null"]
at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/intern
al::dispatchFaultEvent()
at ::DataListRequestResponder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed
()
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCh
annel::connectFailed()
at
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel:
:statusHandler()
looking in the flexlog.txt it says :
21:05:20.406 [INFO] mx.messaging.Producer 'cds-producer-
nierob.presentation.hibernate-null' producer set destination
to 'nierob.presentation.hibernate'.
21:05:20.406 [INFO] mx.messaging.Consumer 'cds-consumer-
nierob.presentation.hibernate-null' consumer set destination
to 'nierob.presentation.hibernate'.
21:05:20.421 [DEBUG]
mx.data.DataService.nierob.presentation.hibernate Configuration for
destination='nierob.presentation.hibernate':
<properties>
<metadata>
<identity property="id"/>
</metadata>
<network>
<paging enabled="false" pageSize="10"/>
</network>
</properties>
21:05:20.453 [DEBUG]
mx.data.DataService.nierob.presentation.hibernate cds-producer-
nierob.presentation.hibernate-null New DataManager
destination='nierob.presentation.hibernate'
21:05:20.453 [INFO] mx.messaging.Producer '69913E97-DD9F-CC37-4E1D-
37072845AD48' producer set destination
to 'nierob.presentation.hibernate'.
21:05:20.468 [DEBUG]
mx.data.DataService.nierob.presentation.hibernate cds-producer-
nierob.presentation.hibernate-null DataService.fill() called with 2
arguments.
(Array)#0
[0] "all.presentations"
[1] (Array)#1
21:05:20.484 [WARN] mx.messaging.Consumer Client ID specified in
subscribe is ignored when a session is assigned.
21:05:20.500 [INFO] mx.messaging.Consumer 'cds-consumer-
nierob.presentation.hibernate-null' consumer subscribe.
21:05:20.500 [INFO] mx.messaging.Channel 'my-rtmp' channel endpoint
set to rtmp://localhost:2038
21:05:20.515 [INFO] mx.messaging.Channel 'my-rtmp' channel settings
are:
<channel id="my-rtmp" type="mx.messaging.channels.RTMPChannel">
<endpoint uri="rtmp://{server.name}:2038"/>
<properties/>
</channel>
21:05:20.531 [INFO] mx.messaging.Producer 'cds-producer-
nierob.presentation.hibernate-null' producer sending
message 'BB82D24D-D143-5130-7A6F-3707289326D7'
21:05:21.578 [DEBUG] mx.messaging.Channel 'my-rtmp' channel got
status. (Object)#0
code = "NetConnection.Connect.Failed"
level = "error"
21:05:21.625 [INFO] mx.messaging.Channel 'my-rtmp' channel polling
stopped.
21:05:21.640 [ERROR] mx.messaging.Channel 'my-rtmp' channel connect
failed.
21:05:21.656 [WARN] mx.messaging.Consumer 'cds-consumer-
nierob.presentation.hibernate-null' consumer channel faulted with
Channel.Connect.Failed null
21:05:21.671 [DEBUG] mx.messaging.Consumer 'cds-consumer-
nierob.presentation.hibernate-null' consumer starting resubscribe
timer.
21:05:21.687 [WARN] mx.messaging.Producer 'cds-producer-
nierob.presentation.hibernate-null' producer channel faulted with
Channel.Connect.Failed null
21:05:21.687 [ERROR] mx.messaging.Producer 'cds-producer-
nierob.presentation.hibernate-null' producer fault for 'BB82D24D-
D143-5130-7A6F-3707289326D7'.
[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error null"]
at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/intern
al::dispatchFaultEvent()
at ::DataListRequestResponder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed
()
at
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCh
annel::connectFailed()
at
mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel:
:statusHandler()
I already switched ports , etc... but i can't seem to get any Flex
data service setup working on my pc. Strangely the CRM on jrun works
fine. What am i doing wrong here ? I think , for some reason, the
flash in the browser is not able to connect to the webserver.
Sorry i dumped all the log in this post, as i don't know what is
important here. (yes, i'm a newbie :-) )