Thursday, April 19, 2012

Re: System property rdbms.driver must be set

its getting utterly confusing. when i attempt using this code, i need to add the libraries

appengine-api.jar

appengine-api-labs.jar

appengine-api-stubs.jar


and when i add these, the stubs library causes the service_unavailable issue.

on the other hand, on using the code

            DriverManager.getDriver("com.mysql.jdbc.Driver");
            DriverManager.registerDriver(new AppEngineDriver());
            Connection conn = DriverManager.getConnection("jdbc:google:rdbms://uni-cloud:unicloud/uni_cloud_db", USERNAME, PASSWORD);

            return conn;


i get the exception java.sql.SQLException: No suitable driver

i have the mysql connector placed in the impl folder of GAE SDK
i am using netbeans 7.1.1 on ubuntu 11.10

Help needed

No comments:

Post a Comment