[JBoss-user] concurrent calls on stateful beans exception

2002-02-01 Thread Frank Meissner
Hello, I have a jboss-client which shows a swing-UI and thus performs calls to the application server in a separate thread. My only busines-logic call is handleEvent(aEvent) and I have the following code in run(): 8<--8< Collection changedModels = null; synchronized(con

Re: [JBoss-user] Concurrent calls

2001-11-15 Thread Peter Levart
On Thursday 15 November 2001 14:33, Papo Napolitano wrote: > I'm using Jboss 2.4.2 with Tomcat and sometimes I get this error when I > call a method in a Bean. > > How can I do to solve this problem ?? > > [EmbeddedCatalinaServiceSX] StandardWrapperValve[jsp]: Servlet.service() > for servlet jsp t

Re: [JBoss-user] Concurrent calls

2001-11-15 Thread danch
Probably what's happening is you have multiple JSPs that the browser might request for at the same time (they're in a frameset or something?) and they both use an EJB that's kept in the session. The easiest thing to do would be to put a synchronized block around your accesses of that EJB: Bea

[JBoss-user] Concurrent calls

2001-11-15 Thread Papo Napolitano
I'm using Jboss 2.4.2 with Tomcat and sometimes I get this error when I call a method in a Bean. How can I do to solve this problem ?? [EmbeddedCatalinaServiceSX] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.rmi.RemoteException: Application Error: no concurre