Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3984986
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:50:09+00:00 2026-05-20T05:50:09+00:00

Having problems getting glassfish to even run on my server. jRuby is absoutely maddening

  • 0

Having problems getting glassfish to even run on my server. jRuby is absoutely maddening to begin with, but this is killing me.

I have a pretty complex app, so I won’t go into too many details, other than to say the Rails2 version is working under jRuby 1.5.1.

When I start and do the first hit on the server I get the following error:

Feb 19, 2011 12:20:14 AM com.sun.grizzly.jruby.RackGrizzlyAdapter dispatchRequest 
WARNING: (NoMethodError) undefined method `call' for nil:NilClass 
org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `call' for nil:NilClass   
at Rack::Handler::Grizzly.call(/usr/local/rvm/gems/jruby-1.6.0.RC2/gems/glassfish-1.0.3.dev-universal-java/lib/rack/handler/grizzly.rb:55)

I have tried starting glassfish every way since sunday and have also swapped out various gems. It seems bundler 1.0.10 also has some issues. It broke my Rails2 app.

Any insite anywhere as to where to even start looking would be appreciated.

The app works just fine when running webrick.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T05:50:10+00:00Added an answer on May 20, 2026 at 5:50 am

    The jRuby stack still has a long way to go. Finally figured this debacle out. Turns out the rackup.rb file pulled into glassfish from an as yet unidentified source (I hacked it for now and moved on) has logic that only supports rack in development, test or production. I was using a multistage environment so I could test things out. I had a, shocker, staging environment. So this all worked fine under the old glassfish that detected and ran rails separately but created a host of issues for the rails3 application running with a config.ru rack file.

    I will post an update to my blog when I get this nailed down correctly. You can’t monkey patch this because glassfish loads from the installed gem location not your own project or even bundle repository.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems getting my brain around this. I have four models: Account has
I am having problems getting the 'ByAccount' aggregation to work in SQL Server Analysis
I am having problems getting my Permalinks changed with my Wordpress instance. I have
I'm having problems getting my game engine to run on my brother's machine, which
Hi I'm having problems getting this to work in mysql. DELIMITER $$ DROP PROCEDURE
I'm having problems getting this code to populate output parameters with MSSQL ODBC 10.0
I'm having problems getting the new data from the RandomNumbers List I got this
I'm trying to select a TreeViewItem by ID, but having problems getting it to
Having problems getting the different arrays content from geocoder results. item.formatted_address works but not
I'm a novice/beginner programmer having problems getting some simple client/server C code working. My

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.