Clovis,
can you please refrain from sending HTML email to this mailing list as per
http://castor.exolab.org/lists.html#A-note-about-HTML-formatted-e-mail
Other than this, I'd strongly advise you to use a proper release for your purpose, as
the code in the CVS repository is undergoing quite some refactoring
at the moment. I am not trying to say that the code is not stable, but (unless when
helping you out with an issue that is related to a problem that the latest
release has) I am not really prepared to offer first-class support yet for problems
like these (that could have been avoided had you visited the mailing list
archive searching for changes to the code base that require user changes).
In addition, please try to be more precise with the information you provide, as
there's clearly a difference between release 0.9.5.3 and ' a build from a
CVS checkout'.
Regards
Werner
--Original Message Text---
From: Cl�vis Wichoski
Date: Wed, 16 Jun 2004 08:33:55 -0300
Werner,
I'm using a build from CVS checkout, I will try to change database.xml and test again.
Thanks
Cl�vis
Werner Guttmann wrote:
Clovis,
I just had a look at your database.xml file, and it looks perfectly allright to me.
Can I ask you a couple of questions ? How did you obtain Castor ?
Download binaries or sources ? Or did you get code from the CVS repository. I am still
under the impression that you are running against code that has
been checked in post-0-9.5-3.
After the 0.9.5.3 release (and this feature is only available through CVS right now),
we will require users to change the syntax of their JDO config files to
<jdo-conf>
<database ...>
<data-source ....>
...
</data-source>
<mapping ... />
</database>
<transaction-demarcation ... />
</jdo-conf>
Only in this new environment your error message would make sense if you e.g. forgot
the <database> element.
Regards
Werner
--Original Message Text---
From: Cl�vis Wichoski
Date: Tue, 15 Jun 2004 14:46:15 -0300
Werner,
please see database.xml attached
Werner Guttmann wrote:
Clovis,
can I please see you JDO config file ? It looks like Castor cannot find the
ClassDescriptor for <data-source> which is a bit odd to me, as it definitely is
part
of the main JAR file. In addition, it looks to me like you are using a root element of
<jdo-conf>, which is not supported with release 0.9.5.3.
Thanks
Werner
On Tue, 15 Jun 2004 09:50:28 -0300, Cl�vis Wichoski wrote:
Hi,
Today I'm attempt to Upgrade the version of castor 0.9.3.9 to 0.9.5.3,
for my applications to compile again, I need to change some methods,
this done and ok, but when I run my application the following exception
throws when I execute getDatabase from JDO, this appear to be a problem
with my database mapping, maybe anything changed that I don't know? note
that the mapping works with version 0.9.3.9.
unable to find FieldDescriptor for 'data-source' in ClassDescriptor of
jdo-conf
org.xml.sax.SAXException: unable to find FieldDescriptor for
'data-source' in ClassDescriptor of jdo-conf
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1793)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1292)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:605)
at
org.exolab.castor.jdo.engine.JDOConfLoader.loadConfiguration(JDOConfLoader.java:85)
at
org.exolab.castor.jdo.engine.JDOConfLoader.getDatabase(JDOConfLoader.java:101)
at
org.exolab.castor.jdo.engine.DatabaseRegistry.loadDatabase(DatabaseRegistry.java:235)
at org.exolab.castor.jdo.JDO.getDatabase(JDO.java:571)
TIA
Cl�vis
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user