1 Reply Latest reply on Jul 12, 2010 2:46 AM by MikisMM

    MessageBrokerServlet failed to initialize

    korrapati.kishore

      Hi folk,

      i am trying to incorporating spring with flex in tomcat when i am sending the request for http://{servername}:{portno}// {contextroot}/messagebroker/amf i am getting following error.

          

      exception

      javax.servlet.ServletException: ASYNC_MESSAGE_FILTERS_ELEMENT_CHILDREN
           flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:184)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
           org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
           org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
           org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
           org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
           java.lang.Thread.run(Unknown Source)
      

       

      root cause

      java.lang.NoSuchFieldError: ASYNC_MESSAGE_FILTERS_ELEMENT_CHILDREN
           flex.messaging.config.ServerConfigurationParser.messageFilters(ServerConfigurationParser.java:1488)
           flex.messaging.config.ServerConfigurationParser.parseTopLevelConfig(ServerConfigurationParser.java:90)
           flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java:69)
           flex.messaging.config.FlexConfigurationManager.getMessagingConfiguration(FlexConfigurationManager.java:79)
           flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:109)
           org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
           org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
           org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
           org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
           org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
           org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
           org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
           java.lang.Thread.run(Unknown Source)
            
            plz help out.