org.mule.module.launcher.DeploymentInitException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • While I am trying to add useXaTransactions="true" to the db-generic config, during deployment of the app error appears. Without this property, app works ok, placeholders are configured ok, db connection ok. Exception: {noformat} org.mule.module.launcher.DeploymentInitException: CheckExclusiveAttributes.CheckExclusiveAttributesException: The attributes of Element db:generic-config{dataSource-ref=mysqlDataSource, name=Database Configuration, name=databaseConfiguration, useXaTransactions=true} do not match the exclusive groups [driver, url, connectionTimeout, transactionIsolation, useXaTransactions] [dataSource-ref] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:197) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:544) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-3.7.3.jar:3.7.3] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_95] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) ~[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) ~[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_95] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95] {noformat} Configuration. {noformat} <spring:bean id="mysqlDataSource" name="MysqlDataSourceBean" class="com.mchange.v2.c3p0.ComboPooledDataSource" scope="singleton" destroy-method="close" lazy-init="default"> <spring:property name="driverClass" value="${datasource.driverClassName}" /> <spring:property name="jdbcUrl" value="${datasource.url}" /> <spring:property name="user" value="${datasource.username}" /> <spring:property name="password" value="${datasource.password}" /> <spring:property name="idleConnectionTestPeriod" value="${datasource.idleConnectionTestPeriod}" /> <spring:property name="initialPoolSize" value="${datasource.initialPoolSize}" /> <spring:property name="maxConnectionAge" value="${datasource.maxConnectionAge}" /> <spring:property name="maxIdleTime" value="${datasource.maxIdleTime}" /> <spring:property name="maxPoolSize" value="${datasource.maxPoolSize}" /> <spring:property name="minPoolSize" value="${datasource.minPoolSize}" /> <spring:property name="acquireRetryAttempts" value="${datasource.acquireRetryAttempts}" /> <spring:property name="preferredTestQuery" value="${datasource.preferredTestQuery}" /> </spring:bean> <db:generic-config name="genericConfigName" doc:name="Database Configuration" dataSource-ref="mysqlDataSource" useXaTransactions="true"/> {noformat}
    via by Sergii Tk,
  • While I am trying to add useXaTransactions="true" to the db-generic config, during deployment of the app error appears. Without this property, app works ok, placeholders are configured ok, db connection ok. Exception: {noformat} org.mule.module.launcher.DeploymentInitException: CheckExclusiveAttributes.CheckExclusiveAttributesException: The attributes of Element db:generic-config{dataSource-ref=mysqlDataSource, name=Database Configuration, name=databaseConfiguration, useXaTransactions=true} do not match the exclusive groups [driver, url, connectionTimeout, transactionIsolation, useXaTransactions] [dataSource-ref] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:197) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:544) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538) ~[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348) ~[mule-module-launcher-3.7.3.jar:3.7.3] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_95] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) ~[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) ~[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_95] at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95] {noformat} Configuration. {noformat} <spring:bean id="mysqlDataSource" name="MysqlDataSourceBean" class="com.mchange.v2.c3p0.ComboPooledDataSource" scope="singleton" destroy-method="close" lazy-init="default"> <spring:property name="driverClass" value="${datasource.driverClassName}" /> <spring:property name="jdbcUrl" value="${datasource.url}" /> <spring:property name="user" value="${datasource.username}" /> <spring:property name="password" value="${datasource.password}" /> <spring:property name="idleConnectionTestPeriod" value="${datasource.idleConnectionTestPeriod}" /> <spring:property name="initialPoolSize" value="${datasource.initialPoolSize}" /> <spring:property name="maxConnectionAge" value="${datasource.maxConnectionAge}" /> <spring:property name="maxIdleTime" value="${datasource.maxIdleTime}" /> <spring:property name="maxPoolSize" value="${datasource.maxPoolSize}" /> <spring:property name="minPoolSize" value="${datasource.minPoolSize}" /> <spring:property name="acquireRetryAttempts" value="${datasource.acquireRetryAttempts}" /> <spring:property name="preferredTestQuery" value="${datasource.preferredTestQuery}" /> </spring:bean> <db:generic-config name="genericConfigName" doc:name="Database Configuration" dataSource-ref="mysqlDataSource" useXaTransactions="true"/> {noformat}
    via by Sergii Tk,
  • Mule Dynamic HTTP outbound address
    via Stack Overflow by user1493140
    ,
    • org.mule.module.launcher.DeploymentInitException: CheckExclusiveAttributes.CheckExclusiveAttributesException: The attributes of Element db:generic-config{dataSource-ref=mysqlDataSource, name=Database Configuration, name=databaseConfiguration, useXaTransactions=true} do not match the exclusive groups [driver, url, connectionTimeout, transactionIsolation, useXaTransactions] [dataSource-ref] at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:197)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper$2.execute(ArtifactWrapper.java:62)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.artifact.ArtifactWrapper.init(ArtifactWrapper.java:57)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:25)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DefaultArchiveDeployer.redeploy(DefaultArchiveDeployer.java:544)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedArtifacts(DeploymentDirectoryWatcher.java:549)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.redeployModifiedApplications(DeploymentDirectoryWatcher.java:538)[mule-module-launcher-3.7.3.jar:3.7.3] at org.mule.module.launcher.DeploymentDirectoryWatcher.run(DeploymentDirectoryWatcher.java:348)[mule-module-launcher-3.7.3.jar:3.7.3] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[?:1.7.0_95] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[?:1.7.0_95] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[?:1.7.0_95] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[?:1.7.0_95] at java.lang.Thread.run(Thread.java:745)[?:1.7.0_95]

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Vanessa SchissatoVanessa Schissato
    1 times, last one,
    3 more bugmates