Yes, you have changed the configuration-name and build your own which is now incompatible with clustering! You should extend the clustered configuration when building "Standard Stateless SessionBean with Security", not inherits from the default non-clustered one.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Simone Milani > Sent: vendredi, 15. août 2003 14:41 > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Load-Balancing Problems > > > Hi Sasha, > > That was what I thought as well at some point but my > jboss.xml is the > following: > <jboss> > > <enterprise-beans> > > <!-- > To add beans that you have deployment descriptor info for, add > a file to your XDoclet merge directory called > jboss-beans.xml that > contains > the <session></session>, <entity></entity> and > <message-driven></message-driven> > markup for those beans. > --> > > <session> > <ejb-name>Test</ejb-name> > <jndi-name>EJB/Session/Test</jndi-name> > <local-jndi-name>EJB/Session/Local/Test</local-jndi-name> > <configuration-name>Standard Stateless SessionBean with > Security</configuration-name> > <clustered>true</clustered> > </session> > > </enterprise-beans> > > <resource-managers> > </resource-managers> > > <container-configurations> > <container-configuration extends="Instance Per > Transaction CMP 2.x > EntityBean"> > <container-name>Optimistic CMP 2.x > EntityBean</container-name> > > <locking-policy>org.jboss.ejb.plugins.lock.JDBCOptimisticLock< /locking-polic > y> > <sync-on-commit-only>true</sync-on-commit-only> > </container-configuration> > <container-configuration extends="Standard Stateless > SessionBean"> > <container-name>Standard Stateless SessionBean with > Security</container-name> > <security-domain>java:/jaas/tsar</security-domain> > </container-configuration> > </container-configurations> > > </jboss> > And the partition as the default name. > Any idea? > > Thanks!!! > > Simone > > ----- Original Message ----- > From: "Sacha Labourey" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, August 15, 2003 12:57 PM > Subject: RE: [JBoss-user] Load-Balancing Problems > > > OK, so check your JBoss.xml file as in the current setup you > are *not* using > clustering: the invoker is the standard JRMP invoker, not the HA-JRMP > invoker. > > > Cheers, > > > > sacha > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Simone Milani > > Sent: vendredi, 15. août 2003 11:46 > > To: [EMAIL PROTECTED] > > Subject: Re: [JBoss-user] Load-Balancing Problems > > > > > > Hi Sacha, > > > > It is a SLSB and here is the stack trace of the call: > > > > 10:43:21,773 ERROR [LogInterceptor] RuntimeException: > > java.lang.RuntimeException: Test > > at > > > com.db.gm.mercury.ejb.session.test.TestBean.getPrimeAtPosition(Unknown > > Source) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > > orImpl.java:39 > > ) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.i > > nvoke(Stateles > > sSessionContainer.java:646) > > at > > org.jboss.resource.connectionmanager.CachedConnectionIntercept > > or.invoke(Cach > > edConnectionInterceptor.java:186) > > at > > org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invo > > ke(StatelessSe > > ssionInstanceInterceptor.java:72) > > at > > org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(Abstrac > > tTxInterceptor > > .java:84) > > at > > org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxI > > nterceptorCMT. > > java:243) > > at > > org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT > > .java:104) > > at > > org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInter > > ceptor.java:11 > > 7) > > at > > org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) > > at > > org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(Pro > > xyFactoryFinde > > rInterceptor.java:122) > > at > > org.jboss.ejb.StatelessSessionContainer.internalInvoke(Statele > > ssSessionConta > > iner.java:323) > > at org.jboss.ejb.Container.invoke(Container.java:700) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec > > tedMBeanDispat > > cher.java:284) > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:550) > > at > > > org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java: > > 362) > > at > > sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl > > .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at > > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) > > at sun.rmi.transport.Transport$1.run(Transport.java:148) > > at > java.security.AccessController.doPrivileged(Native Method) > > at > sun.rmi.transport.Transport.serviceCall(Transport.java:144) > > at > > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport > > .java:460) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTr > > ansport.java:7 > > 01) > > at java.lang.Thread.run(Thread.java:534) > > > > > > > > Thanks! > > > > > > Simone > > > > > > > > ------------------------------------------------------- > > 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 > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > ------------------------------------------------------- > > 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 > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > ------------------------------------------------------- > 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 > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- > 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 > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > ------------------------------------------------------- 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 [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user