[
https://issues.jboss.org/browse/FORGE-565?page=com.atlassian.jira.plugin....
]
George Gastaldi updated FORGE-565:
----------------------------------
Fix Version/s: 1.2.4.Final
(was: 1.2.3.Final)
Persistence plugin needs to better guide users through a custom
database configuration
--------------------------------------------------------------------------------------
Key: FORGE-565
URL:
https://issues.jboss.org/browse/FORGE-565
Project: Forge
Issue Type: Enhancement
Components: Builtin Plugins
Affects Versions: 1.0.4.Final
Reporter: Lincoln Baxter III
Priority: Minor
Labels: Starter
Fix For: 1.2.4.Final
In order to use the PostgreSQL (or any custom) database, you'll need to skip the
--container JBOSS_AS7 parameter; otherwise, this will override the data-source
configuration as seen in the INFO messages:
{code}***INFO*** Setting transaction-type="JTA"
***INFO*** Using example data source [java:jboss/datasources/ExampleDS]{code}
We should probably make this more clear, or perhaps create a warning or error scenario
instead of INFO. When you remove the --container parameter.
It should be much clearer that you may need to use some of the extended parameters like
--jndiName and so forth.
This can probably be done by updating the PersistencePlugin and related classes:
https://github.com/forge/core/blob/master/javaee-impl/src/main/java/org/j...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira