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 8337343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:16:45+00:00 2026-06-09T04:16:45+00:00

I tried to deploy an application.war file into webapps/ in the tomcat folder and

  • 0

I tried to deploy an application.war file into webapps/ in the tomcat folder and started up the server. When i try to open http://localhost:8080/relConnections it shows on the screen that “something went wrong”. I deleted the common index.html in the public folder in usual rails apps and tchanged the root to my home page.

When i see the log file it says the following:

"An exception happened during JRuby-Rack startup private method `gsub' called for nil:NilClass
--- System
jruby 1.6.7" 

and three or four more excecption saying the same lines gsub nil:NilClass for all of those.

Here is my Gemfile

source 'http://rubygems.org'

gem 'jruby-jars', '1.6.7'
gem 'warbler', '1.3.2'
gem 'rails', '3.1.3'
gem 'rake', '0.9.2.2'

gem 'jruby-openssl', '0.7.5', :platforms => :jruby
gem 'json', '1.6.5', :platforms => [:jruby, :mingw, :mingw_19]
gem 'therubyrhino', :platforms => :jruby

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'activerecord-jdbc-adapter', '1.2.2'
gem 'activerecord-oracle_enhanced-adapter', '1.4.0'

gem 'mechanize', '1.0.0'
gem 'nokogiri', '1.5.0'

group :assets do
  gem 'sass-rails',   '~> 3.1.4'
  gem 'coffee-rails', '~> 3.1.1'
  gem 'uglifier', '>= 1.0.3'
end 

gem 'jquery-rails'
group :development do
  gem 'ruby-debug-base', '0.10.4'
  gem 'ruby-debug-ide', '0.4.17.beta8'
  gem 'pry', '0.9.7.4'
end

group :test do
  gem 'turn', '0.8.3', :require => false
  gem 'minitest', '2.11.0'
  gem 'timecop', '0.3.5'
end
gem 'jruby-pageant', '~>1.0.2'

gem 'net-ssh', '~>2.5.2'

And here is my warble.rb

Warbler::Config.new do |config|
  #commented code
  config.dirs = %w(app config lib log vendor tmp)
  #more commented code
end

Let me know if iam missing any gems or anything else here.
Thanks

  • 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-06-09T04:16:47+00:00Added an answer on June 9, 2026 at 4:16 am

    I think you may try to set the jruby version to 1.9. In the warble.rb

    config.webxml.jruby.compat.version = "1.9"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to deploy a Grails application on a Tomcat server. So I packaged
I'm trying to deploy a Tomcat application by copying it to the webapps directory.
My .war application runs on TomCat I am able to deploy my .war application
i am learning tomcat basics and while i tried to deploy my web-application on
I tried to deploy a servlet I have created to Glassfish application server, and
Tried this: $('.link').click(function(e) { $.getScript('http://www.google.com/uds/api?file=uds.js&amp;v=1.0', function() { $('body').append('<p>GOOGLE API (UDS) is loaded</p>'); }); return
while trying to deploy a Grails application into tomcat6 I ran into some problems:
I´ve tried a couple of different ways to deploy a application to a IIS
I am trying to deploy the sample-app war file that comes with PushSDK.But was
I tried to deploy my application in real device. But when it running ,

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.