Bug 778246 (SOA-746) - Should a DB password be required by schema script?
Summary: Should a DB password be required by schema script?
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-746
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: Tooling
Version: 4.3 IR3
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 IR5
Assignee: Julian Coleman
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-04 18:37 UTC by tcunning
Modified: 2008-10-07 06:41 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-07 06:41:37 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-746 0 None None None Never

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


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