Hi Werner, OK. Thanks. Now it works great and the performance unbelievable ;)
I have another question which is driven by curiosity. When will the new castor 1.3 be launched? Regards Thomas On Wed, Oct 29, 2008 at 10:07 AM, Werner Guttmann <[EMAIL PROTECTED]> wrote: > Hi, > > there was a slight problem with class resolution that has been fixed > recently, which could be related to your problem. Have a look at Jira > for issues closed shortly before 1.3 RC1 > > Regards > Werner > > Baba wrote: >> Hi Castor User, >> >> i use castor 1.2 with mapping files to unmarshal the xml files to java >> objects. It works. >> To become a better feeling about castor and how castor read the xml >> files I switch the log level into the debug mode. >> I receive a lot of the following messages: >> >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverClassCommand - Now in method: >> org.exolab.castor.xml.util.resolvers.ByDescriptorClass resolving: >> xml.body.properties.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.ResolveHelpers - >> Ignored problem at loading class: >> xml.body.properties.TcBordersDescriptor through class loader: >> [EMAIL PROTECTED], exception: >> java.lang.ClassNotFoundException: >> xml.body.properties.TcBordersDescriptor >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.ResolveHelpers - >> Ignored problem at loading class: >> xml.body.properties.descriptors.TcBordersDescriptor through class >> loader: [EMAIL PROTECTED], exception: >> java.lang.ClassNotFoundException: >> xml.body.properties.descriptors.TcBordersDescriptor >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverClassCommand - Now in method: >> org.exolab.castor.xml.util.resolvers.ByIntrospection resolving: >> xml.body.properties.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.ResolveHelpers - >> Ignored problem at loading class: xml.body.properties.TcBorders >> through class loader: [EMAIL PROTECTED], >> exception: java.lang.ClassNotFoundException: >> xml.body.properties.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Adding class >> name to missing classes: xml.body.properties.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.LoadPackageMappings to >> value: true >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.useIntrospection to value: >> true >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.MappingLoader to value: >> [EMAIL PROTECTED] >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.Introspector to value: >> [EMAIL PROTECTED] >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.ClassLoader to value: >> [EMAIL PROTECTED] >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.LoadPackageMappings to >> value: true >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.useIntrospection to value: >> true >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.MappingLoader to value: >> [EMAIL PROTECTED] >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.CastorXMLStrategy >> - Setting property: >> org.exolab.castor.xml.util.ResolverStrategy.Introspector to value: >> [EMAIL PROTECTED] >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverClassCommand - Now in method: >> org.exolab.castor.xml.util.resolvers.ByMappingLoader resolving: >> xml.body.table.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverPackageCommand - Now in resolve method: >> org.exolab.castor.xml.util.resolvers.ByCDR resolving: xml.body.table >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverPackageCommand - Now in resolve method: >> org.exolab.castor.xml.util.resolvers.ByPackageMapping resolving: >> xml.body.table >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> util.XMLClassDescriptorResolverImpl$DescriptorCacheImpl - Called >> addAllDescriptors with null or empty descriptor map >> 2008-10-24 15:18:34,181 8344 DEBUG [main] >> resolvers.AbstractResolverClassCommand - Now in method: >> org.exolab.castor.xml.util.resolvers.ByDescriptorClass resolving: >> xml.body.table.TcBorders >> 2008-10-24 15:18:34,181 8344 DEBUG [main] resolvers.ResolveHelpers - >> Ignored problem at loading class: xml.body.table.TcBordersDescriptor >> through class loader: [EMAIL PROTECTED], >> exception: java.lang.ClassNotFoundException: >> xml.body.table.TcBordersDescriptor >> >> There is no class which have the name TcBorders. Castor does this step >> for a much more classes which do not exist whit this name. >> What is castor doing? Is there a configuration failure or is castor >> missing any information in the classes or in mapping file? This costs >> a lot of performances at the unmarshal process. >> >> Thanks for your help. >> Thomas >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

