-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JMS direct mode fails on concurrent writes to single topic when using distributed transactions. #385
Comments
@amykang2020 Commented stephanbauer7 said:
|
@amykang2020 Commented @amykang2020 said: |
@amykang2020 Commented This issue was imported from java.net JIRA GLASSFISH-21289 |
@amykang2020 Commented Reported by jiggster |
@amykang2020 Commented |
@nigeldeakin Commented I'm evaluating this issue for GlassFish 5.0 (MQ 5.1.1). Since this is a RI release, I need to consider whether or not this issue prevents GlassFish functioning as a RI. The fact that the issue was not seen when running the test case here suggests that the issue is intermittent and does not prevent it being used as a RI. I am therefore excluding it from 5.0. I'll leave the issue open for now; if @Jiggster or anyone would like to provide an updated test case this will be considered for a later release. |
|
Same problem in Glassfish 5.1 with MQ 5.1.3 |
@hberton please provide reproducer (or update https://github.com/jigga/xid-mismatch from original report, which is not runnable/got outdated). |
From @glassfishrobot on January 17, 2015 22:15
When multiple threads write to single JMS topic (only tested with topic, but that might be true for the queues also), each in its own distributed transaction, the broker fails with an error like the one below:
I've created a test case that reproduces the issue quite repeatedly - it's available on github.
The test case consists of a batch job that contains a single chunk-style step with partition mapper (step's partitioned as the problem occurs in a concurrent environment). ItemReader creates random number (between MIN and MAX as defined in SimplePartitionMapper) of entity instances of type Subscriber. ItemProcessor does nothing, but sleeps for 50 ms. Item writer persists entities created by the reader and then publishes the collection of items to JMS topic (in a single distributed transaction) and here's where the problem occurs. Will try to provide the more detailed description of the test case in the README.md file on github.
Environment
Tested with glass fish-embedded on Windows 7 & Mac OSX 10.10.1
Affected Versions
[4.1]
Copied from original issue: javaee/glassfish#21289
The text was updated successfully, but these errors were encountered: