tracker issue : CF-4134089

select a category, or use search below
(searches all categories and all time range)
Title:

Blaze not working after Updater 17 applied

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Scott Stroz / Scott Stroz (Scott Stroz)

Created: 03/31/2016

Components: Flex/Flash

Versions: 10.0

Failure Type: Incorrect w/Workaround

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Few users will encounter

Locale/System: English / Win All

Vote Count: 2

Listed in the version 2016.0.02.299200 Issues Fixed doc
Duplicate ID:	CF-4049214

Problem Description: After applying Updater 18, an app that relies heavily on Blaze stopped working correctly. I no longer see calls to flex2gateway/cfamfpolling in the network tab in Chrome Dev Tools. And messaging no longer functions as expected.

Steps to Reproduce: Install updater 18 and try using a DataServicesMessaging gateway

Actual Result: Messaging doesn't work.

Expected Result:Messaging should work.

Any Workarounds: Roll back to updater 16

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4134089

External Customer Info:
External Company:  
External Customer Name: Scott Stroz
External Customer Email:

Attachments:

Comments:

This will also affect a few of my older apps that use messaging. Would like to see this addressed. I just applied Updater 21 to a new CF10 installation, and still had this issue. I had to roll back to Updater 16 to fix this. Any update?
Vote by External U.
3197 | March 31, 2016 08:51:26 AM GMT
Here is some error information I was able to capture. Adding multipel notes due to character limits. [BlazeDS] Unhandled error when processing a message: java.lang.NoClassDefFoundError: javax/jms/InvalidSelectorException incomingMessage: Flex Message (flex.messaging.messages.CommandMessage) operation = subscribe selector = null clientId = 97F23120-1618-FDA4-B4E2-8119C26A27A8 correlationId = destination = ColdFusionGateway messageId = F56BB037-31FD-00DC-CC70-CD2FFE89C894 timestamp = 1459436388470 timeToLive = 0 body = {} hdr(DSId) = 97F22C5B-621A-7CE8-9FE7-4C3475C2CFFB hdr(DSValidateEndpoint) = true hdr(DSEndpoint) = cf-polling-amf errorReply: Flex Message (flex.messaging.messages.ErrorMessage) clientId = 97F23120-1618-FDA4-B4E2-8119C26A27A8 correlationId = F56BB037-31FD-00DC-CC70-CD2FFE89C894 destination = ColdFusionGateway messageId = 97F23127-690B-FDAE-72EB-9D418952A28E timestamp = 1459436388473 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
Comment by External U.
3185 | March 31, 2016 09:38:50 AM GMT
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:1021) 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 coldfusion.flash.messaging.CFAMFEndPoint.service(CFAMFEndPoint.java:308) at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:373) at coldfusion.flex.ColdFusionMessageBrokerServlet.service(ColdFusionMessageBrokerServlet.java:114) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) 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:505) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:437) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:197) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.ClassNotFoundException: javax.jms.InvalidSelectorException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at coldfusion.bootstrap.BootstrapClassLoader.loadClass(BootstrapClassLoader.java:213) at java.lan
Comment by External U.
3186 | March 31, 2016 09:39:16 AM GMT
See also https://bugbase.adobe.com/index.cfm?event=bug&id=CF-4049214 (marked NotABug because the poster never responded) and https://forums.adobe.com/message/7921784 Apparently the solution is to add some missing jars
Vote by External U.
3198 | March 31, 2016 10:38:24 AM GMT
Found a solution from another bug report made for CF 11. Adding these jars to the lib directory fixed this issue for me. http://central.maven.org/maven2/javax/jms/jms-api/1.1-rev-1/jms-api-1.1-rev-1.jar http://central.maven.org/maven2/org/apache/activemq/activemq-core/5.7.0/activemq-core-5.7.0.jar http://central.maven.org/maven2/jgroups/jgroups/2.9.0.GA/jgroups-2.9.0.GA.jar
Comment by External U.
3187 | March 31, 2016 10:52:32 AM GMT
Thanks for the update Scott, marking this as NAB.
Comment by HariKrishna K.
3188 | March 31, 2016 11:34:30 PM GMT
How is this 'not a bug'? If I need to search to find .jars to make it work...it is most certainly a bug.
Comment by External U.
3189 | April 01, 2016 06:43:57 AM GMT
We will ship these jars as part of next update, marking it to "ToFix"
Comment by HariKrishna K.
3190 | April 01, 2016 07:07:59 AM GMT
Hi Hari, As CF-4049214 and CF-4134089 are the same issue, one should be marked as duplicate of the other. Thanks!, -Aaron
Comment by External U.
3191 | April 01, 2016 12:53:27 PM GMT
Marking one as a duplicate may cause this to get fixed in one version of Cf but not another.
Comment by External U.
3192 | April 01, 2016 02:33:02 PM GMT
Hi Scott, Good point, sorry. This CF10 ticket (CF-4134089) should certainly remain ToFix and not be marked as a duplicate. Regarding the CF11 ticket CF-4049214, I think it should either be 1) re-opened as ToFix or 2) marked as a duplicate of this CF-4134089 (and subsequently the issue should be fixed for all 3: CF10/CF11/CF2016). Thanks!, -Aaron
Comment by External U.
3193 | April 01, 2016 02:58:49 PM GMT
This fix will be available in CF11 HF 9 and CF10 HF 20.
Comment by HariKrishna K.
3194 | April 28, 2016 01:57:38 AM GMT
test note
Comment by CFwatson U.
3195 | June 07, 2016 04:17:48 AM GMT
The fix for this bug is available as part of the early-access build for ColdFusion 2016 Update 2.
Comment by CFwatson U.
3196 | June 07, 2016 04:24:28 AM GMT