0 Replies Latest reply on Jan 15, 2007 6:25 AM by ora-904

    OC4J-hibernate

    ora-904
      Hello,
      I have made a simple datagrid wich should be populated with data from an oracle DB using hibernate.
      I get an error when executing the DataService.fill method. I'm using rtmp protocol.
      I checked all my config files and everything looks ok. Do I need to configure something in order to be able to use the RTMP protocol ?
      Hereby the logtext from the flashlog.txt :

      14:16:24.859 [INFO] mx.messaging.Producer 'cds-producer-nierob.presentation.hibernate-null' producer set destination to 'nierob.presentation.hibernate'.
      14:16:24.859 [INFO] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer set destination to 'nierob.presentation.hibernate'.
      14:16:24.875 [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>
      14:16:24.906 [DEBUG] mx.data.DataService.nierob.presentation.hibernate cds-producer-nierob.presentation.hibernate-null New DataManager destination='nierob.presentation.hibernate'
      14:16:24.906 [INFO] mx.messaging.Producer 'E14A248B-A07B-4C61-CD53-261DB24AD79E' producer set destination to 'nierob.presentation.hibernate'.
      14:16:24.921 [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

      14:16:24.937 [WARN] mx.messaging.Consumer Client ID specified in subscribe is ignored when a session is assigned.
      14:16:24.937 [INFO] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer subscribe.
      14:16:24.953 [INFO] mx.messaging.Channel 'nierob-rtmp' channel endpoint set to rtmp://localhost:2039
      14:16:24.953 [INFO] mx.messaging.Channel 'nierob-rtmp' channel settings are:
      <channel id="nierob-rtmp" type="mx.messaging.channels.RTMPChannel">
      <endpoint uri="rtmp://localhost:2039"/>
      <properties/>
      </channel>
      14:16:24.984 [INFO] mx.messaging.Producer 'cds-producer-nierob.presentation.hibernate-null' producer sending message '1A37B4C2-1B88-B2E8-FD92-261DB2984D75'
      14:16:26.203 [DEBUG] mx.messaging.Channel 'nierob-rtmp' channel got status. (Object)#0
      code = "NetConnection.Connect.Failed"
      level = "error"
      14:16:26.234 [INFO] mx.messaging.Channel 'nierob-rtmp' channel polling stopped.
      14:16:26.250 [ERROR] mx.messaging.Channel 'nierob-rtmp' channel connect failed.
      14:16:26.250 [WARN] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer channel faulted with Channel.Connect.Failed null
      14:16:26.265 [DEBUG] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer starting resubscribe timer.
      14:16:26.281 [WARN] mx.messaging.Producer 'cds-producer-nierob.presentation.hibernate-null' producer channel faulted with Channel.Connect.Failed null
      14:16:26.296 [ERROR] mx.messaging.Producer 'cds-producer-nierob.presentation.hibernate-null' producer fault for '1A37B4C2-1B88-B2E8-FD92-261DB2984D75'.
      [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/internal::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::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
      at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed ()
      at mx.messaging.channels::RTMPChannel/mx.messaging.channels:RTMPChannel::statusHandler()
      14:16:27.796 [DEBUG] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer trying to resubscribe.
      14:16:28.828 [DEBUG] mx.messaging.Channel 'nierob-rtmp' channel got status. (Object)#0
      code = "NetConnection.Connect.Failed"
      level = "error"
      14:16:28.859 [INFO] mx.messaging.Channel 'nierob-rtmp' channel polling stopped.
      14:16:28.875 [ERROR] mx.messaging.Channel 'nierob-rtmp' channel connect failed.
      14:16:28.890 [WARN] mx.messaging.Consumer 'cds-consumer-nierob.presentation.hibernate-null' consumer channel faulted with Channel.Connect.Failed null
      14:16:28.890 [WARN] mx.messaging.Producer 'cds-producer-nierob.presentation.hibernate-null' producer channel faulted with Channel.Connect.Failed null