Issue Details (XML | Word | Printable)

Key: JDO-313
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Unassigned
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

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

ERROR 08001: No suitable driver on connection attempt to install schema

Created: 24/Feb/06 03:12 AM   Updated: 24/Feb/06 08:08 AM
Component/s: tck2
Affects Version/s: JDO 2 rc1
Fix Version/s: JDO 2 rc1

Time Tracking:
Not Specified

Resolution Date: 24/Feb/06 08:08 AM


 Description  « Hide
I moved my old local maven repository to test that all the automatic downloads work properly. The build failed on schema installation with a "No suitable driver" message. As we formerly had the derby jars in a directory called derby in the local maven repository, then changed it to org.apache.derby, perhaps some dependency on the old location remains in maven.xml.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 24/Feb/06 03:54 AM
The dependency in rc1 hasn't changed. In the project.xml for both the trunk and branches/2.0-rc1:

        <dependency>
            <groupId>org.apache.derby</groupId>
            <artifactId>derby</artifactId>
            <version>10.1.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.derby</groupId>
            <artifactId>derbytools</artifactId>
            <version>10.1.1.0</version>
        </dependency>

It works fine for me.

Did the maven build download the derby jars?

Michelle Caisse added a comment - 24/Feb/06 04:04 AM
The dependency did not change recently; it changed long ago.

Maven did download the derby jars, no problem there. When you tried it, did you clean your old repository? My hypothesis is that legacy stuff that we all have in our existing repositories is allowing this to work. But maybe it's just me... It would be good if someone else could nuke their local repository (non-destructively by renaming ~/.maven/repository to ~/.maven/repository_save, for example) and try this.

Michael Bouschen added a comment - 24/Feb/06 06:16 AM
I renamed my .maven directory and did a maven tck20.build in the trunk. It works! It regenerated the plugin cache, downloaded tons of jars, including derby and then started to install the schema successfully.

Michael

Michelle Caisse added a comment - 24/Feb/06 08:08 AM
Just me. When I deleted derby.jar from the maven repository and let it download again, the problem went away. Thanks for your help, Michael and Craig.