デフォルトの ExampleDS データソースを削除すると例外がおきる
Issue
- デフォルトのデータソース
ExampleDSをJBoss EAPから削除すると、そのアプリケーションにExampleDSデータソースが必要ない場合でもアプリケーションをデプロイすることができません。以下のようなエラーがログに記録されます。
ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013:Operation ("add") failed - address:([("deployment" => "abc.war")]) - failure description:{"WFLYCTL0180:Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.abc.abc.DefaultDataSource is missing [jboss.naming.context.java.jboss.datasources.ExampleDS]"]}
- 以前のバージョンの
JBoss EAPはExampleDSデータソースが削除されるため、この問題は発生しません。
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
