Websphere running on AIX hangs when an RJS call is made.
--------------------------------------------------------

                 Key: JRUBY-2271
                 URL: http://jira.codehaus.org/browse/JRUBY-2271
             Project: JRuby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: JRuby 1.1RC2
         Environment: AIX 5.3, Websphere 6.0, JRuby 1.1RC2, Rails 1.2.5, 
Goldspike1.5
            Reporter: Bassel


When ever we make a call that uses RJS it hangs websphere.  We tried with a 
simple application that just makes a call that returns the time.  If we up the 
jruby.pool.maxActive, jruby.pool.minIdle, jruby.pool.initialSize we can 
successfully complete the request a few time without hanging, but it hangs 
shortly after.   Otherwise, if we choose the defaults in web.xml, it hangs on 
the first try.  This does not happen with the same application Windows XP 
(running on websphere 6.1).   We get the following exception before we hang...

[3/13/08 17:14:43:708 CDT] 0000002b ServletWrappe E   SRVE0068E: Could not 
invoke the service() method on servlet rails. Exception thrown : 
java.lang.IllegalAccessError: 
com/ibm/ws/tcp/channel/impl/SimpleSync.simpleWait()V
        at 
com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadRequestContextImpl.java:94)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4128)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readSingleBlock(HttpServiceContextImpl.java:3376)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffer(HttpServiceContextImpl.java:3494)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1718)
        at 
com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.bufferIsGood(WCCByteBufferInputStream.java:100)
        at 
com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.read(WCCByteBufferInputStream.java:73)
        at 
com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:286)
        at 
java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:210)
        at org.jruby.util.io.ChannelStream.bufferedRead(ChannelStream.java:553)
        at org.jruby.util.io.ChannelStream.fread(ChannelStream.java:734)
        at org.jruby.RubyIO.read(RubyIO.java:2039)
        at org.jruby.RubyIOInvoker$read_method_0_2.call(Unknown Source)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:298)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.orNode(ASTInterpreter.java:1455)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:439)
        at 
org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1256)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:387)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at org.jruby.evaluator.ASTInterpreter.caseNode(ASTInterpreter.java:729)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:310)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at 
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:649)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at 
org.jruby.evaluator.ASTInterpreter.instAsgnNode(ASTInterpreter.java:1236)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:381)
        at 
org.jruby.evaluator.ASTInterpreter.opAsgnOrNode(ASTInterpreter.java:1415)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:435)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at org.jruby.RubyClass.invoke(RubyClass.java:239)
        at 
org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:326)
        at org.jruby.RubyObject.callMethod(RubyObject.java:475)
        at org.jruby.RubyClass.newInstance(RubyClass.java:261)
        at org.jruby.webapp.RailsServlet.createCgi(RailsServlet.java:120)
        at org.jruby.webapp.RailsServlet.dispatchRequest(RailsServlet.java:100)
        at org.jruby.webapp.RailsServlet.service(RailsServlet.java:46)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334)
        at org.jruby.webapp.FileServlet.service(FileServlet.java:207)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:98)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[3/13/08 17:14:43:799 CDT] 0000002b ServletWrappe E   SRVE0068E: Could not 
invoke the service() method on servlet files. Exception thrown : 
javax.servlet.ServletException: 
com/ibm/ws/tcp/channel/impl/SimpleSync.simpleWait()V
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1655)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334)
        at org.jruby.webapp.FileServlet.service(FileServlet.java:207)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:98)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
---- Begin backtrace for Nested Throwables
java.lang.IllegalAccessError: 
com/ibm/ws/tcp/channel/impl/SimpleSync.simpleWait()V
        at 
com.ibm.ws.tcp.channel.impl.TCPReadRequestContextImpl.read(TCPReadRequestContextImpl.java:94)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.fillABuffer(HttpServiceContextImpl.java:4128)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readSingleBlock(HttpServiceContextImpl.java:3376)
        at 
com.ibm.ws.http.channel.impl.HttpServiceContextImpl.readBodyBuffer(HttpServiceContextImpl.java:3494)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.getRequestBodyBuffer(HttpInboundServiceContextImpl.java:1718)
        at 
com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.bufferIsGood(WCCByteBufferInputStream.java:100)
        at 
com.ibm.ws.webcontainer.channel.WCCByteBufferInputStream.read(WCCByteBufferInputStream.java:73)
        at 
com.ibm.ws.webcontainer.srt.http.HttpInputStream.read(HttpInputStream.java:286)
        at 
java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:210)
        at org.jruby.util.io.ChannelStream.bufferedRead(ChannelStream.java:553)
        at org.jruby.util.io.ChannelStream.fread(ChannelStream.java:734)
        at org.jruby.RubyIO.read(RubyIO.java:2039)
        at org.jruby.RubyIOInvoker$read_method_0_2.call(Unknown Source)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:298)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:657)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at org.jruby.evaluator.ASTInterpreter.orNode(ASTInterpreter.java:1455)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:439)
        at 
org.jruby.evaluator.ASTInterpreter.localAsgnNode(ASTInterpreter.java:1256)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:387)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at org.jruby.evaluator.ASTInterpreter.caseNode(ASTInterpreter.java:729)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:310)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at 
org.jruby.evaluator.ASTInterpreter.setupArgs(ASTInterpreter.java:2155)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:649)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:308)
        at 
org.jruby.evaluator.ASTInterpreter.instAsgnNode(ASTInterpreter.java:1236)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:381)
        at 
org.jruby.evaluator.ASTInterpreter.opAsgnOrNode(ASTInterpreter.java:1415)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:435)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:66)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.cacheAndCall(CallSite.java:166)
        at 
org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:301)
        at 
org.jruby.evaluator.ASTInterpreter.fCallNode(ASTInterpreter.java:1100)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:354)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:631)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:302)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:168)
        at 
org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:176)
        at org.jruby.RubyClass.invoke(RubyClass.java:239)
        at 
org.jruby.javasupport.util.RuntimeHelpers.invoke(RuntimeHelpers.java:326)
        at org.jruby.RubyObject.callMethod(RubyObject.java:475)
        at org.jruby.RubyClass.newInstance(RubyClass.java:261)
        at org.jruby.webapp.RailsServlet.createCgi(RailsServlet.java:120)
        at org.jruby.webapp.RailsServlet.dispatchRequest(RailsServlet.java:100)
        at org.jruby.webapp.RailsServlet.service(RailsServlet.java:46)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:334)
        at org.jruby.webapp.FileServlet.service(FileServlet.java:207)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
        at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
        at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
        at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
        at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:98)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
        at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
        at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to