| Summary: | When setting oracle10g as the sourcedir, cannot find the directory with oracle-ds.xml | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | tcunning |
| Component: | Configuration | Assignee: | trev <tkirby> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2 CP01 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.2 CP02 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-578 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-06-13 16:49:20 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: | |
(todir should change to tofile)
<!-- Configure default datasource -->
<copy file="${source.dir}/template/${org.jboss.esb.server.database}-ds.x
ml"
todir="../console/management-esb/src/main/resources/${org.jboss.esb.server.database}/management-ds.xml"
overwrite="true">
should change to :
<!-- Configure default datasource -->
<copy file="${source.dir}/template/${org.jboss.esb.server.database}-ds.x
ml"
tofile="../console/management-esb/src/main/resources/${org.jboss.esb.server.database}/management-ds.xml"
overwrite="true">
Yup - seeing the same thing: BUILD FAILED /opt/CP02/jboss-soa-p.4.2.0/jboss-as/tools/schema/build.xml:274: Failed to copy /opt/CP02/jboss-soa-p.4.2.0/jboss-as/tools/schema/oracle10g/template/oracle-ds.xml to /opt/CP02/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb/src/main/resources/oracle/management-ds.xml/oracle-ds.xml due to java.io.FileNotFoundException /opt/CP02/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb/src/main/resources/oracle/management-ds.xml/oracle-ds.xml (Not a directory) changed in embedded version
<!-- Configure default datasource -->
<copy file="${source.dir}/template/${org.jboss.esb.server.database}-ds.xml"
tofile="../console/management-esb/src/main/resources/${org.jboss.esb.server.database}/management-ds.xml"
overwrite="true"> <!-- Configure default datasource -->
changed in standalone version
<copy file="${source.dir}/template/${org.jboss.esb.server.database}-ds.xml"
tofile="../console/management-esb/src/main/resources/${org.jboss.esb.server.database}/management-ds.xml"
overwrite="true">
tested by tcunningham |
Date of First Response: 2008-06-12 16:18:09 project_key: SOA Error in the schema script when setting database to oracle10g execute: [echo] JBoss SOA Platform (for EAP) [echo] ------------------ [echo] Database Configuration Script [echo] [echo] This script is used to configure the SOA platform and all it's constituent components [echo] against a new RDBMS. Deployment scripts are currently available for the following [echo] databases: MySQL, Oracle9i, PostgresSQL, Oracle10g [echo] ------------------ [echo] [input] skipping input as property org.jboss.esb.server.config has already been set. [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] skipping input as property db.password has already been set. [delete] Deleting 2 files from /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/lib [copy] Copying 3 files to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/schema/oracle10g/sql [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/uuid-key-generator.sar/META-INF [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jboss-messaging.sar [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbossesb.sar [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/server/production/deploy/jbpm.esb [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb [move] Moving 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb [copy] Copying 1 file to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb/src/main/resources/oracle/management-ds.xml BUILD FAILED /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/schema/build.xml:274: Failed to copy /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/schema/oracle10g/template/oracle-ds.xml to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb/src/main/resources/oracle/management-ds.xml/oracle-ds.xml due to /Users/tcunning/Downloads/soa/jboss-soa-p.4.2.0/jboss-as/tools/console/management-esb/src/main/resources/oracle/management-ds.xml/oracle-ds.xml (Not a directory)