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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:54:55+00:00 2026-05-23T16:54:55+00:00

I am trying to deploy a Rails 3 application on Tomcat 6.0.24. The JRuby

  • 0

I am trying to deploy a Rails 3 application on Tomcat 6.0.24. The JRuby version is 1.6.2 (ruby-1.8.7-p330) and Warbler is 1.3.0. I use bundler to handle the gem dependencies.

Checked the WEB-INF/lib folder and the following jars are present:

  • jruby-rack-1.0.9.jar
  • jruby-core-1.6.2.jar
  • jruby-stdlib-1.6.2.jar

But, however after the server starts, hitting the application results in the following exception:

javax.servlet.ServletException: Filter execution threw an exception
java.lang.NoClassDefFoundError: Could not initialize class com.kenai.jaffl.struct.Struct$Constants
    com.kenai.jaffl.struct.Struct$Signed64.<init>(Struct.java:1074)
    org.jruby.ext.posix.HeapStruct$Int64.<init>(HeapStruct.java:41)
    org.jruby.ext.posix.LinuxHeapFileStat.<init>(LinuxHeapFileStat.java:35)
    org.jruby.ext.posix.LinuxPOSIX.allocateStat(LinuxPOSIX.java:26)
    org.jruby.ext.posix.LinuxPOSIX.stat(LinuxPOSIX.java:107)
    org.jruby.ext.posix.LazyPOSIX.stat(LazyPOSIX.java:226)
    org.jruby.RubyFileTest.directory_p(RubyFileTest.java:102)
    org.jruby.RubyFileTest.directory_p(RubyFileTest.java:87)
    org.jruby.RubyFileTest$FileTestFileMethods.directory_p(RubyFileTest.java:428)
    org.jruby.RubyFileTest$FileTestFileMethods$s$1$0$directory_p.call(RubyFileTest$FileTestFileMethods$s$1$0$directory_p.gen:65535)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:282)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:139)
    org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
    org.jruby.ast.IfNode.interpret(IfNode.java:111)
    org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
    org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
    org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:147)
    org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:163)
    org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:262)
    org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:105)
    org.jruby.ast.CallNoArgNode.interpret(CallNoArgNode.java:63)
    org.jruby.ast.IfNode.interpret(IfNode.java:117)
    org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
    org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
    org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:75)
    org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:120)
    org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:145)
    org.jruby.runtime.callsite.SuperCallSite.cacheAndCall(SuperCallSite.java:286)
    org.jruby.runtime.callsite.SuperCallSite.callBlock(SuperCallSite.java:70)
    org.jruby.runtime.callsite.SuperCallSite.call(SuperCallSite.java:75)
    org.jruby.ast.ZSuperNode.interpret(ZSuperNode.java:101)
    org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104).....

Does that ring any bells?

[Answer Updated]: The issue was with the java implementation on the server. It was Open JDK. I switched it over to Sun Java 1.6.0_26 and everything started working 🙂

  • 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-23T16:54:56+00:00Added an answer on May 23, 2026 at 4:54 pm

    The issue was with the java implementation on the server. It was Open JDK. I switched it over to Sun Java 1.6.0_26 and everything started working

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

Sidebar

Related Questions

I am trying to deploy my Ruby on Rails application on Media Temple. The
I'm trying to deploy my Rails 3.0.1 application which works with Ruby 1.9.2. However,
I'm trying to deploy my rails application by using Passenger and Capistrano on Dreamhost.
I'm trying to deploy my rails application with capistrano, but I'm having some trouble
I am trying to deploy a simple rails application to an heroku account, I
I am trying to install the new version of the twitter-bootstrap-rails gem (v2), but
I am trying to deploy my rails application to a server using capistrano and
I'm trying to deploy an new rails 3.0/datamapper application on heroku cedar. Despite I
I'm trying to deploy a JRuby on Rails war into Tomcat6. For some reason,
I've inherited an existing Rails 2 application and am currently trying to deploy it

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.