Hello Simone,
> Apologies if I am confusing things. I have a Stateless
> Session EJB
> declared now as
> <clustered>true</clustered>.
> The code I am running is the following:
>
> TestHome testHome = (TestHome)
javax.rmi.PortableRemoteObject.narrow(
> ctx.lookup("EJB/Session/Test"),
> TestHome.class);
>
> Test test = testHome.create();
> System.out.println("Hello: " + test.hello());
> for(int i = 0; i < 200; i++)
> {
> Integer myPrime = test.getPrimeAtPosition(i);
> System.out.println("Thread " +
> Thread.currentThread().getName() +
> ":\tPrime @ position "+ i +": " + myPrime);
> }
>
> And all the calls get sent to the same member.
Is that a SLSB or a SFSB? Could you please modify your EJB implementation
(the "getPrimeAtPosition" method) and instead of computing something simply
do something like "throw new RuntimeException();" or something bad like that
and then send me both the exception that you see on the client and on the
server side.
Cheers,
Sacha
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
JBoss-user mailing list
JBoss-user@(protected)
https://lists.sourceforge.net/lists/listinfo/jboss-user