users@glassfish.java.net

Re: JRuby + Rails + Glassfish + MySQL - occasional blank pages issue

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 06 Jan 2009 20:20:52 -0500

Salut,

could it be related to the database exception? Were you seeing that
exception with the previous installation?

A+

-- jeanfrancois

glassfish_at_javadesktop.org wrote:
> Hi all
>
> I've recently developed a jruby + mysql web application and deployed on GlassFish v3.0-Prelude (build b28c). The box is running on windows server 2003. Everything worked fine in the development environment and even in production until just a few days ago. We had a power surge and the server had to be replaced. After the replacement (the latter machine is identical wit the former), the application works fine for a while and after a random amount of time it starts throwing blank pages on random requests. Some of the requests (or even the same one if the page Is refreshed) result in proper page and some of the requests result in blank screen. I've tried modifying the heap size to no avail. A Glassfish restart temporarily fixes the problem, but it reappears after a random period of time. Here are some of the exceptions I can see in glassfish log:
>
>
>
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=26;_ThreadName=Thread-4;ClassName=null;MethodName=null;|after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480] consumed: 0 produced: 0 status: BUFFER_UNDERFLOW|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=204 lim=20480 cap=20480]|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINER|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|
> java.lang.Thread.getStackTrace(Unknown Source)
> com.sun.grizzly.util.SSLUtils.unwrap(SSLUtils.java:245)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:427)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:377)
> com.sun.grizzly.filter.SSLReadFilter.doHandshake(SSLReadFilter.java:223)
> com.sun.grizzly.filter.SSLReadFilter.execute(SSLReadFilter.java:154)
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=67 lim=20480 cap=20480] consumed: 137 produced: 0 status: OK|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=67 lim=20480 cap=20480]|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINER|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|
> java.lang.Thread.getStackTrace(Unknown Source)
> com.sun.grizzly.util.SSLUtils.unwrap(SSLUtils.java:245)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:427)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:377)
> com.sun.grizzly.filter.SSLReadFilter.doHandshake(SSLReadFilter.java:223)
> com.sun.grizzly.filter.SSLReadFilter.execute(SSLReadFilter.java:154)
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=61 lim=20480 cap=20480] consumed: 6 produced: 0 status: OK|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=61 lim=20480 cap=20480]|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINER|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|
> java.lang.Thread.getStackTrace(Unknown Source)
> com.sun.grizzly.util.SSLUtils.unwrap(SSLUtils.java:245)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:427)
> com.sun.grizzly.util.SSLUtils.doHandshake(SSLUtils.java:377)
> com.sun.grizzly.filter.SSLReadFilter.doHandshake(SSLReadFilter.java:223)
> com.sun.grizzly.filter.SSLReadFilter.execute(SSLReadFilter.java:154)
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)|#]
>
> [#|2008-12-29T22:14:39.343+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|after unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480] consumed: 61 produced: 0 status: OK|#]
>
> [#|2008-12-29T22:14:39.359+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|SSLReadFilter. Read: 0 Calling unwrapAll. InputBB: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480] byteBuffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660]|#]
>
> [#|2008-12-29T22:14:39.359+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=36;_ThreadName=Thread-4;ClassName=null;MethodName=null;|start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480]|#]
>
>
>
>
> [#|2008-12-29T22:30:32.609+0100|FINER|glassfish|null|_ThreadID=27;_ThreadName=Thread-4;ClassName=null;MethodName=null;|Received something on /web_prospect/images/mButton.gif|#]
>
> [#|2008-12-29T22:30:32.609+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=27;_ThreadName=Thread-4;ClassName=null;MethodName=null;|returnContext() Context : com.sun.grizzly.Context_at_1d4461c|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|start unwrap. buffer: java.nio.HeapByteBuffer[pos=0 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=480 lim=20480 cap=20480]|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINER|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|
> java.lang.Thread.getStackTrace(Unknown Source)
> com.sun.grizzly.util.SSLUtils.unwrap(SSLUtils.java:245)
> com.sun.grizzly.util.SSLUtils.unwrapAll(SSLUtils.java:192)
> com.sun.grizzly.util.SSLUtils.doSecureRead(SSLUtils.java:114)
> com.sun.grizzly.util.InputReader.doSecureRead(InputReader.java:273)
> com.sun.grizzly.util.InputReader.doRead(InputReader.java:256)
> com.sun.grizzly.util.InputReader.read(InputReader.java:188)
> com.sun.grizzly.tcp.http11.InternalInputBuffer.fill(InternalInputBuffer.java:760)
> com.sun.grizzly.tcp.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:406)
> com.sun.grizzly.http.DefaultProcessorTask.parseRequest(DefaultProcessorTask.java:676)
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|after unwrap. buffer: java.nio.HeapByteBuffer[pos=459 lim=16660 cap=16660] secured: java.nio.HeapByteBuffer[pos=0 lim=20480 cap=20480] consumed: 480 produced: 459 status: OK|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINER|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|GET /web_prospect/terminals/topup?amount=100&phone=071868071 HTTP/1.1
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
> Referer: https://195.26.147.195/web_prospect
> Accept-Language: en-us
> Accept-Encoding: gzip, deflate
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
> Host: 195.26.147.195
> Connection: Keep-Alive
> Cookie: _prospect_on_rails_02_session=7eecaa5b041146fc8676336e8aa16bbf
>
> |#]
>
> [#|2008-12-29T22:30:32.718+0100|FINE|glassfish|grizzly|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|Request: /web_prospect/terminals/topup was mapped to Adapter: com.sun.enterprise.v3.services.impl.VirtualHostMapper_at_3ea5b2|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINER|glassfish|global|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|Received something on /web_prospect/terminals/topup|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINER|glassfish|null|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|Received something on /web_prospect/terminals/topup|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|File C:\web_prospect\public\terminals\topup not found.|#]
>
> [#|2008-12-29T22:30:32.718+0100|FINE|glassfish|javax.enterprise.system.core|_ThreadID=24;_ThreadName=Thread-4;ClassName=null;MethodName=null;|Recieved new object from the DynamicPool in 0ms.12/12 active Objects (11 idle, 1 active)|#]
>
>
>
>
>
> Here you can see a line with something like:
> C:\web_prospect\public\terminals\topup not found
>
> Where topup is a dynamic page and not a static one in the public folder. Why is the VirtualHostMapper looking for it in the public folder?!?!
>
>
>
> [#|2008-12-25T15:34:48.375+0100|INFO|glassfish|javax.enterprise.system.core|_ThreadID=15;_ThreadName=Thread-3;|New instance created in 5.141 milliseconds|#]
>
> [#|2008-12-25T15:34:53.015+0100|INFO|glassfish|javax.enterprise.system.core|_ThreadID=15;_ThreadName=Thread-3;|New instance created in 4.640 milliseconds|#]
>
> [#|2008-12-25T15:34:53.015+0100|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|Loading Rails application web_prospect at /web_prospect|#]
>
> [#|2008-12-25T15:34:53.015+0100|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|Loading web_prospect Application done is 22687 ms|#]
>
> [#|2008-12-25T15:34:53.031+0100|INFO|glassfish|javax.enterprise.system.core|_ThreadID=12;_ThreadName=Thread-3;|GlassFish v3 Prelude startup time : Felix(828ms) startup services(23250ms) total(24078ms)|#]
>
> [#|2008-12-25T15:34:53.062+0100|INFO|glassfish|org.jvnet.hk2.osgiadapter|_ThreadID=11;_ThreadName=Thread-3;org.glassfish.web.DirContextURLStreamHandlerService_at_12175f2;org.osgi.service.url.URLStreamHandlerService;|registering service = org.glassfish.web.DirContextURLStreamHandlerService_at_12175f2, contract = org.osgi.service.url.URLStreamHandlerService, name = null|#]
>
> [#|2008-12-25T18:26:34.562+0100|SEVERE|glassfish|javax.enterprise.system.core|_ThreadID=16;_ThreadName=Thread-3;|service exception
> java.sql.SQLException: Can't call commit when autocommit=true
> at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:930)
> at com.mysql.jdbc.ConnectionImpl.commit(ConnectionImpl.java:1535)
> at jdbc_adapter.JdbcAdapterInternalService.commit(JdbcAdapterInternalService.java:403)
> at jdbc_adapter.JdbcAdapterInternalService$s_method_0_0$RUBYINVOKER$commit.call(jdbc_adapter/JdbcAdapterInternalService$s_method_0_0$RUBYINVOKER$commit.gen)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_0_dot_9.lib.jdbc_adapter.jdbc_mysql.commit_db_transaction31766274_1369086.rescue_1$RUBY$__rescue__(jdbc_mysql.rb:108)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_jdbc_minus_adapter_minus_0_dot_9.lib.jdbc_adapter.jdbc_mysql.commit_db_transaction31766274_1369086.__file__(jdbc_mysql.rb)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.connection_adapters.abstract.database_statements.transaction21497345_1369086.rescue_2$RUBY$__rescue__(database_statements.rb:78)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.connection_adapters.abstract.database_statements.transaction21497345_1369086.ensure_1$RUBY$__ensure__(database_statements.rb:77)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.connection_adapters.abstract.database_statements.transaction21497345_1369086.__file__(database_statements.rb)
> at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:28)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:265)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:403)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.transaction12209915_1369086.ensure_1$RUBY$__ensure__(transactions.rb:79)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.transaction12209915_1369086.__file__(transactions.rb:78)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:144)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:355)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.transaction4757247_1369086.__file__(transactions.rb:98)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.save_with_transactions20802507_1369086.block_0$RUBY$__block__(transactions.rb:106)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.save_with_transactions20802507_1369086BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)
> at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:120)
> at org.jruby.runtime.Block.yield(Block.java:110)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.rollback_active_record_state_b_8850149_1369086.rescue_1$RUBY$__rescue__(transactions.rb:118)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.rollback_active_record_state_b_8850149_1369086.__file__(transactions.rb)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.transactions.save_with_transactions20802507_1369086.__file__(transactions.rb:106)
> at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:24)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session.active_record_store.update2368744_14783084.block_0$RUBY$__block__(active_record_store.rb:314)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session.active_record_store.update2368744_14783084BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)
> at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:120)
> at org.jruby.runtime.Block.yield(Block.java:110)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.base.silence27747730_1530402.ensure_1$RUBY$__ensure__(base.rb:1267)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.activerecord_minus_2_dot_1_dot_2.lib.active_record.base.silence27747730_1530402.__file__(base.rb)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:223)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session.active_record_store.update2368744_14783084.__file__(active_record_store.rb:314)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session.active_record_store.close20562527_14783084.__file__(active_record_store.rb:321)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.$1_dot_8.cgi.session.close10664943_14783084.__file__(session.rb:324)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.base.close_session4790834_14783084.__file__(base.rb:1235)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:132)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:343)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.base.process_cleanup24046166_14783084.__file__(base.rb:1271)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:132)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:343)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session_management.process_cleanup_with_session_management_support14349686_14783084.__file__(session_management.rb:140)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:132)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:343)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.components.process_cleanup_with_components24117482_14783084.__file__(components.rb:162)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:60)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:132)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:343)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.base.process1948572_14783084.ensure_1$RUBY$__ensure__(base.rb:537)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.base.process1948572_14783084.__file__(base.rb)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:181)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:76)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:120)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:292)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.filters.process_with_filters528714_14783084.__file__(filters.rb:568)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:181)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:76)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:76)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:120)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:292)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.session_management.process_with_session_management_support23788451_14783084.__file__(session_management.rb:130)
> at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:32)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:286)
> at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:68)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:180)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:445)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.base.process14850983_14783084.__file__(base.rb:389)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:286)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:180)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:445)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.handle_request6858847_14783084.__file__(dispatcher.rb:149)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch13385024_14783084.rescue_1$RUBY$__rescue__(dispatcher.rb:107)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch13385024_14783084.ensure_1$RUBY$__ensure__(dispatcher.rb)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch13385024_14783084.block_0$RUBY$__block__(dispatcher.rb:105)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch13385024_14783084BlockCallback$block_0$RUBY$__block__xx1.call(Unknown Source)
> at org.jruby.runtime.CompiledBlock.yield(CompiledBlock.java:100)
> at org.jruby.runtime.Block.yield(Block.java:105)
> at org.jruby.libraries.ThreadLibrary$Mutex.synchronize(ThreadLibrary.java:159)
> at org.jruby.libraries.ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize.call(org/jruby/libraries/ThreadLibrary$Mutex$i_method_0_0$RUBYINVOKER$synchronize.gen)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.callIter(CallSite.java:371)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch13385024_14783084.__file__(dispatcher.rb:104)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch_cgi16869280_14783084.rescue_1$RUBY$__rescue__(dispatcher.rb:120)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch_cgi16869280_14783084.__file__(dispatcher.rb)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:286)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:442)
> at ruby.jit.ruby.C_3a_.jruby_minus_1_dot_1_dot_4.lib.ruby.gems.$1_dot_8.gems.actionpack_minus_2_dot_1_dot_2.lib.action_controller.dispatcher.dispatch1520126_14783084.__file__(dispatcher.rb:35)
> at org.jruby.ast.executable.AbstractScript.__file__(AbstractScript.java:24)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:202)
> at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:340)
> at ruby.jit.ruby.C_3a_.glassfishv3_minus_prelude.$_lt_script_gt_.service11100592_14783084.__file__(<script>:63)
> at ruby.jit.ruby.C_3a_.glassfishv3_minus_prelude.$_lt_script_gt_.service11100592_14783084.__file__(<script>)
> at org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:181)
> at org.jruby.RubyClass.finvoke(RubyClass.java:439)
> at org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:351)
> at org.jruby.RubyObject.callMethod(RubyObject.java:708)
> at org.jruby.javasupport.JavaEmbedUtils.invokeMethod(JavaEmbedUtils.java:194)
> at com.sun.grizzly.jruby.RailsAdapter.dispatchRailsRequest(RailsAdapter.java:344)
> at com.sun.grizzly.jruby.RailsAdapter.service(RailsAdapter.java:280)
> at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:147)
> at org.glassfish.scripting.rails.RailsApplication.service(RailsApplication.java:165)
> at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
> at com.sun.enterprise.v3.services.impl.VsAdapter.service(VsAdapter.java:136)
> at com.sun.enterprise.v3.services.impl.VirtualHostMapper.service(VirtualHostMapper.java:121)
> at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180)
> at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633)
> at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570)
> at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827)
> at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
> at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
> at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
> at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
> |#]
>
>
>
>
>
> I would appreciate a quick response from anyone.
> Thanks for all the help.
> [Message sent by forum member 'mileoresko' (mileoresko)]
>
> http://forums.java.net/jive/thread.jspa?messageID=323607
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>