Andre,

can you please make sure that the castor.properties file you are using
with your current system specifies the correct entries for the cache
factories ?

Werner

Andre Teubner wrote:
> Hi all,
> 
> during migration from 0.9.6 to 0.9.7 castor throw an exception:
> 
> 2005-08-08 17:23:49,385 [main] ERROR org.exolab.castor.jdo.JDOManager -
> Failed to initalize TransactionManagerFactory
> org.exolab.castor.jdo.transactionmanager.TransactionManagerAcquireException:
> Problem obtaining JDO configuration: Nested error: Stream closed
>     at
> org.exolab.castor.jdo.transactionmanager.TransactionManagerFactoryRegistry.load(TransactionManagerFactoryRegistry.java:199)
>     at org.exolab.castor.jdo.JDOManager.getDatabase(JDOManager.java:690)
>     at com.morixs.mcare.ds.castor.CastorDS.getDB(CastorDS.java:108)
>     at com.morixs.mcare.ds.castor.CastorDS.init(CastorDS.java:92)
> [...] a hell of causes 'Nested error: Stream closed'
> 
> 
> jdo config file looks like this:
> 
> <?xml version='1.0' encoding='utf-8'?>
> <!--
>   $Id: database.xml,v 1.17 2005/08/02 14:22:54 aetr Exp $
>   $Author: aetr $
>   $Date: 2005/08/02 14:22:54 $
> -->
> <jdo-conf>
> 
>     <database name="MobileCare" engine="sapdb" >
>        
>         <data-source class-name="org.apache.commons.dbcp.BasicDataSource">
>                     <!--url--><param name="url"
> value="jdbc:sapdb://xx.xx.xx.xx/xxx"/><!--url-->
>                     <param name="driver-class-name"
> value="com.sap.dbtech.jdbc.DriverSapDB" />
>                     <!--username--><param name="username"
> value="xxx"/><!--username-->
>                     <!--password--><param name="password"
> value="xxxx"/><!--password-->
>                     <param name="max-active" value="10" />
>                     <param name="initial-size" value="5" />
>             </data-source>
>            
>         <mapping href="/castor/mapping.xml" />
>         [...] some other mapping files
>         <mapping href="/castor/caretransition_mapping.xml" />
>            
>     </database>
>    
>     <transaction-demarcation mode="local"/>
>    
> </jdo-conf>
> 
> So far, i figured out that castor read all mapping files without any
> error. When initialized TransactionManagerFactoryRegistry castor throw
> an exception as you can seen above.
> 
> We use our own EntityResolver wich works fine in 0.9.6 and lower.
> 
> Any suggestions or hints?
> 
> Thanks in advance
> 
> Andre Teubner
> 
> 
> 
> -------------------------------------------------
> If you wish to unsubscribe from this list, please 
> send an empty message to the following address:
> 
> [EMAIL PROTECTED]
> -------------------------------------------------
> 
> 


-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to