Translated message

A translation of this page exists in English.

JBoss でデータソースを有効にする場合の JBAS014612

Solution In Progress - Updated -

Issue

  • JBAS014612 で以下のようなものが発生しました。
[Server:server-one] 12:47:21,455 ERROR [org.jboss.as.controller.management-operation] (host-controller-connection-threads - 2) JBAS014612: Operation ("enable") failed - address: ([
[Server:server-one]     ("subsystem" => "datasources"),
[Server:server-one]     ("data-source" => "OracleDS")
[Server:server-one] ]): org.jboss.msc.service.DuplicateServiceException: Service jboss.data-source-config.OracleDS is already registered
  • 以下は、:disable および restart-servers() の後の無効な状態です。
/profile=full/subsystem=datasources/data-source=Test1:disable 
/server-group=main-server-group:restart-servers() 

# check status
/profile=full/subsystem=datasources/data-source=Test1:read-resource(recursive=true) -> correctly shown as disabled
/host=master/server=server-one/subsystem=datasources/data-source=Test1:read-resource(recursive=true) ->  Incorrectly shown as enabled

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1.0
  • 以下で定義されている datasource
    • jboss-as-datasources_1_0.xsd
    • jboss-as-datasources_1_1.xsd
  • datasource が無効にされています
  • CLI コマンド
    • data-source --profile=full enable --name=$JNDI_Name

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