Andre,

if you are willing to build 0.9.7 from the sources (as I cannot reproduce your 
environment), I'd have one or two suggestions to make wrt to improved debugging.

Regards
Werner

wg> -----Original Message-----
wg> From: Andre Teubner [mailto:[EMAIL PROTECTED]
wg> Sent: Tuesday, June 21, 2005 5:36 PM
wg> To: [email protected]
wg> Subject: [castor-user] JDO-Initproblem after upgrade from 
wg> 0.9.6 to 0.9.7
wg> 
wg> 
wg> Hello list,
wg> 
wg> once again occurs some mirgration problems to 0.9.7. This time we
wg> present a nice TransactionManagerAcquireException:
wg> 
wg> org.exolab.castor.jdo.transactionmanager.TransactionManagerA
wg> cquireException:
wg> Problem obtaining JDO configuration: Nested error: Stream closed
wg>     at
wg> org.exolab.castor.jdo.transactionmanager.TransactionManagerF
wg> actoryRegistry.load(TransactionManagerFactoryRegistry.java:199)
wg>     at 
wg> org.exolab.castor.jdo.JDOManager.getDatabase(JDOManager.java:690)
wg>     at com.morixs.mcare.ds.castor.CastorDS.getDB(CastorDS.java:121)
wg>     at com.morixs.mcare.ds.castor.CastorDS.init(CastorDS.java:106)
wg> [...]
wg> Caused by: org.exolab.castor.mapping.MappingException: Nested error:
wg> Stream closed
wg>     at
wg> org.exolab.castor.jdo.engine.JDOConfLoader.loadConfiguration
wg> (JDOConfLoader.java:98)
wg>     at
wg> org.exolab.castor.jdo.engine.JDOConfLoader.getTransactionDem
wg> arcation(JDOConfLoader.java:145)
wg>     at
wg> org.exolab.castor.jdo.transactionmanager.TransactionManagerF
wg> actoryRegistry.load(TransactionManagerFactoryRegistry.java:160)
wg>     ... 8 more
wg> 
wg> Please remember, we only relaced castor.jar in our app and replace
wg> depracted JDO code with JDOManager. No other changes. I 
wg> wonder why every
wg> new version is incompatible against predecessors.
wg> 
wg> Code to init JDOManager
wg> 
wg> JarEntityResolver pResolver = new JarEntityResolver();
wg> String strMappingLocation = Configuration.getValue(CastorDS.class,
wg> "CastorMapping");
wg> InputSource pDatabaseConfiguration = pResolver.resolveEntity(null,
wg> strMappingLocation);
wg> 
wg> //JDO.loadConfiguration(pDatabaseConfiguration, pResolver, null);
wg> JDOManager.loadConfiguration(pDatabaseConfiguration, 
wg> pResolver, null);
wg> manager = JDOManager.createInstance("MobileCare");
wg> manager .getDatabase();
wg> 
wg> 
wg> Any suggestions or hints?
wg> 
wg> Thanks in advance
wg> 
wg> Andre Teubner
wg> 
wg> 
wg> 
wg> -------------------------------------------------
wg> If you wish to unsubscribe from this list, please 
wg> send an empty message to the following address:
wg> 
wg> [EMAIL PROTECTED]
wg> -------------------------------------------------
wg> 
wg> 

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

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

Reply via email to