Results 1 to 3 of 3

Thread: Problem DBRE - mysql

  1. #1
    Join Date
    Jul 2012
    Posts
    2

    Default Problem DBRE - mysql

    Hello,

    I am trying DBRE with mysql database for the first time and facing issues. I could not make the addon search work so have used the OSGI start step mentioned in the other threads but the driver doesn't get instantiated even after installation.

    Copy-paste from roo shell window:

    Code:
    roo> osgi start --url file:///E:/developer/lib/mysql-connector-java-5.1.21-bin.jar
    roo> database introspect --schema no-schema-required --file 
    Could not initialize class com.mysql.jdbc.Connection
    roo>
    Any pointers on resolution of this issue is appreciated.

    Environment: ROO - 1.2.1.RELEASE
    STS: Version: 2.9.2.RELEASE
    Build Id: 201205071000

    Thanks.

  2. #2
    Join Date
    Jul 2012
    Posts
    1

    Default

    I have the same issue.

    Have you solved this problem?

  3. #3
    Join Date
    Jul 2012
    Posts
    2

    Red face

    Quote Originally Posted by trastevere View Post
    I have the same issue.

    Have you solved this problem?
    Yep, the issue at my end is gone.

    What i did is
    • closed STS,
    • deleted the ROO cache (all the bundles etc)
    • and then started STS with a -clean flag.


    This was just to make sure that no stale data/entries are being used.

    The above steps solved my problem. What i observe is that Roo shell in STS is having such issues many a times and restarting STS and deleting cache etc solves such issues.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •