Tuesday, May 14, 2013

Re: Help!! Error: System property rdbms.driver must be set.

Incase anyone is looking for this solution, we added system properties in app-engine-config.xml and modified datasource configuration to as shown below.  this is not mentioned any where but this is the only solution worked for us.
We tried all the possiblilities mentioned in email thread and nothing worked.  BTW we are using GAE 1.8.0 

 <system-properties>
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
<property name="rdbms.driver" value="com.mysql.jdbc.Driver"/>
<property name="rdbms.server" value="local"/>
<property name="rdbms.url" value="jdbc:mysql://localhost:3306/instance?user=userName&amp;password=pwd" />
</system-properties>


<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource"
p:driverClassName="com.google.appengine.api.rdbms.AppEngineDriver" p:url="jdbc:google:rdbms://localhost:3306/wtgdata"
/>

On Wednesday, October 12, 2011 12:24:59 AM UTC-5, mayixiaozi wrote:
While I am following the Example:
http://code.google.com/apis/sql/docs/developers_guide_java.html

and running the application, it returns:

HTTP ERROR 500
System property rdbms.driver must be set.

So i set the rdbms.driver in war/WEB-INF/appengine-web.xml,
add a property  <property name="rdbms.driver"
value="com.google.appengine.api.rdbms.AppEngineDriver" />

The problem is the same!!

Anyone who knows how to fix this problem?? Thank you a lot!!! I really
need your guys help!!

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment