My Oracle Support Banner

Wrong Timezone in a JMS Message Received from Database Server Queue (AQ) (Doc ID 883488.1)

Last updated on OCTOBER 01, 2021

Applies to:

Oracle Containers for J2EE - Version and later
Information in this document applies to any platform.


A PL/SQL program sends JMS messages to AQ queues configured on 10.2 Oracle Database server.
A J2EE application, deployed into 10.1.3 OC4J, receives  JMS messages via OJMS provider. 

The enqueued  messages (via PL/SQL program) are received by the Message-Driven Bean (MDB) inside the J2EE application:

The issue is that timestamp value (timezone field value ) of the message (received by invoking method message.getJMSTimestamp() )  has not the same value as the timestamp of the message sent from the database. One hour difference can be observed between the sent and received message.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.