Bug 832101 - Seam2.3 seam-gen generated EAR project datasource deployment contain unfiltered "<driver>@database.type@</driver>"
Seam2.3 seam-gen generated EAR project datasource deployment contain unfilter...
Status: CLOSED DEFERRED
Product: JBoss Enterprise WFK Platform 2
Classification: JBoss
Component: Seam (Show other bugs)
2.0.0.ER8
Unspecified Unspecified
high Severity medium
: ---
: ---
Assigned To: Marek Novotny
Marek Schmidt
Seam2.3
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-14 10:01 EDT by Marek Schmidt
Modified: 2012-06-19 04:18 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-19 04:18:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marek Schmidt 2012-06-14 10:01:54 EDT
Description of problem:

Seam2.3 seam-gen generated EAR project datasource deployment contain unfiltered "<driver>@database.type@</driver>"

jboss-eap-6.0/standalone/deployments/myproject-ds.xml:

<?xml version="1.0" encoding="UTF-8"?>
<datasources xmlns="http://www.jboss.org/ironjacamar/schema">
    <datasource 
        jndi-name="myprojectDatasource"
        enabled="true" 
        use-java-context="true" pool-name="myprojectDatasource_pool">
        <connection-url>jdbc:h2:.</connection-url>
        <driver>@database.type@</driver>
        <security>
                      <user-name>sa</user-name>
                      <password></password>
        </security>
    </datasource>
</datasources>

seam-gen.properties does contain the property database.type:

$ grep database.type seam-gen.properties 
database.type=h2
Comment 1 Marek Novotny 2012-06-14 10:05:29 EDT
It seems that I haven't back ported fix from JBSEAM-4959

Note You need to log in before you can comment on or make changes to this bug.