That was it, thanks.

>>> [EMAIL PROTECTED] 05/16/05 1:36 PM >>>
On 5/16/05, Eric Anderson <[EMAIL PROTECTED]> wrote:
> 
> 
> Yes I saw the change so I have the following database entry...
> 
> <jdo-conf>
>         <database name="HPPROD1" engine="oracle">
> 
>             <driver class-name="oracle.jdbc.driver.OracleDriver"
url="jdbc:oracle:thin:@HOST:1526:HPPROD1">
>               <param name="user" value="****" />
>               <param name="password" value="****" />
>             </driver>
>             <mapping href="WEB-INF/mapping.xml" />
>             <transaction-demarcation mode="local" />
> 
>         </database>
> </jdo-conf>
> 
> I don't use a custom castor.properties, I assume it is just using the
one from the jar?
> 
> But I still recieve this error.
> 
> Caused by: org.xml.sax.SAXException: unable to add
'transaction-demarcation' to
> database> due to the following exception:


Eric,

I posted this exact reply earlier in this thread, but I guess you
missed it somehow.

Please take a look at the jdo-conf descriptor for the oracle
functional tests here:

http://cvs.castor.codehaus.org/viewrep/~raw,r=1.4/castor/castor/src/tests/jdo/oracle.xml


The trouble you're having is due to the fact that the
transation-demarcation element is inside of the database element. Move
the transaction-demarcation element outside of the database element.

Bruce
-- 
perl -e 'print
unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/ 

Apache Geronimo
http://geronimo.apache.org/

Reply via email to