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
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
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
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
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.
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