Re: howto avoid service isolation

2008-09-18 Thread Stefan Lischke
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. Maybe thats because the different class-loaders? So i can only use simple java types to share

Re: howto avoid service isolation

2008-09-18 Thread Deepal jayasinghe
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

Re: howto avoid service isolation

2008-09-18 Thread Stefan Lischke
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

Re: howto avoid service isolation

2008-09-15 Thread Deepal jayasinghe
You can make them to a service group and then from the serviced group context you can share. Or you can put what you want to share into configuration context. -Deepal Hi, I have two Services, that needs to share a cache. How can i avoid service isolation so that both service are using the

RE: howto avoid service isolation

2008-09-15 Thread Grange, John
JNDI would be one way to go. -Original Message- From: Stefan Lischke [mailto:[EMAIL PROTECTED] Sent: 15 September 2008 15:31 To: axis-user@ws.apache.org Subject: howto avoid service isolation Hi, I have two Services, that needs to share a cache. How can i avoid service isolation so

RE: howto avoid service isolation

2008-09-15 Thread Subhro Moitra (smoitra)
I too have the same use case. I tried it with the get/set attributes, but could not make it work. Any advice on this will be very helpful. Thanks, Subhro. -Original Message- From: Stefan Lischke [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2008 8:01 PM To:

RE: howto avoid service isolation

2008-09-15 Thread Martin Gainty
. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. Subject: RE: howto avoid service isolation Date: Mon, 15 Sep 2008 20:11:00 +0530 From: [EMAIL