7 Replies Latest reply on Oct 4, 2016 5:24 PM by nic_tunney

    Coldfusion 11 Update 6 - Messaging (BlazeDS) errors

    Tony Sykes

      I updated to Coldfusion 11 Update 6 and started getting messaging errors in an application that has been running for 5 years. When I roll-back the update to Update 5 the messaging errors no longer occur.

       

      The  coldfusion-out.log file shows error -

       

      [BlazeDS-v4] 09/02/2015 09:46:50.656 [ERROR] [Message.General] Unhandled error when processing a message: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException

        incomingMessage: Flex Message (flex.messaging.messages.CommandMessage)

          operation = subscribe

          selector = null

          clientId = 331A3C73-901F-61DA-8F42-2798D21DDDB5

          correlationId =

          destination = AMMATECH-TS-1_Assure_Production_PJMCommand

          messageId = EC9A7AA1-BBFE-5E9C-7438-8B4E527E2868

          timestamp = 1441151210640

          timeToLive = 0

          body = {}

          hdr(DSValidateEndpoint) = true

          hdr(DSEndpoint) = magtech-secure-long-polling-amf

          hdr(DSId) = 32ADC5E8-B31A-1F57-50F5-ED86869A7E69

        errorReply: Flex Message (flex.messaging.messages.ErrorMessage)

          clientId = 331A3C73-901F-61DA-8F42-2798D21DDDB5

          correlationId = EC9A7AA1-BBFE-5E9C-7438-8B4E527E2868

          destination = AMMATECH-TS-1_Assure_Production_PJMCommand

          messageId = 331A3C9A-A00F-ABAC-C68A-EE3098487A55

          timestamp = 1441151210656

          timeToLive = 0

          body = null

          code =  Server.Processing

          message =  There was an unhandled failure on the server. javax/jms/InvalidSelectorException

          details =  null

          rootCause =  null

          body =  null

          extendedData =  null

        Error: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException

        at flex.messaging.services.MessageService.testSelector(MessageService.java:1180)

        at flex.messaging.services.MessageService.manageSubscriptions(MessageService.java:928)

        at flex.messaging.services.MessageService.serviceCommand(MessageService.java:337)

        at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java:1578)

        at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1019)

        at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:101)

        at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:154)

        at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:42)

        at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:63)

        at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:190)

        at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:328)

        at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:373)

        at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.jav a:114)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at coldfusion.filter.FlashRequestControlFilter.doFilter(FlashRequestControlFilter.java:71)

        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607)

        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Unknown Source)

      Caused by: java.lang.ClassNotFoundException: javax.jms.InvalidSelectorException

        at java.net.URLClassLoader.findClass(Unknown Source)

        at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:213)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        ... 35 more

       

      Any ideas?