Exposing multiple cache containers via Hotrod

Solution Unverified - Updated -

Issue

When defining multiple HotRod connectors, I get the following error:

11:31:42,585 ERROR [org.jboss.as.controller.management-operation] JBAS014613: Operation ("add") failed - address: ([ ("subsystem" => "datagrid"), ("hotrod-connector" => "hotrod-connector") ]) - failure description: "JBAS014803: Duplicate resource [ (\"subsystem\" => \"datagrid\"), (\"hotrod-connector\" => \"hotrod-connector\") ]" 
11:31:42,597 ERROR [org.jboss.as.controller.management-operation] JBAS014784: Failed executing subsystem datagrid boot operations 11:31:42,607 FATAL [org.jboss.as.server] JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. 

Environment

  • Redhat JBoss Data Grid (JDG) 6.x
  • Redhat JBoss Data Grid (JDG) 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content