[jboss-jira] [JBoss JIRA] (WFLY-2623) Unable to change process-id mechanism from process-id-uuid to process-id-socket-binding on transaction

Amos Feng (JIRA) issues at jboss.org
Tue Aug 18 05:02:26 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-2623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099255#comment-13099255 ] 

Amos Feng commented on WFLY-2623:
---------------------------------

I think we add some checking codes for "process-id-uuid" and "process-id-socket-binding". So you need to undefine the process-id-uuid and then set the process-id-socket-binding. The following steps work on my machine.
{code}
[standalone at localhost:9990 /] batch
[standalone at localhost:9990 / #] /socket-binding-group=standard-sockets/socket-binding=txn-socket-process-id:add(port=4714)
[standalone at localhost:9990 / #] /subsystem=transactions:undefine-attribute(name=process-id-uuid)
[standalone at localhost:9990 / #] /subsystem=transactions:write-attribute(name=process-id-socket-binding,value=txn-socket-process-id)
[standalone at localhost:9990 / #] run-batch --verbose
{
    "outcome" => "success",
    "result" => {
        "step-1" => {"outcome" => "success"},
        "step-2" => {
            "outcome" => "success",
            "response-headers" => {"operation-requires-reload" => true}
        },
        "step-3" => {
            "outcome" => "success",
            "response-headers" => {"operation-requires-reload" => true}
        }
    },
    "response-headers" => {"process-state" => "reload-required"}
}
[standalone at localhost:9990 /] reload

{code}

> Unable to change process-id mechanism from process-id-uuid to process-id-socket-binding on transaction 
> -------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-2623
>                 URL: https://issues.jboss.org/browse/WFLY-2623
>             Project: WildFly
>          Issue Type: Bug
>          Components: Transactions
>    Affects Versions: 10.0.0.Beta1
>            Reporter: Amos Feng
>            Assignee: Hayk Hovsepyan
>            Priority: Critical
>              Labels: transaction
>             Fix For: 8.0.0.Final
>
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1036739
> process-id mechanism can not be changed from process-id-uuid to process-id-socket-binding.
> The following ERROR occurred at JBoss start-up:
> {noformat}
> 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"
> {noformat}
> The root reason is it does not check the PROCESS_ID_UUID if defined when booting the coreEnvironment service in TransactionSubsytemAdd.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list