Skip to content

Instantly share code, notes, and snippets.

@fishnix
Created November 15, 2011 13:40
Show Gist options
  • Select an option

  • Save fishnix/1367094 to your computer and use it in GitHub Desktop.

Select an option

Save fishnix/1367094 to your computer and use it in GitHub Desktop.
jboss warbler puke with testapp (empty rails app) Rails 3.0.9 Ruby Compat --1.9
16:03:11,723 INFO [[/testapp]] Warning: no min runtimes specified.
16:03:11,725 INFO [[/testapp]] Warning: no max runtimes specified.
16:03:11,728 INFO [[/testapp]] An exception happened during JRuby-Rack startup
method 'to_yaml' not defined in Object
--- System
jruby 1.6.5 (ruby-1.9.2-p136) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]
Time: 2011-11-14 16:03:11 -0500
Server: JBoss Web/2.1.11.GA
jruby.home: classpath:/META-INF/jruby.home
--- Context Init Parameters:
com.sun.faces.duplicateJARPattern = ^tmp\d+(\S*\.jar)
com.sun.faces.injectionProvider = org.jboss.web.jsf.integration.injection.JBossDelegatingInjectionProvider
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:2281
(eval) at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:26
module_eval at org/jruby/RubyModule.java:2254
yamler= at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:22
(root) at classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:44
require at org/jruby/RubyKernel.java:1047
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:650
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 /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:25
initialize at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:5
Bundler at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:335
(root) at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:1
require at org/jruby/RubyKernel.java:1047
require at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:36
(root) at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:4
require at org/jruby/RubyKernel.java:1047
require at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:36
(root) at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:1
require at org/jruby/RubyKernel.java:1047
require at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:59
(root) at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/config/boot.rb:6
require at org/jruby/RubyKernel.java:1047
require at /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/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:1720
initialize at classpath:/vendor/rack-1.3.5/rack/builder.rb:51
(root) at <web.xml>:1
--- RubyGems
Gem.dir: /Users/fish/.rvm/gems/jruby-1.6.5
Gem.path:
/Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems
/Users/fish/.rvm/gems/jruby-1.6.5
/Users/fish/.rvm/gems/jruby-1.6.5@global
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@7cbac56c
logger_class_name = servlet_context
logger_name = jruby.rack
maximum_runtimes =
memory_buffer_size = 8192
num_initializer_threads =
rackup =
rackup_path =
rewindable = true
runtime_arguments =
runtime_timeout_seconds =
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@4012a6de
16:03:11,729 ERROR [[/testapp]] 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:26:in `(eval)'
from org/jruby/RubyModule.java:2254:in `module_eval'
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:22:in `yamler='
from classpath:/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:44:in `(root)'
from org/jruby/RubyKernel.java:1047: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:650: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 /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:25:in `configuration'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:5:in `initialize'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:335:in `Bundler'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:1:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/rubygems_integration.rb:36:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:4:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/shared_helpers.rb:36:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:1:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/gems/gems/bundler-1.0.21/lib/bundler/setup.rb:59:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/WEB-INF/config/boot.rb:6:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/fish/tmp/jboss/jboss-eap-5.1/jboss-as/server/default/tmp/3m3o5k6b-kmg268-guzyke1f-1-guzyktyy-ao/testapp.war/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:1720:in `instance_eval'
from classpath:/vendor/rack-1.3.5/rack/builder.rb:51:in `initialize'
from <web.xml>:1:in `(root)'
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:206)
at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:56)
at org.jruby.rack.PoolingRackApplicationFactory.getApplication(PoolingRackApplicationFactory.java:95)
at org.jruby.rack.DefaultRackDispatcher.getApplication(DefaultRackDispatcher.java:23)
at org.jruby.rack.AbstractRackDispatcher.process(AbstractRackDispatcher.java:28)
at org.jruby.rack.AbstractFilter.doFilter(AbstractFilter.java:32)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jruby.exceptions.RaiseException: (NameError) method 'to_yaml' not defined in Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment