How to add PostgreSQL datasource to WildFly 9.0?

后端 未结 6 1503
刺人心
刺人心 2020-12-03 15:23

I\'ve tried tutorial at mastertheboss.com:

  1. ./jboss-cli.sh
  2. module add --name=org.postgres --resources=/tmp/postgresql-9.3-1101.jdbc4
6条回答
  •  感动是毒
    2020-12-03 16:06

    Just a note: I have tested the CLI commands, as taken from the tutorial mentioned, against WildFly 10 and it works correctly in creating the JDBC Driver and the datasource. Besides it, I can see that the error log reported contains a mispelling of the module name ("org.portgres"):

    {
    "outcome" => "failed",
    "failure-description" => "WFLYJCA0041: Failed to load module for driver [org.portgres]",
    "rolled-back" => true
    }
    

    Disclaimer: I'm the owner of mastertheboss.com

提交回复
热议问题