0 Replies Latest reply on Mar 24, 2010 11:09 AM by learningflex

    blazeds app not working only from production

      In QA the app works fine, whereas in PRD . findAgents() is a method which calls the stored procedure. In PRD the invoke method is not called. Is there any reason it is not called by only the production server. I am using Flex/BlazeDs/Java. Let me know if any settings are missing or if i need to make sure of anything. the app is loaded properly initially and the problem starts when it tries to refresh every 1 min. It does not refresh since the invoke method is not called.
                     MessageBroker msgBroker = MessageBroker.getMessageBroker(null);
                     while (running){
                                              AsyncMessage msg = new AsyncMessage();
           List <Agent>a = findAgents();
      invoke method is      
           public Object invoke(Message msg) {
                     logger.info("Adapter sending message Test");
                     AsyncMessage newMessage = (AsyncMessage)msg;
                     MessageService msgService = (MessageService)getDestination().getService();
                     msgService.pushMessageToClients(newMessage, true);
                return null;
      In mxml  
      <mx:Consumer id="consumer" destination="BlazeDsServicePush" resubscribeAttempts="1" resubscribeInterval="10000"  message="messageHandler(event)"/>
      <destination id="BlazeDsServicePush">
            <channel ref="my-streaming-amf" /> 
        <adapter ref="BlazeDsServicePushAdapter"/>