Glassfish fails on 1.5.0.dev 2010-03-16
---------------------------------------

                 Key: JRUBY-4659
                 URL: http://jira.codehaus.org/browse/JRUBY-4659
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.5
         Environment: jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2010-03-16 
f6002bf) (Java HotSpot(TM) Client VM 1.6.0_15) [i386-java]

*** LOCAL GEMS ***

actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activerecord-jdbc-adapter (0.9.3)
activerecord-jdbcpostgresql-adapter (0.9.3)
activeresource (2.3.5)
activesupport (2.3.5)
columnize (0.3.1)
glassfish (1.0.2)
jdbc-postgres (8.3.604)
jruby-openssl (0.6)
rack (1.0.1)
rails (2.3.5)
rake (0.8.7)
rspec (1.3.0)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3.1)
sources (0.0.1)

            Reporter: Uwe Kubosch
            Assignee: Thomas E Enebo


Hi!

When I run glassfish with my app, I get an error on requests:

Mar 17, 2010 9:29:29 AM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish v3 (74b) startup time : Embedded(632ms) startup services(316ms) 
total(948ms)
Mar 17, 2010 9:29:29 AM AppServerStartup run
INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
Mar 17, 2010 9:29:29 AM org.hibernate.validator.util.Version <clinit>
INFO: Hibernate Validator null
Mar 17, 2010 9:29:30 AM com.sun.enterprise.v3.services.impl.GrizzlyProxy$2$1 
onReady
INFO: Grizzly Framework 1.9.18-k started in: 473ms listening on port 3000
Mar 17, 2010 9:29:30 AM org.glassfish.kernel.config.DefaultConfigParser$2 run
INFO: interface org.glassfish.scripting.jruby.config.JrubyContainer
Mar 17, 2010 9:29:30 AM org.glassfish.scripting.jruby.JRubyConfigImpl <init>
INFO: Running cardea in production environment.
Mar 17, 2010 9:29:30 AM org.glassfish.scripting.jruby.RackApplicationChooser 
detectRails
INFO: Rails application detected.
Mar 17, 2010 9:29:30 AM org.glassfish.scripting.jruby.JRubyApplication <init>
INFO: Loading application cardea at /
Mar 17, 2010 9:29:30 AM com.sun.grizzly.jruby.RackGrizzlyAdapter <init>
INFO: JRuby version is: 1.5.0.dev
Mar 17, 2010 9:29:40 AM com.sun.grizzly.jruby.RackGrizzlyAdapter service
SEVERE: Failed to create JRuby instance.
java.util.concurrent.ExecutionException: 
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.service(RackGrizzlyAdapter.java:289)
        at 
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at 
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at 
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
        at 
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
        at 
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
        at 
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at 
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at 
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at 
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at 
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at 
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at 
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
        at 
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.jruby.runtime.ThreadContext.getCurrentScope(ThreadContext.java:194)
        at org.jruby.Ruby.evalScriptlet(Ruby.java:285)
        at 
com.sun.grizzly.jruby.rack.RailsApplication.createApplicationObject(RailsApplication.java:63)
        at 
com.sun.grizzly.jruby.rack.RailsApplication.<init>(RailsApplication.java:48)
        at 
com.sun.grizzly.jruby.rack.RackApplicationPoolFactory.newApplication(RackApplicationPoolFactory.java:93)
        at 
com.sun.grizzly.jruby.rack.RackApplicationPoolFactory.getRackApplocationPool(RackApplicationPoolFactory.java:66)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.startJRubyRuntime(RackGrizzlyAdapter.java:124)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.access$000(RackGrizzlyAdapter.java:69)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter$1.call(RackGrizzlyAdapter.java:109)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter$1.call(RackGrizzlyAdapter.java:106)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        ... 1 more
Mar 17, 2010 9:29:40 AM com.sun.grizzly.jruby.RackGrizzlyAdapter service
SEVERE: Failed to create JRuby instance.
java.util.concurrent.ExecutionException: 
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
        at java.util.concurrent.FutureTask.get(FutureTask.java:83)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.service(RackGrizzlyAdapter.java:289)
        at 
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at 
com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at 
com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:245)
        at 
com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
        at 
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
        at 
com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at 
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at 
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at 
com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at 
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at 
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at 
com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
        at 
com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
        at 
org.jruby.runtime.ThreadContext.getCurrentScope(ThreadContext.java:194)
        at org.jruby.Ruby.evalScriptlet(Ruby.java:285)
        at 
com.sun.grizzly.jruby.rack.RailsApplication.createApplicationObject(RailsApplication.java:63)
        at 
com.sun.grizzly.jruby.rack.RailsApplication.<init>(RailsApplication.java:48)
        at 
com.sun.grizzly.jruby.rack.RackApplicationPoolFactory.newApplication(RackApplicationPoolFactory.java:93)
        at 
com.sun.grizzly.jruby.rack.RackApplicationPoolFactory.getRackApplocationPool(RackApplicationPoolFactory.java:66)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.startJRubyRuntime(RackGrizzlyAdapter.java:124)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter.access$000(RackGrizzlyAdapter.java:69)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter$1.call(RackGrizzlyAdapter.java:109)
        at 
com.sun.grizzly.jruby.RackGrizzlyAdapter$1.call(RackGrizzlyAdapter.java:106)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        ... 1 more


-- 
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