Re: Failure when looking up an EJB consecutively

2006-10-01 Thread John Sisson
Arunanthisivam Vimalathithen wrote: Hi, I am having a problem in an application I am trying to port to WebSphere community edition which basically uses Geronimo 1.0 (This problem exists in the latest version of Geronimo (1.1.1) as well). The client I am using looks up the service numerous

Re: Failure when looking up an EJB consecutively

2006-09-26 Thread Arunanthisivam Vimalathithen
Hi Lasantha, I had a look at your example andit differs in the following. Setting up the initial context and lookup,narrowing, creationas well as the remote bean method invocation are all within the same loop, and also the home object is narrowed using PortableRemoteObject.narrow. I am providing

Re: Failure when looking up an EJB consecutively

2006-09-26 Thread Arunanthisivam Vimalathithen
Hi Lasantha, I might be able to escape the initialization in an example as I have mentioned below, but in a production environment scenario where there is a factory whichinvokes the clientclass that doesthe property initialization within it andprovides access to the EJB thiswill not be practical

Re: Failure when looking up an EJB consecutively

2006-09-26 Thread Lasantha Ranaweera
Hi Vimalan, I just tried to re generate your error in my machine with the attached sample application. Check out is it the same scenario as yours. But I couldn't regenerate your problem. It looks the Exception is a network related one. Also I would like to add some comments to this scenario

Failure when looking up an EJB consecutively

2006-09-25 Thread Arunanthisivam Vimalathithen
Hi, I am havinga problem inan application I am trying to port to WebSphere community edition which basically uses Geronimo 1.0 (This problem exists in the latest version of Geronimo (1.1.1)as well). The client I am using looks up the service numerous times consecutively and invokes the services.

Re: Failure when looking up an EJB consecutively

2006-09-25 Thread Lasantha Ranaweera
Hi Vimalan, I tested this problem with a 2000 consecutive requests in Geronimo v 1.1.1. But it doesn't happen to me at all. You can test it with the EJB samples application in http://cwiki.apache.org/GMOxDOC11/ejb-sample-application.html replacing following files. We might able to help you if