Why does CLI show JBAS012470 error while defining keepalive-time attribute ?

Solution Verified - Updated -

Issue

  • While configuring an executor on JBoss via CLI it fails at keepalive-time:
/subsystem=threads/bounded-queue-thread-pool=http-executor:add(keepalive-time=10, max-threads=100,name=http-executor,queue-length=0)
        {
            "outcome" => "failed",
            "failure-description" => {"domain-failure-description" => "JBAS012470: Attribute keepalive-time expects values of type OBJECT but got 10 of type INT"},
            "rolled-back" => true
        }
  • Similar exception occurs while specify a keepalive-time attribute for workmanager :
/subsystem=jca/workmanager=default/long-running-threads=default:write-attribute(name=keepalive-time,value=10)
{
    "outcome" => "failed",
    "failure-description" => {"domain-failure-description" => "JBAS012470: Attribute keepalive-time expects values of type OBJECT but got 10 of type INT"},
    "rolled-back" => true
}

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.