Skip to content

Instantly share code, notes, and snippets.

@headius
Created January 31, 2012 13:51
Show Gist options
  • Save headius/1710589 to your computer and use it in GitHub Desktop.
Save headius/1710589 to your computer and use it in GitHub Desktop.
[#|2012-01-30T20:02:09.889-0600|INFO|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-4;|PWC1412: WebModule[null] ServletContext.log():An exception happened during JRuby-Rack startup
method 'to_yaml' not defined in Object
--- System
jruby 1.6.5.1 (ruby-1.9.2-p136) (2011-12-27 1bf37c2) (Java HotSpot(TM) Client VM 1.6.0_29) [darwin-i386-java]
Time: 2012-01-30 20:02:09 -0600
Server: GlassFish Server Open Source Edition 3.1.1
jruby.home: classpath:/META-INF/jruby.home
--- Context Init Parameters:
com.sun.faces.forceLoadConfiguration = true
com.sun.faces.validateXml = true
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 /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:26
module_eval at org/jruby/RubyModule.java:2254
yamler= at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:22
(root) at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:44
require at org/jruby/RubyKernel.java:1047
require at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:36
load_yaml at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:650
load_file at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:235
initialize at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:178
configuration at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:361
configuration at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:25
initialize at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:5
Bundler at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:370
(root) at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:1
require at org/jruby/RubyKernel.java:1047
require at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:36
(root) at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/shared_helpers.rb:4
require at org/jruby/RubyKernel.java:1047
require at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/shared_helpers.rb:36
(root) at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/setup.rb:1
require at org/jruby/RubyKernel.java:1047
require at /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/setup.rb:59
(root) at /Users/headius/glassfish3/glassfish/domains/domain1/applications/debug/WEB-INF/config/boot.rb:6
require at org/jruby/RubyKernel.java:1047
require at /Users/headius/glassfish3/glassfish/domains/domain1/applications/debug/WEB-INF/config/boot.rb:36
load_environment at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:165
to_app at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:172
new at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:192
(root) at <web.xml>:1
instance_eval at org/jruby/RubyBasicObject.java:1720
initialize at /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/vendor/rack-1.3.6/rack/builder.rb:51
(root) at <web.xml>:1
--- RubyGems
Gem.dir: /Users/headius/.rvm/gems/jruby-1.6.6@debug
Gem.path:
/Users/headius/glassfish3/glassfish/domains/domain1/applications/debug/WEB-INF/gems
/Users/headius/.rvm/gems/jruby-1.6.6@debug
/Users/headius/.rvm/gems/jruby-1.6.6@global
Activated gems:
bundler-1.1.rc.7
--- 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@1ccdcbd
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@1037c66
|#]
[#|2012-01-30T20:02:09.890-0600|SEVERE|glassfish3.1.1|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=25;_ThreadName=Thread-4;|WebModule[/debug]Application Error
org.jruby.rack.RackInitializationException: method 'to_yaml' not defined in Object
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:26:in `(eval)'
from org/jruby/RubyModule.java:2254:in `module_eval'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:22:in `yamler='
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:44:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:36:in `require'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:650:in `load_yaml'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:235:in `load_file'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/config_file.rb:178:in `initialize'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:361:in `configuration'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:25:in `configuration'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:5:in `initialize'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:370:in `Bundler'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:1:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:36:in `require'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/shared_helpers.rb:4:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/shared_helpers.rb:36:in `require'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/setup.rb:1:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/headius/.rvm/gems/jruby-1.6.6@debug/gems/bundler-1.1.rc.7/lib/bundler/setup.rb:59:in `require'
from /Users/headius/glassfish3/glassfish/domains/domain1/applications/debug/WEB-INF/config/boot.rb:6:in `(root)'
from org/jruby/RubyKernel.java:1047:in `require'
from /Users/headius/glassfish3/glassfish/domains/domain1/applications/debug/WEB-INF/config/boot.rb:36:in `require'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:165:in `load_environment'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:172:in `to_app'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/jruby/rack/rails.rb:192:in `new'
from <web.xml>:1:in `(root)'
from org/jruby/RubyBasicObject.java:1720:in `instance_eval'
from /Users/headius/glassfish3/glassfish/domains/domain1/generated/jsp/debug/loader_14432631/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)
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:20)
at org.jruby.rack.AbstractRackDispatcher.process(AbstractRackDispatcher.java:29)
at org.jruby.rack.AbstractFilter.doFilter(AbstractFilter.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
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