• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Coldfusion 11 Update 6 - Messaging (BlazeDS) errors

New Here ,
Sep 01, 2015 Sep 01, 2015

Copy link to clipboard

Copied

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.java: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.java: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.java: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.java: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?

Views

2.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Sep 02, 2015 Sep 02, 2015

Hi Tony -- It appears that there may be some new dependencies in BlazeDS 4.7, see this thread: [FLEX-34886] BlazeDS 4.7.0 incompatible replacement for BlazeDS 4.6 - ASF JIRA

Based on that I think you need to add ActiveMQ jar(s) to your lib/ directory (classpath).

Votes

Translate

Translate
Enthusiast ,
Sep 02, 2015 Sep 02, 2015

Copy link to clipboard

Copied

Hi Tony -- It appears that there may be some new dependencies in BlazeDS 4.7, see this thread: [FLEX-34886] BlazeDS 4.7.0 incompatible replacement for BlazeDS 4.6 - ASF JIRA

Based on that I think you need to add ActiveMQ jar(s) to your lib/ directory (classpath).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 02, 2015 Sep 02, 2015

Copy link to clipboard

Copied

Thanks Pete - might just stay with Update 5 until this is resolved by an Adobe update in the future.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

Ok - don't just assume it will be fixed based on this forum thread, you should file a bug here: https://bugbase.adobe.com/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 03, 2015 Sep 03, 2015

Copy link to clipboard

Copied

OK Thanks good point - submitted as bug 4049214

4049214

Bug 4049214

Bug 4049214

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 31, 2016 Mar 31, 2016

Copy link to clipboard

Copied

Any idea what .jar file(s) are needed?

I am having the same issue on CF10 Updater 18.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 31, 2016 Mar 31, 2016

Copy link to clipboard

Copied

Yea...I added all the ActiveMQ jars to my lib and I am still getting this error.

Way to go Adobe.....

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 04, 2016 Oct 04, 2016

Copy link to clipboard

Copied

LATEST

I just encountered this on a fresh CF10 install that was updated to Updater 21.  Starting to slowly uninstall updaters until this problem goes away. I assume that this means it still hasn't been fixed (7 months later).

EDIT: I had to roll back to Updater 16 before this issue went away.  The bug Pete attached above said it was fixed in Updater 20.  Unless it was broken again in Updater 21, this is not true.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation