Re: Concurrent modification
Thanks, I solved the problem, and that was the answer... - Original Message - From: "Jeff Schnitzer" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, April 04, 2001 1:07 AM Subject: RE: Concurrent modification > ConcurrentModificationException is the result of a fail-fast iterator in > the JDK 1.2+ collections framework. If one thread is iterating a > collection and another thread modifies the collection, the next call to > the iterator will immediately throw this exception. In the ugly old > days of Hashtable and Vector, the results of concurrent modification > were undefined. > > You need to rethink your synchronization strategy for whatever shared > data you are initializing in initsequence.jsp. > > Jeff > > -Original Message- > From: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 30, 2001 12:36 AM > To: Orion-Interest > Subject: Concurrent modification > > > I have a web application with some jsp pages. If I click twice on a link > to another jsp page, I get the exception: > > java.util.ConcurrentModificationException > at java.util.HashMap$HashIterator.next(Unknown Source) > at java.util.Collections$6.nextElement(Unknown Source) > at > __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp > .java:38) > at com.orionserver.http.OrionHttpJspPage.service(JAX) > at com.evermind.server.http.HttpApplication.xj(JAX) > at com.evermind.server.http.JSPServlet.service(JAX) > at com.evermind.server.http.d3.sw(JAX) > at com.evermind.server.http.d3.su(JAX) > at com.evermind.server.http.ef.s1(JAX) > at com.evermind.server.http.ef.do(JAX) > at com.evermind.util.f.run(JAX) > Keep in mind that go to the other link through an intermediate page > which uses the directive . The same > application runs perfectly on JRun, but I saw that Allaire J2EE Server > moves from standard, so I'd like to develope on Orion... > Thanks >
RE: Concurrent modification
ConcurrentModificationException is the result of a fail-fast iterator in the JDK 1.2+ collections framework. If one thread is iterating a collection and another thread modifies the collection, the next call to the iterator will immediately throw this exception. In the ugly old days of Hashtable and Vector, the results of concurrent modification were undefined. You need to rethink your synchronization strategy for whatever shared data you are initializing in initsequence.jsp. Jeff -Original Message- From: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]] Sent: Friday, March 30, 2001 12:36 AM To: Orion-Interest Subject: Concurrent modification I have a web application with some jsp pages. If I click twice on a link to another jsp page, I get the exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(Unknown Source) at java.util.Collections$6.nextElement(Unknown Source) at __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp .java:38) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX) Keep in mind that go to the other link through an intermediate page which uses the directive . The same application runs perfectly on JRun, but I saw that Allaire J2EE Server moves from standard, so I'd like to develope on Orion... Thanks
Re: Concurrent modification
HI All, Since the support site is down, I'll try it this way: When creating a new instance of an EJB I get the following error: javax.ejb.CreateException: Error creating EntityBean: Wrong database file version at UserHome_EntityHomeWrapper2.create(UserHome_EntityHomeWrapper2.java, Compiled Code) Does anyone know what this error means? I'm using orion 1.4.7, with the HyperSonic database. thanx, Okke
SV: Concurrent modification
Does your /initsequence.jsp page hold state? I.e: does it contain: <%! Object state = new Object(); %> or does it modify something that you have in your HttpSession ? regards, Patrik Andersson -Ursprungligt meddelande-Från: Ing. Nicola Folino [mailto:[EMAIL PROTECTED]]Skickat: den 30 mars 2001 10:36Till: Orion-InterestÄmne: Concurrent modification I have a web application with some jsp pages. If I click twice on a link to another jsp page, I get the exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(Unknown Source) at java.util.Collections$6.nextElement(Unknown Source) at __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp.java:38) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX)Keep in mind that go to the other link through an intermediate page which uses the directive . The same application runs perfectly on JRun, but I saw that Allaire J2EE Server moves from standard, so I'd like to develope on Orion... Thanks
Concurrent modification
I have a web application with some jsp pages. If I click twice on a link to another jsp page, I get the exception: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.next(Unknown Source) at java.util.Collections$6.nextElement(Unknown Source) at __jspPage21_initsequence_jsp._jspService(__jspPage21_initsequence_jsp.java:38) at com.orionserver.http.OrionHttpJspPage.service(JAX) at com.evermind.server.http.HttpApplication.xj(JAX) at com.evermind.server.http.JSPServlet.service(JAX) at com.evermind.server.http.d3.sw(JAX) at com.evermind.server.http.d3.su(JAX) at com.evermind.server.http.ef.s1(JAX) at com.evermind.server.http.ef.do(JAX) at com.evermind.util.f.run(JAX)Keep in mind that go to the other link through an intermediate page which uses the directive . The same application runs perfectly on JRun, but I saw that Allaire J2EE Server moves from standard, so I'd like to develope on Orion... Thanks