]
Rich DiCroce commented on WFLY-6200:
------------------------------------
No, it is not correct that connection-url is mandatory. You simply need to define the host
and port as connection properties instead. Read the comments on WFLY-6157 and consult your
JDBC driver's documentation for more info.
connection-url is required even when not used
---------------------------------------------
Key: WFLY-6200
URL:
https://issues.jboss.org/browse/WFLY-6200
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 10.0.0.Final
Reporter: Rich DiCroce
Assignee: Lin Gao
Per the comments on WFLY-6157 and WFLY-6198, connection-url is ignored in a datasource if
datasource-class is defined. However, connection-url is currently mandatory. If it is not
present, WildFly fails to start:
{noformat}
09:51:18,216 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread
Pool -- 8) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "datasources"),
("data-source" => "GamingPortalDS")
]) - failure description: "WFLYCTL0155: connection-url may not be null"
{noformat}