Riccardo Cohen wrote:
> I found no problem running the same resin/eclipselink and the same 
> application on macosx. jvm log (fine) says nothing special except at one 
> moment I had thousands lines of stack trace starting with
>   
As a workaround, please disable the cache by removing the <cache/> item 
from resin.xml.

It looks like a recursion problem inside the cache.

-- Scott

> [10-12-30 16:19:40.681] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.681] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.681] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.682] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.682] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.682] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> [10-12-30 16:19:40.682] {http://*:80-5} using cache: 
> /adl/js/mootools-1.2.1-core.js from 
> ProxyCacheRequest[HttpServletRequestImpl[HttpRequest[my1, 5]]]
> java.lang.Exception: Stack trace
>       at java.lang.Thread.dumpStack(Thread.java:1206)
>       at com.caucho.db.block.Block.allocate(Block.java:204)
>       at com.caucho.db.block.BlockManager.getBlock(BlockManager.java:245)
>       at com.caucho.db.block.BlockStore.readBlock(BlockStore.java:479)
>       at com.caucho.db.block.BlockStore.readBlock(BlockStore.java:915)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:113)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:86)
>       at 
> com.caucho.server.cache.ProxyCacheFilterChain.fillFromCache(ProxyCacheFilterChain.java:504)
>       at 
> com.caucho.server.cache.ProxyCacheResponse.writeHeaders(ProxyCacheResponse.java:155)
>       at 
> com.caucho.server.http.ResponseStream.writeHeaders(ResponseStream.java:279)
>       at 
> com.caucho.server.http.HttpResponseStream.writeHeaders(HttpResponseStream.java:82)
>       at 
> com.caucho.server.http.ToByteResponseStream.write(ToByteResponseStream.java:337)
>       at com.caucho.db.block.BlockStore.readBlock(BlockStore.java:924)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:113)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:86)
>       at 
> com.caucho.server.cache.ProxyCacheFilterChain.fillFromCache(ProxyCacheFilterChain.java:504)
>       at 
> com.caucho.server.cache.ProxyCacheResponse.writeHeaders(ProxyCacheResponse.java:155)
>       at 
> com.caucho.server.http.ResponseStream.writeHeaders(ResponseStream.java:279)
>       at 
> com.caucho.server.http.HttpResponseStream.writeHeaders(HttpResponseStream.java:82)
>       at 
> com.caucho.server.http.ToByteResponseStream.write(ToByteResponseStream.java:337)
>       at com.caucho.db.block.BlockStore.readBlock(BlockStore.java:924)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:113)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:86)
>       at 
> com.caucho.server.cache.ProxyCacheFilterChain.fillFromCache(ProxyCacheFilterChain.java:504)
>       at 
> com.caucho.server.cache.ProxyCacheResponse.writeHeaders(ProxyCacheResponse.java:155)
>       at 
> com.caucho.server.http.ResponseStream.writeHeaders(ResponseStream.java:279)
>       at 
> com.caucho.server.http.HttpResponseStream.writeHeaders(HttpResponseStream.java:82)
>       at 
> com.caucho.server.http.ToByteResponseStream.write(ToByteResponseStream.java:337)
>       at com.caucho.db.block.BlockStore.readBlock(BlockStore.java:924)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:113)
>       at 
> com.caucho.server.cache.ProxyCacheInode.writeToStream(ProxyCacheInode.java:86)
>       at 
> com.caucho.server.cache.ProxyCacheFilterChain.fillFromCache(ProxyCacheFilterChain.java:504)
>       at 
> com.caucho.server.cache.ProxyCacheResponse.writeHeaders(ProxyCacheResponse.java:155)
>       at 
> com.caucho.server.http.ResponseStream.writeHeaders(ResponseStream.java:279)
>       at 
> com.caucho.server.http.HttpResponseStream.writeHeaders(HttpResponseStream.java:82)
>       at 
> com.caucho.server.http.ToByteResponseStream.write(ToByteResponseStream.java:337)
>
> during several minutes, ending with a restart...
> This seems to be the cause of the restart
> Thanks for your help
>
>
>
>
> On 30/12/10 10:54, Riccardo Cohen wrote:
>   
>> Hello
>> I've just installed 4.0.13 on linux debian x86 and the application seems
>> to work all right
>>
>> I don't understand why every 10 or 20 minutes, the server restarts
>> alone, with no particular reason (it seems to be in period of no
>> activity at all)
>>
>> with version 4.0.10 it did not have this problem.
>> Thanks for any help
>>
>>
>>     
>
>   



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to