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.getClassLoader());
</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-tp29280360p29297418.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