In switching to 1.0.4 an error parsing repository.xml has popped up. At first I thought this was a problem with repository_internal but it turns out that I get this error on the first class-descriptor encountered, no matter what it is. If I switch back to 1.0.3, I don't see this problem. Any suggestions?

[org.apache.ojb.broker.metadata.RepositoryXmlHandler] ERROR: Exception while read metadata
Error creating PersistentField: org.mff.web.db.Marysdb, id
org.apache.ojb.broker.metadata.MetadataException: Error creating PersistentField: org.mff.web.db.Marysdb, id at org.apache.ojb.broker.metadata.fieldaccess.PersistentFieldFactory.createPersistentField(Unknown Source) at org.apache.ojb.broker.metadata.RepositoryXmlHandler.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE descriptor-repository PUBLIC
      "-//Apache Software Foundation//DTD OJB Repository//EN"
      "repository.dtd">

<descriptor-repository version="1.0" isolation-level="read-uncommitted"
   proxy-prefetching-limit="50">
<jdbc-connection-descriptor
        jcd-alias="default"
       default-connection="true"
       platform="MySQL"
       jdbc-level="3.0"
       jndi-datasource-name="java:comp/env/jdbc/mff/mffweb_mysql"
       eager-release="false"
      batch-mode="false"
      useAutoCommit="1"
      ignoreAutoCommitExceptions="false">
<object-cache class="org.apache.ojb.broker.cache.ObjectCacheDefaultImpl">
           <attribute attribute-name="cacheExcludes" attribute-value=""/>
           <attribute attribute-name="timeout" attribute-value="900"/>
           <attribute attribute-name="autoSync" attribute-value="true"/>
           <attribute attribute-name="cachingKeyType" attribute-value="0"/>
       </object-cache>
<sequence-manager className="org.apache.ojb.broker.util.sequence.SequenceManagerNativeImpl"/>
   </jdbc-connection-descriptor>
<class-descriptor class="org.mff.web.db.Marysdb" table="marysdb"> <field-descriptor name="id" column="id" jdbc-type="INTEGER" primarykey="true"/> <field-descriptor name="lastname" column="lastname" jdbc-type="VARCHAR" length="60"/> <field-descriptor name="firstname" column="firstname" jdbc-type="VARCHAR"
           length="60"/>
<field-descriptor name="middlename" column="middlename" jdbc-type="VARCHAR"
           length="120"/>
</class-descriptor> </descriptor-repository>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to