Bug 778246 (SOA-746)

Summary: Should a DB password be required by schema script?
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: tcunning
Component: ToolingAssignee: Julian Coleman <jcoleman>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.3 IR3   
Target Milestone: ---   
Target Release: 4.3 IR5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-746
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-07 06:41:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tcunning 2008-09-04 18:37:32 UTC
Date of First Response: 2008-09-10 11:25:19
project_key: SOA

execute:
    [input] skipping input as property source.dir has already been set.
    [input] skipping input as property db.name has already been set.
    [input] skipping input as property db.hostname has already been set.
    [input] skipping input as property db.port has already been set.
    [input] skipping input as property db.username has already been set.
    [input] Specify the DB instance Password:


BUILD FAILED
/Users/tcunning/Downloads/soa/jboss-soa-p.4.3.0/jboss-as/tools/schema/build.xml:75: You must specify a Password:

Comment 1 Mark Little 2008-09-10 15:25:19 UTC
J, didn't we agree that this was not going to get done for this release?

Comment 2 Julian Coleman 2008-09-12 09:56:49 UTC
It's simple to not require the password in the build.xml.  However, this will generate files
(e.g. juddi-ds.xml) in the form:

  <datasources>
    <local-tx-datasource>
      ...
      <password></password>
      ...
    </local-tx-datasource>
  </datasources>

This may not be valid.  Removing the:

  <password></password>

lines involves more work.  Ant isn't really the best tool for this, either.


Comment 3 Julian Coleman 2008-09-17 09:18:42 UTC
Fixed in revision 1899 of:
  build-tools/resource/schema/tool/esb/build.xml

Commit message:
  Allow an empty password string.
  Tested on mysql by jpechane@.
  Fixes SOA-746.


Comment 4 Jiri Pechanec 2008-10-07 06:41:37 UTC
Verified in IR5