-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
When starting RHPAM 7.0.1 server with datasource.management.disableDefaultDrivers set to true, on the machine where there is no Internet the following errors are shown:
ERROR [org.kie.workbench.common.screens.datasource.management.backend.service.DriverDefDeployerImpl] (pool-13-thread-1) Driver deployment failed, defInfo: DriverDefInfo{deploymentInfo=null} DefInfo{uuid='mariadb-1.3.4', name='MariaDB-1.3.4', path=PathImpl{uri='default://master@system/datasources/MariaDB-1.3.4.driver', fileName='MariaDB-1.3.4.driver', attrs={}}}: java.lang.RuntimeException: org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.mariadb.jdbc:mariadb-java-client:jar:1.3.4 at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:80) at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:70) at org.kie.workbench.common.screens.datasource.management.util.MavenArtifactResolver.resolve(MavenArtifactResolver.java:59) at org.kie.workbench.common.screens.datasource.management.util.MavenArtifactResolver$Proxy$_$$_WeldClientProxy.resolve(Unknown Source) at org.kie.workbench.common.screens.datasource.management.backend.core.wildfly.WildflyDriverProvider.deploy(WildflyDriverProvider.java:66) at org.kie.workbench.common.screens.datasource.management.backend.core.wildfly.WildflyDriverProvider$Proxy$_$$_WeldClientProxy.deploy(Unknown Source) at org.kie.workbench.common.screens.datasource.management.backend.core.impl.DataSourceRuntimeManagerImpl.deployDriver(DataSourceRuntimeManagerImpl.java:136) at org.kie.workbench.common.screens.datasource.management.backend.core.impl.DataSourceRuntimeManagerImpl$Proxy$_$$_WeldClientProxy.deployDriver(Unknown Source) at org.kie.workbench.common.screens.datasource.management.backend.service.DriverDefDeployerImpl.deployDef(DriverDefDeployerImpl.java:71) at org.kie.workbench.common.screens.datasource.management.backend.service.DriverDefDeployerImpl.deployDef(DriverDefDeployerImpl.java:37) at org.kie.workbench.common.screens.datasource.management.backend.service.AbstractDefDeployer.deployDefs(AbstractDefDeployer.java:84) at org.kie.workbench.common.screens.datasource.management.backend.service.AbstractDefDeployer.deployGlobalDefs(AbstractDefDeployer.java:58) at org.kie.workbench.common.screens.datasource.management.backend.service.DriverDefDeployerImpl$Proxy$_$$_WeldClientProxy.deployGlobalDefs(Unknown Source) at org.kie.workbench.common.screens.datasource.management.backend.DataSourceManagementBootstrap.initializeDeployments(DataSourceManagementBootstrap.java:122) at org.kie.workbench.common.screens.datasource.management.backend.DataSourceManagementBootstrap.lambda$getInitializeDeploymentsTask$0(DataSourceManagementBootstrap.java:173) ... Caused by: org.appformer.maven.integration.embedder.MavenEmbedderException: Failed to read artifact descriptor for org.mariadb.jdbc:mariadb-java-client:jar:1.3.4 at org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:303) at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:77) ... 21 more Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.mariadb.jdbc:mariadb-java-client:jar:1.3.4 ... Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer org.mariadb.jdbc:mariadb-java-client:pom:1.3.4 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mariadb.jdbc:mariadb-java-client:pom:1.3.4 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known ... Caused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer org.mariadb.jdbc:mariadb-java-client:pom:1.3.4 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.mariadb.jdbc:mariadb-java-client:pom:1.3.4 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known ...
and similar for mysql:mysql-connector-java:jar:5.1.38 and org.postgresql:postgresql:jar:9.4.1207.
It seems that parameter datasource.management.disableDefaultDrivers=true is not picked up.
- is related to
-
AF-1549 jdbc drivers should not be downloaded by default
- Resolved