title: javax.jms.InvalidSelectorException when calling javax.jms.QueueSession.createBrowser() in weblogic12c
body: <p>after upgrading Weblogic version from 10.3.6 to 12.1.2 i get <strong>javax.jms.InvalidSelectorException</strong></p>
  
  <p>when calling JMS API </p>
  
  <p><strong>javax.jms.QueueSession.createBrowser(Queue queue, String messageSelector)</strong></p>
  
  <p>the selector i'm using is                   </p>
  
  <pre><code>String selector = "JMSTimestamp &lt; " + timeStamp + " AND JMSRedelivered = false";
  </code></pre>
  
  <p>does anyone knows what can cause the issue ? what am i missing ? </p>
  
  <p>Not sure why it worked on WL10.3.6 and on WL12 its not (didn't change the code)</p>
  
  <pre><code>javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMSTimestamp &lt; 1386059460109 AND JMSRedelivered = false"
          at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:110)
          at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:45)
          at weblogic.jms.client.JMSSession.createBackEndBrowser(JMSSession.java:3278)
          at weblogic.jms.client.JMSQueueBrowser.&lt;init&gt;(JMSQueueBrowser.java:48)
          at weblogic.jms.client.JMSSession.createBrowser(JMSSession.java:2671)
          at weblogic.jms.client.WLSessionImpl.createBrowser(WLSessionImpl.java:1072)
          at my.common.server.jms.JMSBrowser.initBrowser(JMSBrowser.java:87)
          at my.common.server.jms.JMSBrowser.countOldMessages(JMSBrowser.java:53)
          at my.callback.server.JMSCallbackBrowseSyncTimeoutTask.execute(JMSCallbackBrowseSyncTimeoutTask.java:36)
          at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
          at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
  Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMSTimestamp &lt; 1386059460109 AND JMSRedelivered = false"
          at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
          at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
          at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
          at weblogic.messaging.dispatcher.DispatcherImpl.syncRequest(DispatcherImpl.java:201)
          at weblogic.messaging.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:236)
          at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSync(DispatcherAdapter.java:43)
          ... 9 more
  Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMSTimestamp &lt; 1386059460109 AND JMSRedelivered = false"
          at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
          at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
          at weblogic.jms.dispatcher.Request.useChildResult(Request.java:69)
          at weblogic.jms.frontend.FESession.browserCreate(FESession.java:1288)
          at weblogic.jms.frontend.FESession.invoke(FESession.java:3041)
          at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
          ... 12 more
  Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMSTimestamp &lt; 1386059460109 AND JMSRedelivered = false"
          at weblogic.jms.dispatcher.Request.handleThrowable(Request.java:87)
          at weblogic.jms.dispatcher.Request.getResult(Request.java:52)
          at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:1124)
          at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsyncInternal(DispatcherImpl.java:156)
          at weblogic.messaging.dispatcher.DispatcherImpl.dispatchAsync(DispatcherImpl.java:132)
          at weblogic.messaging.dispatcher.Request.dispatchAsync(Request.java:1303)
          at weblogic.jms.dispatcher.Request.dispatchAsync(Request.java:96)
          at weblogic.jms.frontend.FESession.browserCreate(FESession.java:1275)
          ... 14 more
  Caused by: javax.jms.InvalidSelectorException: weblogic.messaging.kernel.InvalidExpressionException: Expression : "JMSTimestamp &lt; 1386059460109 AND JMSRedelivered = false"
          at weblogic.jms.backend.BEBrowserImpl.&lt;init&gt;(BEBrowserImpl.java:85)
          at weblogic.jms.backend.BEQueueImpl.createBrowser(BEQueueImpl.java:251)
          at weblogic.jms.backend.BESessionImpl.createBrowser(BESessionImpl.java:877)
          at weblogic.jms.backend.BESessionImpl.invoke(BESessionImpl.java:279)
          at weblogic.messaging.dispatcher.Request.wrappedFiniteStateMachine(Request.java:961)
  </code></pre>