Can you turn debugging on (we use log4j) and send the output from the local server that works and also the remote server that does not?
P -----Original Message----- From: sric1 [mailto:[email protected]] Sent: 29 July 2010 16:04 To: [email protected] Subject: RE: [castor-user] castor generated descriptors with Spring I have tried this also, Just giving domain classes package instead of descriptors package. But no luck. I have question here. <code> context.getInternalContext().setClassLoader(TestResponse.class.getClassLoade r()); </code> TestResponse class is castor generated class in my package. So am i using it correctly ? I wanna give you more info. If i run the application locally, all tests work fine. If i run them on the server, then only i get this class loader issue. I am using maven to manage my dependencies. I am using WAS 6.1 server. Thanks! S Another idea.... I have 3 lots of descriptors: com.kirona.mitie.model.web.client.concept.descriptors com.kirona.mitie.model.web.client.security.descriptors com.kirona.mitie.model.web.client.security.types.descriptors ...but I have to set the package descriptors without the descriptors folder... <bean id="castorMarshaller" class="com.kirona.concept.web.service.client.marshaller.CastorMarshallerWith XMLContext"> <property name="packageDescriptors"> <list> <value>com.kirona.mitie.model.web.client.concept</value> <value>com.kirona.mitie.model.web.client.security</value> <value>com.kirona.mitie.model.web.client.security.types</value> </list> </property> </bean> >From your code snippet below this maybe your problem?? We are using Spring 2.5.6 and Castor 1.3.1 so I'm sure we can get to the bottom of your problem. P -- View this message in context: http://old.nabble.com/castor-generated-descriptors-with-Spring-tp29280360p29 297418.html Sent from the Castor - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email __________ NOD32 5323 (20100729) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

