axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Lischke <lisc...@googlemail.com>
Subject Re: howto avoid service isolation
Date Thu, 18 Sep 2008 11:56:55 GMT
Deepal jayasinghe wrote:
> Stefan Lischke wrote:
>> Thanx for your answer,
>>
>> i tried using the ConfigurationContext, but when i put in an object from Service
1 and read it out
>> from Service 2 i get a ClassCastException when casting it to the right class.
>>   
> Yes thats happen because of service isolation. Each service classes are
> loaded from different class loader. To avoid that problem you have to
> put that common class into a common place like lib directory.

ok thanx for help, thats what i done and it works like perfect.

Stefan



Mime
View raw message