Re: server hangs with parallel requests
try to use java 1.5 - it helps -- View this message in context: http://www.nabble.com/server-hangs-with-parallel-requests-tp18275656p18522909.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: server hangs with parallel requests
This problem still persists with jetty 6.1.11. I have noticed that there is a FAIL onLoad postcon.erp.modules.pages.AddressDetail1BeanInfo Message from org.apache.tapestry5.internal.services.InternalModule.ComponentInstantiatorSource in the log, which refers to a Tapestry-derived class of my app. Any ideas on how to circumvent this loading problem? Thanks, Udo. Original-Nachricht > Datum: Fri, 4 Jul 2008 11:22:11 +0200 > Von: "Sven Homburg" <[EMAIL PROTECTED]> > An: "Tapestry users" > Betreff: Re: server hangs with parallel requests > i had a similar problem > > after updating my environment to linux/java-1.6.0_6/jetty-6.1.11 > it works for me > > 2008/7/4 Udo Abel <[EMAIL PROTECTED]>: > > > Hi, > > > > I have a page with 4 iframes loading 4 different pages from a tapestry 5 > > application. > > > > In 2 of 3 cases, th server hangs and does not return any page. > > When I first load 1 page, subsequent loading of the 4-page frame > succeeds. > > > > Is there a possible synchronization problem? > > > > The stacks of the for page load tasks btpool0-1 to -4 and the system > tasks > > in eclipse is appended here. > > Im using eclipse 3.3.2 woth java 1.6.0_6and jetty 6.1.6. > > > > Thread [btpool0-0 - Acceptor0 [EMAIL PROTECTED]:8080] > > (Suspended) > >EPollArrayWrapper.epollWait(long, int, long, int) line: not > > available [native method] > >EPollArrayWrapper.poll(long) line: 215 > >EPollSelectorImpl.doSelect(long) line: 65 > >EPollSelectorImpl(SelectorImpl).lockAndDoSelect(long) line: 69 > >EPollSelectorImpl(SelectorImpl).select(long) line: 80 > >SelectorManager$SelectSet.doSelect() line: 406 > >SelectChannelConnector$1(SelectorManager).doSelect(int) line: 166 > >SelectChannelConnector.accept(int) line: 124 > >AbstractConnector$Acceptor.run() line: 515 > >BoundedThreadPool$PoolThread.run() line: 450 > > > > Daemon Thread [Timer-0] (Suspended) > >Object.wait(long) line: not available [native method] > >TimerThread.mainLoop() line: 509 [local variables unavailable] > >TimerThread.run() line: 462 [local variables unavailable] > > > > Thread [btpool0-1] (Suspended) > > > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).checkCerts(String, > > CodeSource) line: 751 > > > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).preDefineClass(String, > > ProtectionDomain) line: 487 > > > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).defineClass(String, > > byte[], int, int, ProtectionDomain) line: 614 > >GeneratedMethodAccessor3.invoke(Object, Object[]) line: not > > available > >DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 > >Method.invoke(Object, Object...) line: 597 > >ClassPool.toClass2(Method, ClassLoader, Object[]) line: 965 > >ClassFactoryClassPool(ClassPool).toClass(CtClass, ClassLoader, > > ProtectionDomain) line: 947 > >CtClassSourceImpl.createClass(CtClass) line: 92 > >ClassFabImpl(AbstractFab).createClass() line: 89 > >InternalClassTransformationImpl.createInstantiator() line: 1448 > >ComponentClassTransformerImpl.createInstantiator(String) line: > 181 > >$ComponentClassTransformer_11aed3dc4bb.createInstantiator(String) > > line: not available > >ComponentInstantiatorSourceImpl.findInstantiator(String) line: > 240 > >$ComponentInstantiatorSource_11aed3dc4ae.findInstantiator(String) > > line: not available > >PageElementFactoryImpl.newComponentElement(Page, > > ComponentPageElement, String, String, String, String, Location) line: > 211 > >$PageElementFactory_11aed3dc4e5.newComponentElement(Page, > > ComponentPageElement, String, String, String, String, Location) line: > not > > available > >PageLoaderProcessor.startComponent(StartComponentToken) line: 656 > > > PageLoaderProcessor.loadTemplateForComponent(ComponentPageElement) > > line: 501 > >PageLoaderProcessor.workComponentQueue() line: 808 > >PageLoaderProcessor.loadPage(String, String, Locale) line: 393 > >PageLoaderImpl.loadPage(String, Locale) line: 59 > >$PageLoader_11aed3dc4e3.loadPage(String, Locale) line: not > available > >PagePoolCache.checkout() line: 210 > >PagePoolImpl.checkout(String) line: 107 > >$PagePo
Re: server hangs with parallel requests
i had a similar problem after updating my environment to linux/java-1.6.0_6/jetty-6.1.11 it works for me 2008/7/4 Udo Abel <[EMAIL PROTECTED]>: > Hi, > > I have a page with 4 iframes loading 4 different pages from a tapestry 5 > application. > > In 2 of 3 cases, th server hangs and does not return any page. > When I first load 1 page, subsequent loading of the 4-page frame succeeds. > > Is there a possible synchronization problem? > > The stacks of the for page load tasks btpool0-1 to -4 and the system tasks > in eclipse is appended here. > Im using eclipse 3.3.2 woth java 1.6.0_6and jetty 6.1.6. > > Thread [btpool0-0 - Acceptor0 [EMAIL PROTECTED]:8080] > (Suspended) >EPollArrayWrapper.epollWait(long, int, long, int) line: not > available [native method] >EPollArrayWrapper.poll(long) line: 215 >EPollSelectorImpl.doSelect(long) line: 65 >EPollSelectorImpl(SelectorImpl).lockAndDoSelect(long) line: 69 >EPollSelectorImpl(SelectorImpl).select(long) line: 80 >SelectorManager$SelectSet.doSelect() line: 406 >SelectChannelConnector$1(SelectorManager).doSelect(int) line: 166 >SelectChannelConnector.accept(int) line: 124 >AbstractConnector$Acceptor.run() line: 515 >BoundedThreadPool$PoolThread.run() line: 450 > > Daemon Thread [Timer-0] (Suspended) >Object.wait(long) line: not available [native method] >TimerThread.mainLoop() line: 509 [local variables unavailable] >TimerThread.run() line: 462 [local variables unavailable] > > Thread [btpool0-1] (Suspended) > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).checkCerts(String, > CodeSource) line: 751 > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).preDefineClass(String, > ProtectionDomain) line: 487 > > > ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).defineClass(String, > byte[], int, int, ProtectionDomain) line: 614 >GeneratedMethodAccessor3.invoke(Object, Object[]) line: not > available >DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 >Method.invoke(Object, Object...) line: 597 >ClassPool.toClass2(Method, ClassLoader, Object[]) line: 965 >ClassFactoryClassPool(ClassPool).toClass(CtClass, ClassLoader, > ProtectionDomain) line: 947 >CtClassSourceImpl.createClass(CtClass) line: 92 >ClassFabImpl(AbstractFab).createClass() line: 89 >InternalClassTransformationImpl.createInstantiator() line: 1448 >ComponentClassTransformerImpl.createInstantiator(String) line: 181 >$ComponentClassTransformer_11aed3dc4bb.createInstantiator(String) > line: not available >ComponentInstantiatorSourceImpl.findInstantiator(String) line: 240 >$ComponentInstantiatorSource_11aed3dc4ae.findInstantiator(String) > line: not available >PageElementFactoryImpl.newComponentElement(Page, > ComponentPageElement, String, String, String, String, Location) line: 211 >$PageElementFactory_11aed3dc4e5.newComponentElement(Page, > ComponentPageElement, String, String, String, String, Location) line: not > available >PageLoaderProcessor.startComponent(StartComponentToken) line: 656 >PageLoaderProcessor.loadTemplateForComponent(ComponentPageElement) > line: 501 >PageLoaderProcessor.workComponentQueue() line: 808 >PageLoaderProcessor.loadPage(String, String, Locale) line: 393 >PageLoaderImpl.loadPage(String, Locale) line: 59 >$PageLoader_11aed3dc4e3.loadPage(String, Locale) line: not available >PagePoolCache.checkout() line: 210 >PagePoolImpl.checkout(String) line: 107 >$PagePool_11aed3dc4e2.checkout(String) line: not available >RequestPageCacheImpl.get(String) line: 43 >$RequestPageCache_11aed3dc4e1.get(String) line: not available >$RequestPageCache_11aed3dc4d9.get(String) line: not available >RequestSecurityManagerImpl.checkForInsecureRequest(String) line: 59 >$RequestSecurityManager_11aed3dc4d8.checkForInsecureRequest(String) > line: not available >TapestryModule$28.handle(PageRenderRequestParameters, > PageRenderRequestHandler) line: 1670 > > $PageRenderRequestHandler_11aed3dc4dc.handle(PageRenderRequestParameters) > line: not available > > $PageRenderRequestHandler_11aed3dc4d0.handle(PageRenderRequestParameters) > line: not available >PageRenderDispatcher.process(String, String) line: 97 >PageRenderDispatcher.dispatch(Request, Response) line: 73 >$Dispatcher_11aed3dc4d7.dispatch(Request, Response) line: not > available >$Dispatcher_11aed3dc4c9.dispatch(Request, Response) line: not > available >TapestryModule$12.service(Request, Response) line: 938 >LocalizationFilter.service(Request, Response, RequestHandler) line: > 42 >$RequestHandler_11aed3dc4ca.service(Request, Response) line: not > available >TapestryModule$2.service(Request, Respon
server hangs with parallel requests
Hi, I have a page with 4 iframes loading 4 different pages from a tapestry 5 application. In 2 of 3 cases, th server hangs and does not return any page. When I first load 1 page, subsequent loading of the 4-page frame succeeds. Is there a possible synchronization problem? The stacks of the for page load tasks btpool0-1 to -4 and the system tasks in eclipse is appended here. Im using eclipse 3.3.2 woth java 1.6.0_6and jetty 6.1.6. Thread [btpool0-0 - Acceptor0 [EMAIL PROTECTED]:8080] (Suspended) EPollArrayWrapper.epollWait(long, int, long, int) line: not available [native method] EPollArrayWrapper.poll(long) line: 215 EPollSelectorImpl.doSelect(long) line: 65 EPollSelectorImpl(SelectorImpl).lockAndDoSelect(long) line: 69 EPollSelectorImpl(SelectorImpl).select(long) line: 80 SelectorManager$SelectSet.doSelect() line: 406 SelectChannelConnector$1(SelectorManager).doSelect(int) line: 166 SelectChannelConnector.accept(int) line: 124 AbstractConnector$Acceptor.run() line: 515 BoundedThreadPool$PoolThread.run() line: 450 Daemon Thread [Timer-0] (Suspended) Object.wait(long) line: not available [native method] TimerThread.mainLoop() line: 509 [local variables unavailable] TimerThread.run() line: 462 [local variables unavailable] Thread [btpool0-1] (Suspended) ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).checkCerts(String, CodeSource) line: 751 ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).preDefineClass(String, ProtectionDomain) line: 487 ComponentInstantiatorSourceImpl$PackageAwareLoader(ClassLoader).defineClass(String, byte[], int, int, ProtectionDomain) line: 614 GeneratedMethodAccessor3.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 597 ClassPool.toClass2(Method, ClassLoader, Object[]) line: 965 ClassFactoryClassPool(ClassPool).toClass(CtClass, ClassLoader, ProtectionDomain) line: 947 CtClassSourceImpl.createClass(CtClass) line: 92 ClassFabImpl(AbstractFab).createClass() line: 89 InternalClassTransformationImpl.createInstantiator() line: 1448 ComponentClassTransformerImpl.createInstantiator(String) line: 181 $ComponentClassTransformer_11aed3dc4bb.createInstantiator(String) line: not available ComponentInstantiatorSourceImpl.findInstantiator(String) line: 240 $ComponentInstantiatorSource_11aed3dc4ae.findInstantiator(String) line: not available PageElementFactoryImpl.newComponentElement(Page, ComponentPageElement, String, String, String, String, Location) line: 211 $PageElementFactory_11aed3dc4e5.newComponentElement(Page, ComponentPageElement, String, String, String, String, Location) line: not available PageLoaderProcessor.startComponent(StartComponentToken) line: 656 PageLoaderProcessor.loadTemplateForComponent(ComponentPageElement) line: 501 PageLoaderProcessor.workComponentQueue() line: 808 PageLoaderProcessor.loadPage(String, String, Locale) line: 393 PageLoaderImpl.loadPage(String, Locale) line: 59 $PageLoader_11aed3dc4e3.loadPage(String, Locale) line: not available PagePoolCache.checkout() line: 210 PagePoolImpl.checkout(String) line: 107 $PagePool_11aed3dc4e2.checkout(String) line: not available RequestPageCacheImpl.get(String) line: 43 $RequestPageCache_11aed3dc4e1.get(String) line: not available $RequestPageCache_11aed3dc4d9.get(String) line: not available RequestSecurityManagerImpl.checkForInsecureRequest(String) line: 59 $RequestSecurityManager_11aed3dc4d8.checkForInsecureRequest(String) line: not available TapestryModule$28.handle(PageRenderRequestParameters, PageRenderRequestHandler) line: 1670 $PageRenderRequestHandler_11aed3dc4dc.handle(PageRenderRequestParameters) line: not available $PageRenderRequestHandler_11aed3dc4d0.handle(PageRenderRequestParameters) line: not available PageRenderDispatcher.process(String, String) line: 97 PageRenderDispatcher.dispatch(Request, Response) line: 73 $Dispatcher_11aed3dc4d7.dispatch(Request, Response) line: not available $Dispatcher_11aed3dc4c9.dispatch(Request, Response) line: not available TapestryModule$12.service(Request, Response) line: 938 LocalizationFilter.service(Request, Response, RequestHandler) line: 42 $RequestHandler_11aed3dc4ca.service(Request, Response) line: not available TapestryModule$2.service(Request, Resp