Created
January 30, 2012 00:00
-
-
Save dobbs/1701456 to your computer and use it in GitHub Desktop.
to_yaml missing on first hit: rails3.2.1 jboss7.1CR1b jruby1.6.6 warbler1.3.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable Rake-environment-task framework detection by uncommenting/setting to false | |
# Warbler.framework_detection = false | |
# Warbler web application assembly configuration file | |
Warbler::Config.new do |config| | |
# Features: additional options controlling how the jar is built. | |
# Currently the following features are supported: | |
# - gemjar: package the gem repository in a jar file in WEB-INF/lib | |
# - executable: embed a web server and make the war executable | |
# - compiled: compile .rb files to .class files | |
# config.features = %w(gemjar) | |
# Application directories to be included in the webapp. | |
config.dirs = %w(app config lib log vendor tmp) | |
# Additional files/directories to include, above those in config.dirs | |
config.includes = FileList["db"] | |
# Additional files/directories to exclude | |
# config.excludes = FileList["lib/tasks/*"] | |
# Additional Java .jar files to include. Note that if .jar files are placed | |
# in lib (and not otherwise excluded) then they need not be mentioned here. | |
# JRuby and JRuby-Rack are pre-loaded in this list. Be sure to include your | |
# own versions if you directly set the value | |
# config.java_libs += FileList["lib/java/*.jar"] | |
# Loose Java classes and miscellaneous files to be included. | |
# config.java_classes = FileList["target/classes/**.*"] | |
# One or more pathmaps defining how the java classes should be copied into | |
# the archive. The example pathmap below accompanies the java_classes | |
# configuration above. See http://rake.rubyforge.org/classes/String.html#M000017 | |
# for details of how to specify a pathmap. | |
# config.pathmaps.java_classes << "%{target/classes/,}p" | |
# Bundler support is built-in. If Warbler finds a Gemfile in the | |
# project directory, it will be used to collect the gems to bundle | |
# in your application. If you wish to explicitly disable this | |
# functionality, uncomment here. | |
# config.bundler = false | |
# An array of Bundler groups to avoid including in the war file. | |
# Defaults to ["development", "test"]. | |
# config.bundle_without = [] | |
# Other gems to be included. If you don't use Bundler or a gemspec | |
# file, you need to tell Warbler which gems your application needs | |
# so that they can be packaged in the archive. | |
# For Rails applications, the Rails gems are included by default | |
# unless the vendor/rails directory is present. | |
# config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl"] | |
# config.gems << "tzinfo" | |
# Uncomment this if you don't want to package rails gem. | |
# config.gems -= ["rails"] | |
# The most recent versions of gems are used. | |
# You can specify versions of gems by using a hash assignment: | |
# config.gems["rails"] = "2.3.10" | |
# You can also use regexps or Gem::Dependency objects for flexibility or | |
# finer-grained control. | |
# config.gems << /^merb-/ | |
# config.gems << Gem::Dependency.new("merb-core", "= 0.9.3") | |
# Include gem dependencies not mentioned specifically. Default is | |
# true, uncomment to turn off. | |
# config.gem_dependencies = false | |
# Array of regular expressions matching relative paths in gems to be | |
# excluded from the war. Defaults to empty, but you can set it like | |
# below, which excludes test files. | |
# config.gem_excludes = [/^(test|spec)\//] | |
# Pathmaps for controlling how application files are copied into the archive | |
# config.pathmaps.application = ["WEB-INF/%p"] | |
# Name of the archive (without the extension). Defaults to the basename | |
# of the project directory. | |
# config.jar_name = "mywar" | |
# Name of the MANIFEST.MF template for the war file. Defaults to a simple | |
# MANIFEST.MF that contains the version of Warbler used to create the war file. | |
# config.manifest_file = "config/MANIFEST.MF" | |
# When using the 'compiled' feature and specified, only these Ruby | |
# files will be compiled. Default is to compile all \.rb files in | |
# the application. | |
# config.compiled_ruby_files = FileList['app/**/*.rb'] | |
# === War files only below here === | |
# Path to the pre-bundled gem directory inside the war file. Default | |
# is 'WEB-INF/gems'. Specify path if gems are already bundled | |
# before running Warbler. This also sets 'gem.path' inside web.xml. | |
# config.gem_path = "WEB-INF/vendor/bundler_gems" | |
# Files for WEB-INF directory (next to web.xml). This contains | |
# web.xml by default. If there is an .erb-File it will be processed | |
# with webxml-config. You may want to exclude this file via | |
# config.excludes. | |
# config.webinf_files += FileList["jboss-web.xml"] | |
# Files to be included in the root of the webapp. Note that files in public | |
# will have the leading 'public/' part of the path stripped during staging. | |
# config.public_html = FileList["public/**/*", "doc/**/*"] | |
# Pathmaps for controlling how public HTML files are copied into the .war | |
# config.pathmaps.public_html = ["%{public/,}p"] | |
# Value of RAILS_ENV for the webapp -- default as shown below | |
# config.webxml.rails.env = ENV['RAILS_ENV'] || 'production' | |
# Application booter to use, one of :rack, :rails, or :merb (autodetected by default) | |
# config.webxml.booter = :rails | |
# Set JRuby to run in 1.9 mode. | |
config.webxml.jruby.compat.version = "1.9" | |
# When using the :rack booter, "Rackup" script to use. | |
# - For 'rackup.path', the value points to the location of the rackup | |
# script in the web archive file. You need to make sure this file | |
# gets included in the war, possibly by adding it to config.includes | |
# or config.webinf_files above. | |
# - For 'rackup', the rackup script you provide as an inline string | |
# is simply embedded in web.xml. | |
# The script is evaluated in a Rack::Builder to load the application. | |
# Examples: | |
# config.webxml.rackup.path = 'WEB-INF/hello.ru' | |
# config.webxml.rackup = %{require './lib/demo'; run Rack::Adapter::Camping.new(Demo)} | |
# config.webxml.rackup = require 'cgi' && CGI::escapeHTML(File.read("config.ru")) | |
# Control the pool of Rails runtimes. Leaving unspecified means | |
# the pool will grow as needed to service requests. It is recommended | |
# that you fix these values when running a production server! | |
# config.webxml.jruby.min.runtimes = 2 | |
# config.webxml.jruby.max.runtimes = 4 | |
# JNDI data source name | |
# config.webxml.jndi = 'jdbc/rails' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14:43:13,526 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no min runtimes specified. | |
14:43:13,532 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Warning: no max runtimes specified. | |
14:43:13,536 INFO [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) An exception happened during JRuby-Rack startup | |
method 'to_yaml' not defined in Object | |
--- System | |
jruby 1.6.6 (ruby-1.9.2-p312) (2012-01-30 5673572) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java] | |
Time: 2012-01-30 14:43:13 -0700 | |
Server: JBoss Web/7.0.7.Final | |
jruby.home: classpath:/META-INF/jruby.home | |
--- Context Init Parameters: | |
jruby.compat.version = 1.9 | |
public.root = / | |
rails.env = production | |
--- Backtrace | |
NameError: method 'to_yaml' not defined in Object | |
remove_method at org/jruby/RubyModule.java:2316 | |
(eval) at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:32 | |
module_eval at org/jruby/RubyModule.java:2289 | |
yamler= at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:28 | |
(root) at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:50 | |
require at org/jruby/RubyKernel.java:1036 | |
require at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:36 | |
load_yaml at classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:662 | |
load_file at classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:235 | |
initialize at classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:178 | |
configuration at classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:361 | |
configuration at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:25 | |
initialize at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:5 | |
Bundler at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:335 | |
(root) at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:1 | |
require at org/jruby/RubyKernel.java:1036 | |
require at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:36 | |
(root) at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:4 | |
require at org/jruby/RubyKernel.java:1036 | |
require at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:36 | |
(root) at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:1 | |
require at org/jruby/RubyKernel.java:1036 | |
require at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:59 | |
(root) at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:6 | |
require at org/jruby/RubyKernel.java:1036 | |
require at /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:36 | |
load_environment at classpath:/jruby/rack/rails.rb:165 | |
to_app at classpath:/jruby/rack/rails.rb:172 | |
new at classpath:/jruby/rack/rails.rb:192 | |
(root) at <web.xml>:1 | |
instance_eval at org/jruby/RubyBasicObject.java:1726 | |
initialize at classpath:/vendor/rack-1.3.6/rack/builder.rb:51 | |
(root) at <web.xml>:1 | |
--- RubyGems | |
Gem.dir: /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems | |
Gem.path: | |
/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems | |
Activated gems: | |
bundler-1.0.21 | |
--- Bundler | |
undefined method `bundle_path' for Bundler:Module | |
--- JRuby-Rack Config | |
compat_version = RUBY1_9 | |
filter_adds_html = true | |
filter_verifies_resource = false | |
ignore_environment = false | |
initial_runtimes = | |
jms_connection_factory = | |
jms_jndi_properties = | |
logger = org.jruby.rack.logging.ServletContextLogger@37e7de71 | |
logger_class_name = servlet_context | |
logger_name = jruby.rack | |
maximum_runtimes = | |
num_initializer_threads = | |
rackup = | |
rackup_path = | |
rewindable = true | |
runtime_arguments = | |
runtime_timeout_seconds = | |
serial_initialization = false | |
servlet_context = org.apache.catalina.core.ApplicationContextFacade@400ee86 | |
14:43:13,543 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/debug]] (http--127.0.0.1-8080-2) Application Error: org.jruby.rack.RackInitializationException: method 'to_yaml' not defined in Object | |
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:32:in `(eval)' | |
from org/jruby/RubyModule.java:2289:in `module_eval' | |
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:28:in `yamler=' | |
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:50:in `(root)' | |
from org/jruby/RubyKernel.java:1036:in `require' | |
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:36:in `require' | |
from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:662:in `load_yaml' | |
from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:235:in `load_file' | |
from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:178:in `initialize' | |
from classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:361:in `configuration' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:25:in `configuration' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:5:in `initialize' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:335:in `Bundler' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:1:in `(root)' | |
from org/jruby/RubyKernel.java:1036:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:36:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:4:in `(root)' | |
from org/jruby/RubyKernel.java:1036:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:36:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:1:in `(root)' | |
from org/jruby/RubyKernel.java:1036:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:59:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:6:in `(root)' | |
from org/jruby/RubyKernel.java:1036:in `require' | |
from /Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:36:in `require' | |
from classpath:/jruby/rack/rails.rb:165:in `load_environment' | |
from classpath:/jruby/rack/rails.rb:172:in `to_app' | |
from classpath:/jruby/rack/rails.rb:192:in `new' | |
from <web.xml>:1:in `(root)' | |
from org/jruby/RubyBasicObject.java:1726:in `instance_eval' | |
from classpath:/vendor/rack-1.3.6/rack/builder.rb:51:in `initialize' | |
from <web.xml>:1:in `(root)' | |
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:206) [jruby-rack-1.1.3.jar:] | |
at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:56) [jruby-rack-1.1.3.jar:] | |
at org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:95) [jruby-rack-1.1.3.jar:] | |
at org.jruby.rack.DefaultRackDispatcher.getApplication(DefaultRackDispatcher.java:20) [jruby-rack-1.1.3.jar:] | |
at org.jruby.rack.AbstractRackDispatcher.process(AbstractRackDispatcher.java:29) [jruby-rack-1.1.3.jar:] | |
at org.jruby.rack.AbstractFilter.doFilter(AbstractFilter.java:31) [jruby-rack-1.1.3.jar:] | |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.7.Final.jar:] | |
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:151) [jboss-as-web-7.1.0.CR1b.jar:7.1.0.CR1b] | |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.7.Final.jar:] | |
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2033) [jbossweb-7.0.7.Final.jar:] | |
at java.lang.Thread.run(Thread.java:680) [:1.6.0_29] | |
Caused by: org.jruby.exceptions.RaiseException: (NameError) method 'to_yaml' not defined in Object | |
at org.jruby.RubyModule.remove_method(org/jruby/RubyModule.java:2316) [jruby-core-1.6.6.jar:] | |
at #<Class:0x738694c5>.(eval)(classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:32) at org.jruby.RubyModule.module_eval(org/jruby/RubyModule.java:2289) [jruby-core-1.6.6.jar:] | |
at YAML::EngineManager.yamler=(classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:28) at #<Class:0x16f32335>.(root)(classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:50) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1036) [jruby-core-1.6.6.jar:] | |
at Kernel.require(classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:36) at #<Class:0x5c845ce9>.load_yaml(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:662) at Gem::ConfigFile.load_file(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:235) at Gem::ConfigFile.initialize(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:178) at #<Class:0x5c845ce9>.configuration(classpath:/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:361) at Bundler::RubygemsIntegration.configuration(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:25) at Bundler::RubygemsIntegration.initialize(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:5) at Module.Bundler(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:335) at #<Class:0x16f32335>.(root)(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1036) [jruby-core-1.6.6.jar:] | |
at Kernel.require(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:36) at #<Class:0x16f32335>.(root)(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:4) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1036) [jruby-core-1.6.6.jar:] | |
at Kernel.require(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:36) at #<Class:0x16f32335>.(root)(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1036) [jruby-core-1.6.6.jar:] | |
at Kernel.require(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:59) at #<Class:0x16f32335>.(root)(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:6) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1036) [jruby-core-1.6.6.jar:] | |
at Kernel.require(/Library/JBoss/7.1/standalone/tmp/vfs/temp98901aca44abeed4/debug.war-e3df8d018be9c22e/WEB-INF/config/boot.rb:36) at JRuby::Rack::RailsBooter::Rails3Environment.load_environment(classpath:/jruby/rack/rails.rb:165) at JRuby::Rack::RailsBooter::Rails3Environment.to_app(classpath:/jruby/rack/rails.rb:172) at #<Class:0x24d19465>.new(classpath:/jruby/rack/rails.rb:192) at #<Class:0x7a3f2957>.(root)(<web.xml>:1) at org.jruby.RubyBasicObject.instance_eval(org/jruby/RubyBasicObject.java:1726) [jruby-core-1.6.6.jar:] | |
at Rack::Builder.initialize(classpath:/vendor/rack-1.3.6/rack/builder.rb:51) at #<Class:0x16f32335>.(root)(<web.xml>:1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir debug | |
cd debug | |
rvm install jruby-1.6.6 | |
rvm use jruby-1.6.6@debug --create --rvmrc | |
echo "export JRUBY_OPTS=--1.9" >> .rvmrc | |
cd .. | |
cd debug | |
gem install rails | |
rails new . | |
rails generate controller Home | |
echo "<h1>hello</h1>" > app/views/home/index.html.erb | |
echo "root :to => 'home#index'" >> config/routes.rb | |
rm public/index.html | |
echo "gem 'warbler'" >> Gemfile | |
bundle install | |
warble config | |
emacs config/warble.rb | |
rake db:create | |
cp db/development.sqlite3 db/production.sqlite3 | |
warble | |
mv debug.war $JBOSS_HOME/standalone/deployments |
I got JBoss7.1 here in case that version matters.
http://download.jboss.org/jbossas/7.1/jboss-as-7.1.0.CR1b/jboss-as-7.1.0.CR1b.tar.gz
I did see these same symptoms with JBoss7.0, so I don't think it's JBoss.
These most recent versions of the server.log and my command history are for a freshly generated rails 3.2.1 app.
Here's a link to a previous revision of this gist which shows the same symptoms for jruby 1.6.5.1
https://gist.github.com/1701456/507622769a90ea1cf5b6bd8b70c256e224250ef2
Filed JRuby bug (http://jira.codehaus.org/browse/JRUBY-6397) but it appears to be a JRuby-rack issue (jruby/jruby-rack#89).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I suspect this is http://bugs.jruby.org/6384. Please try the newly released 1.6.6.