Folks,

I just got the 0.9.3.19 build and tried to run the JDO example (after
having de-windozed, made executable and edited the database.xml to point
to mySQL)

I got the following:

[root@Frodo castor-0.9.3.19]# example.sh jdo
[test] Loading mapping descriptors from
file:/usr/local/castor-0.9.3.19/build/examples/jdo/mapping.xml
java.lang.IllegalStateException: Data source class name does not extend
javax.sql.DataSource
[test] org.exolab.castor.jdo.DatabaseNotFoundException: Nested error:
java.lang.IllegalStateException: Data source class name does not extend
javax.sql.DataSource{file:
file:/usr/local/castor-0.9.3.19/build/examples/jdo/database.xml; line:
6; column: 54}
[test] java.lang.IllegalStateException: Data source class name does not
extend javax.sql.DataSource
[test]  at
org.exolab.castor.jdo.conf.DataSource.createParams(DataSource.java:131)
[test]  at
org.exolab.castor.jdo.conf.DataSourceDescriptor$2.newInstance(DataSourceDescriptor.java:130)
[test]  at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1201)
[test]  at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
[test]  at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1197)
[test]  at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1862)
[test]  at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1238)
[test]  at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
[test]  at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
[test]  at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:463)
[test]  at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:241)
[test]  at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:583)
[test]  at jdo.Test.run(Test.java:98)
[test]  at jdo.Test.main(Test.java:62)
[root@Frodo castor-0.9.3.19]# 

Suggestions?

Les

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to