History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: TORO-30
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Nick Bolton
Reporter: Kenneth Aragon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Toro

Installer looking for MySQL when configured for Oracle

Created: 26/Nov/07 05:03 PM   Updated: 28/Nov/07 01:56 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Linux / Oracle


 Description  « Hide
Did a remote configuration with the installer for an Oracle db. When attempting to run the installer using properties file from the installer, I was getting the following message:



BUILD FAILED
/tmp/antinstall7/build.xml:90: Unable to resolve artifact: Missing:
----------
1) com.mysql:mysql-connector-java:jar:5.0.4

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.mysql -DartifactId=mysql-connector-java \
          -Dversion=5.0.4 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.mysql -DartifactId=mysql-connector-java \
          -Dversion=5.0.4 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) unspecified:unspecified:jar:0.0
        2) com.mysql:mysql-connector-java:jar:5.0.4

Notice, the installer is trying to find mysql when configured for Oracle.

 All   Comments   Work Log   Change History      Sort Order:
Nick Bolton [26/Nov/07 05:14 PM]
The classpath that uses jdbc drivers needs to be refactored to only include only the platform specified.

Nick Bolton [28/Nov/07 01:56 PM]
DB driver dependency was optimized to only include the specific driver required.