I am failing to connect via JDO to MySQL (mm.mysql-2.0.14).
 
I can successfully connect using the standard java.sql.Connection class. However, when attempting via JDO I get the following error:
 
org.exolab.castor.jdo.DatabaseNotFoundException : Nested error: java.net.MalformedURLException: no protocol: database.xml
The database.xml file looks like
 
<!DOCTYPE database PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version 1.0//EN"
                                        "http://castor.exolab.org/jdo-conf.dtd">
           <database name="Infocentral" engine="mysql">
                      <driver class-name="org.gjt.mm.mysql.Driver" url="jdbc:mysql://InfoCentral:3306">
                            <param name="user" value="kiwisurfer"/>
                            <param name="password" value="papakura"/>
                       </driver>
                       <mapping href="ratings.xml"/>
            </database>
 
What am I doing wrong ?



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com

Reply via email to