Bug 1036739 - Unable to change process-id mechanism from process-id-uuid to process-id-socket-binding on transaction subsystem
Summary: Unable to change process-id mechanism from process-id-uuid to process-id-sock...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Transaction Manager
Version: 6.1.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER2
: EAP 6.3.0
Assignee: Amos Feng
QA Contact: Ondrej Chaloupka
URL:
Whiteboard:
: 1017816 (view as bug list)
Depends On:
Blocks: 1017816
TreeView+ depends on / blocked
 
Reported: 2013-12-02 14:28 UTC by Masafumi Miura
Modified: 2018-12-03 20:50 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-28 15:38:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
a potential patch (1.60 KB, patch)
2013-12-02 14:38 UTC, Masafumi Miura
mmiura: review?
Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2623 0 Critical Closed Unable to change process-id mechanism from process-id-uuid to process-id-socket-binding on transaction 2017-10-11 16:59:42 UTC

Description Masafumi Miura 2013-12-02 14:28:39 UTC
#### Description of problem:

EAP 6 documentation[1] says process-id mechanism can be changed from process-id-uuid to process-id-socket-binding. But it's impossible.

[1] https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html/Administration_and_Configuration_Guide/chap-Transaction_Subsystem.html#Configure_the_Transaction_Manager1

#### Steps to Reproduce:

1. Start EAP 6 
~~~
./bin/standalone.sh
~~~

2. Execute the following CLI to change process-id mechanism:
~~~
/socket-binding-group=standard-sockets/socket-binding=txn-socket-process-id/:add(port=4714)
/subsystem=transactions:write-attribute(name=process-id-uuid,value=false)
/subsystem=transactions:write-attribute(name=process-id-socket-binding,value=txn-socket-process-id)
~~~

3. Restart EAP 6 


#### Actual results:

The following ERROR occurred at JBoss start-up:
~~~
ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 44) JBAS014613: Operation ("add") failed - address: ([("subsystem" => "transactions")]) - failure description: "JBAS014746: process-id-uuid may not be null"
~~~

#### Expected results:

JBoss starts without ERROR.

Comment 3 tom.jenkinson 2013-12-06 09:53:25 UTC
patch looks good to me

Comment 4 tom.jenkinson 2013-12-06 10:14:44 UTC
We have had a report that it may not work in all circumstances, just trying to verify the report before we raise PRs.

Comment 5 tom.jenkinson 2013-12-06 13:21:55 UTC
Although the patch functionally works with respect to the transaction manager, when the server is restarted and the config is read:
/subsystem=transactions:read-resource(recursive=true)

process-id-uuid returns undefined rather than false

Similarly process-id-socket-process-id returns undefined rather than false

It should be possible to make these settings persistent booleans.

Thanks for the contribution so far, if you know how to report these values as false I am very happy to go with that solution.

Comment 6 Ondrej Chaloupka 2013-12-06 13:35:04 UTC
*** Bug 1017816 has been marked as a duplicate of this bug. ***

Comment 7 Ondrej Chaloupka 2013-12-06 13:36:34 UTC
Just a note:
This bug was created for EAP 6.1.1 but this issue resides in 6.2.0 as well.

Comment 8 Amos Feng 2013-12-06 19:49:40 UTC
The root reason is it does not check the PROCESS_ID_UUID if defined when booting the coreEnvironment service in TransactionSubsytemAdd.

Comment 10 Ondrej Chaloupka 2014-04-23 08:49:51 UTC
Verified for EAP 6.3.0.ER2. The process id generation by socket binding is possible to set in configuration.

Comment 11 Amos Feng 2014-06-30 13:46:48 UTC
do not think the bug had a measurable impact on EAP.


Note You need to log in before you can comment on or make changes to this bug.