tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Woolley" <woob...@gmail.com>
Subject Re: Deadlock in 5.0.17
Date Wed, 03 Dec 2008 15:44:47 GMT
If only I could... my development box is a ppc mac which doesn't have a 1.6
jvm.  I can upgrade it on the deployment server, but Tapestry does support
1.5 so upgrading probably isn't the final solution.Steve

On Wed, Dec 3, 2008 at 4:47 AM, Andy Pahne <andy.pahne@googlemail.com>wrote:

>
> Please update your Java to at least 1.6.10 and then try to reproduce. I
> think, that this will solve your problem.
>
> Andy
>
> Steven Woolley schrieb:
>
>  I was seeing a deadlock pretty frequently with 5.0.11 took the plunge to
>> finally upgrade to 5.0.17 and lo and behold:  deadlock!
>>
>>
>> Let me know what else you need! (this is on a macbook pro):
>>
>>
>> java version "1.5.0_16"
>>
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
>>
>> Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
>>
>> Steve
>>
>>
>> Found one Java-level deadlock:
>>
>> =============================
>>
>> "SocketListener0-2":
>>
>>  waiting to lock monitor 0x00818100 (object 0x0a38e190, a
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader),
>>
>>  which is held by "SocketListener0-1"
>>
>> "SocketListener0-1":
>>
>>  waiting to lock monitor 0x00818028 (object 0x0e52d558, a
>> java.lang.String),
>>
>>  which is held by "SocketListener0-2"
>>
>>
>> Java stack information for the threads listed above:
>>
>> ===================================================
>>
>> "SocketListener0-2":
>>
>> at java.lang.ClassLoader.getDefaultDomain(ClassLoader.java:1638)
>>
>> - waiting to lock <0x0a38e190> (a
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader)
>>
>> at java.lang.ClassLoader.preDefineClass(ClassLoader.java:538)
>>
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:669)
>>
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:520)
>>
>> at javassist.Loader.findClass(Loader.java:379)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader.findClass(
>> ComponentInstantiatorSourceImpl.java:92)
>>
>> at javassist.Loader.loadClass(Loader.java:311)
>>
>> - locked <0x0e52d558> (a java.lang.String)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findClass(
>> ComponentInstantiatorSourceImpl.java:292)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl.findInstantiator(
>> ComponentInstantiatorSourceImpl.java:272)
>>
>> - locked <0x066253e8> (a
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl)
>>
>> at
>>
>> $ComponentInstantiatorSource_11dfbc0c2a7.findInstantiator($ComponentInstantiatorSource_11dfbc0c2a7.java)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PageElementFactoryImpl.newRootComponentElement(
>> PageElementFactoryImpl.java:262)
>>
>> at
>>
>> $PageElementFactory_11dfbc0c2e1.newRootComponentElement($PageElementFactory_11dfbc0c2e1.java)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PageLoaderProcessor.loadRootComponent(
>> PageLoaderProcessor.java:412)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(
>> PageLoaderProcessor.java:390)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(
>> PageLoaderImpl.java:59)
>>
>> at $PageLoader_11dfbc0c2df.loadPage($PageLoader_11dfbc0c2df.java)
>>
>> at org.apache.tapestry5.internal.services.PagePoolCache.checkout(
>> PagePoolCache.java:210)
>>
>> at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(
>> PagePoolImpl.java:99)
>>
>> at $PagePool_11dfbc0c2de.checkout($PagePool_11dfbc0c2de.java)
>>
>> at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(
>> RequestPageCacheImpl.java:51)
>>
>> at $RequestPageCache_11dfbc0c2dd.get($RequestPageCache_11dfbc0c2dd.java)
>>
>> at $RequestPageCache_11dfbc0c2d5.get($RequestPageCache_11dfbc0c2d5.java)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.RequestSecurityManagerImpl.checkForInsecureRequest(
>> RequestSecurityManagerImpl.java:59)
>>
>> at
>>
>> $RequestSecurityManager_11dfbc0c2d4.checkForInsecureRequest($RequestSecurityManager_11dfbc0c2d4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$35.handle(
>> TapestryModule.java:1771)
>>
>> at
>>
>> $PageRenderRequestHandler_11dfbc0c2d8.handle($PageRenderRequestHandler_11dfbc0c2d8.java)
>>
>> at
>>
>> $PageRenderRequestHandler_11dfbc0c2cb.handle($PageRenderRequestHandler_11dfbc0c2cb.java)
>>
>> at org.apache.tapestry5.internal.services.PageRenderDispatcher.process(
>> PageRenderDispatcher.java:92)
>>
>> at org.apache.tapestry5.internal.services.PageRenderDispatcher.dispatch(
>> PageRenderDispatcher.java:71)
>>
>> at $Dispatcher_11dfbc0c2d1.dispatch($Dispatcher_11dfbc0c2d1.java)
>>
>> at $Dispatcher_11dfbc0c2c3.dispatch($Dispatcher_11dfbc0c2c3.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$17.service(
>> TapestryModule.java:1029)
>>
>> at org.apache.tapestry5.internal.services.LocalizationFilter.service(
>> LocalizationFilter.java:42)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.RequestErrorFilter.service(
>> RequestErrorFilter.java:26)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$3.service(
>> TapestryModule.java:621)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$2.service(
>> TapestryModule.java:611)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.StaticFilesFilter.service(
>> StaticFilesFilter.java:85)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at edu.wustl.wooo.ooTunes.services.impl.AuthenticationFilter.service(
>> AuthenticationFilter.java:83)
>>
>> at $RequestFilter_11dfbc0c2bf.service($RequestFilter_11dfbc0c2bf.java)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(
>> CheckForUpdatesFilter.java:93)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(
>> CheckForUpdatesFilter.java:84)
>>
>> at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(
>> ConcurrentBarrier.java:83)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(
>> CheckForUpdatesFilter.java:106)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at $RequestHandler_11dfbc0c2ba.service($RequestHandler_11dfbc0c2ba.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$16.service(
>> TapestryModule.java:1007)
>>
>> at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(
>> IgnoredPathsFilter.java:62)
>>
>> at
>>
>> $HttpServletRequestFilter_11dfbc0c2b9.service($HttpServletRequestFilter_11dfbc0c2b9.java)
>>
>> at
>>
>> $HttpServletRequestHandler_11dfbc0c2bb.service($HttpServletRequestHandler_11dfbc0c2bb.java)
>>
>> at
>>
>> $HttpServletRequestHandler_11dfbc0c2b8.service($HttpServletRequestHandler_11dfbc0c2b8.java)
>>
>> at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:179)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(
>> CompressingFilter.java:222)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at edu.wustl.wooo.ooTunes.server.SessionTrackingFilter.doFilter(
>> SessionTrackingFilter.java:139)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
>> WebApplicationHandler.java:471)
>>
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>>
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>>
>> at org.mortbay.jetty.servlet.WebApplicationContext.handle(
>> WebApplicationContext.java:633)
>>
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>>
>> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>>
>> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>>
>> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>>
>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>>
>> at
>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>>
>> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>>
>> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>>
>> "SocketListener0-1":
>>
>> at javassist.Loader.loadClass(Loader.java:306)
>>
>> - waiting to lock <0x0e52d558> (a java.lang.String)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
>>
>> - locked <0x0a38e190> (a
>>
>> org.apache.tapestry5.internal.services.ComponentInstantiatorSourceImpl$PackageAwareLoader)
>>
>> at java.lang.Class.getDeclaredMethods0(Native Method)
>>
>> at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
>>
>> at java.lang.Class.getDeclaredMethods(Class.java:1763)
>>
>> at java.beans.Introspector$1.run(Introspector.java:1265)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>>
>> at
>> java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1263)
>>
>> - locked <0x0d7e3540> (a java.lang.Class)
>>
>> at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1129)
>>
>> at java.beans.Introspector.getBeanInfo(Introspector.java:387)
>>
>> at java.beans.Introspector.getBeanInfo(Introspector.java:159)
>>
>> at
>>
>> org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl.buildAdapter(
>> PropertyAccessImpl.java:84)
>>
>> - locked <0x08e86b68> (a
>> org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl)
>>
>> at
>> org.apache.tapestry5.ioc.internal.services.PropertyAccessImpl.getAdapter(
>> PropertyAccessImpl.java:65)
>>
>> at
>> $PropertyAccess_11dfbc0c2a8.getAdapter($PropertyAccess_11dfbc0c2a8.java)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.infoForTerm(
>> PropertyConduitSourceImpl.java:401)
>>
>> at org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.build(
>> PropertyConduitSourceImpl.java:160)
>>
>> at
>> org.apache.tapestry5.internal.services.PropertyConduitSourceImpl.create(
>> PropertyConduitSourceImpl.java:102)
>>
>> at
>>
>> $PropertyConduitSource_11dfbc0c2ff.create($PropertyConduitSource_11dfbc0c2ff.java)
>>
>> at org.apache.tapestry5.internal.bindings.PropBindingFactory.newBinding(
>> PropBindingFactory.java:45)
>>
>> at
>> $BindingFactory_11dfbc0c300.newBinding($BindingFactory_11dfbc0c300.java)
>>
>> at
>> $BindingFactory_11dfbc0c2f9.newBinding($BindingFactory_11dfbc0c2f9.java)
>>
>> at org.apache.tapestry5.internal.services.BindingSourceImpl.newBinding(
>> BindingSourceImpl.java:78)
>>
>> at $BindingSource_11dfbc0c2e7.newBinding($BindingSource_11dfbc0c2e7.java)
>>
>> at
>> org.apache.tapestry5.internal.services.PageElementFactoryImpl.newBinding(
>> PageElementFactoryImpl.java:309)
>>
>> at
>>
>> $PageElementFactory_11dfbc0c2e1.newBinding($PageElementFactory_11dfbc0c2e1.java)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderProcessor.findBinding(
>> PageLoaderProcessor.java:261)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PageLoaderProcessor.bindParameterFromTemplate(
>> PageLoaderProcessor.java:167)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderProcessor.attribute(
>> PageLoaderProcessor.java:296)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PageLoaderProcessor.loadTemplateForComponent(
>> PageLoaderProcessor.java:503)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.PageLoaderProcessor.workComponentQueue(
>> PageLoaderProcessor.java:834)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderProcessor.loadPage(
>> PageLoaderProcessor.java:392)
>>
>> at org.apache.tapestry5.internal.services.PageLoaderImpl.loadPage(
>> PageLoaderImpl.java:59)
>>
>> at $PageLoader_11dfbc0c2df.loadPage($PageLoader_11dfbc0c2df.java)
>>
>> at org.apache.tapestry5.internal.services.PagePoolCache.checkout(
>> PagePoolCache.java:210)
>>
>> at org.apache.tapestry5.internal.services.PagePoolImpl.checkout(
>> PagePoolImpl.java:99)
>>
>> at $PagePool_11dfbc0c2de.checkout($PagePool_11dfbc0c2de.java)
>>
>> at org.apache.tapestry5.internal.services.RequestPageCacheImpl.get(
>> RequestPageCacheImpl.java:51)
>>
>> at $RequestPageCache_11dfbc0c2dd.get($RequestPageCache_11dfbc0c2dd.java)
>>
>> at $RequestPageCache_11dfbc0c2d5.get($RequestPageCache_11dfbc0c2d5.java)
>>
>> at
>>
>> org.apache.tapestry5.internal.services.RequestSecurityManagerImpl.checkForInsecureRequest(
>> RequestSecurityManagerImpl.java:59)
>>
>> at
>>
>> $RequestSecurityManager_11dfbc0c2d4.checkForInsecureRequest($RequestSecurityManager_11dfbc0c2d4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$44.handle(
>> TapestryModule.java:2097)
>>
>> at
>>
>> $ComponentEventRequestHandler_11dfbc0c337.handle($ComponentEventRequestHandler_11dfbc0c337.java)
>>
>> at
>>
>> $ComponentEventRequestHandler_11dfbc0c2cf.handle($ComponentEventRequestHandler_11dfbc0c2cf.java)
>>
>> at
>> org.apache.tapestry5.internal.services.ComponentEventDispatcher.dispatch(
>> ComponentEventDispatcher.java:127)
>>
>> at $Dispatcher_11dfbc0c2d1.dispatch($Dispatcher_11dfbc0c2d1.java)
>>
>> at $Dispatcher_11dfbc0c2c3.dispatch($Dispatcher_11dfbc0c2c3.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$17.service(
>> TapestryModule.java:1029)
>>
>> at org.apache.tapestry5.internal.services.LocalizationFilter.service(
>> LocalizationFilter.java:42)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.RequestErrorFilter.service(
>> RequestErrorFilter.java:26)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$3.service(
>> TapestryModule.java:621)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$2.service(
>> TapestryModule.java:611)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.StaticFilesFilter.service(
>> StaticFilesFilter.java:85)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at edu.wustl.wooo.ooTunes.services.impl.AuthenticationFilter.service(
>> AuthenticationFilter.java:83)
>>
>> at $RequestFilter_11dfbc0c2bf.service($RequestFilter_11dfbc0c2bf.java)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(
>> CheckForUpdatesFilter.java:93)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(
>> CheckForUpdatesFilter.java:84)
>>
>> at org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(
>> ConcurrentBarrier.java:83)
>>
>> at org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(
>> CheckForUpdatesFilter.java:106)
>>
>> at $RequestHandler_11dfbc0c2c4.service($RequestHandler_11dfbc0c2c4.java)
>>
>> at $RequestHandler_11dfbc0c2ba.service($RequestHandler_11dfbc0c2ba.java)
>>
>> at org.apache.tapestry5.services.TapestryModule$16.service(
>> TapestryModule.java:1007)
>>
>> at org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(
>> IgnoredPathsFilter.java:62)
>>
>> at
>>
>> $HttpServletRequestFilter_11dfbc0c2b9.service($HttpServletRequestFilter_11dfbc0c2b9.java)
>>
>> at
>>
>> $HttpServletRequestHandler_11dfbc0c2bb.service($HttpServletRequestHandler_11dfbc0c2bb.java)
>>
>> at
>>
>> $HttpServletRequestHandler_11dfbc0c2b8.service($HttpServletRequestHandler_11dfbc0c2b8.java)
>>
>> at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:179)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(
>> CompressingFilter.java:222)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at edu.wustl.wooo.ooTunes.server.SessionTrackingFilter.doFilter(
>> SessionTrackingFilter.java:139)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
>> WebApplicationHandler.java:821)
>>
>> at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(
>> WebApplicationHandler.java:471)
>>
>> at
>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
>>
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
>>
>> at org.mortbay.jetty.servlet.WebApplicationContext.handle(
>> WebApplicationContext.java:633)
>>
>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
>>
>> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
>>
>> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
>>
>> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
>>
>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
>>
>> at
>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>>
>> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>>
>> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
>>
>>
>> Found 1 deadlock.
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message