Skip to content

Instantly share code, notes, and snippets.

@rurounijones
Created January 4, 2012 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurounijones/1558672 to your computer and use it in GitHub Desktop.
Save rurounijones/1558672 to your computer and use it in GitHub Desktop.
Torquebox Out of Memory Error
14:23:56,020 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_29\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\torquebox-current\jruby\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;.
14:23:56,036 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) null null
14:23:56,036 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
14:23:56,067 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Coyote HTTP/1.1を http--192.168.56.101-80 で起動します
14:23:56,114 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:9999
14:23:57,317 WARN [jacorb.codeset] (MSC service thread 1-1) Warning - unknown codeset (MS932) - defaulting to ISO-8859-1
14:23:57,317 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA ORB Service Started
14:23:58,192 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on WIN-QJ3N6R5U4K3/192.168.56.101:4447
14:23:58,552 WARN [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011600: AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
14:24:00,489 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) live server is starting with configuration HornetQ Configuration (clustered=false,backup=false,sharedStore=true,journalDirectory=C:\torquebox-current\jboss\standalone\data\messagingjournal,bindingsDirectory=C:\torquebox-current\jboss\standalone\data\messagingbindings,largeMessagesDirectory=C:\torquebox-current\jboss\standalone\data\messaginglargemessages,pagingDirectory=C:\torquebox-current\jboss\standalone\data\messagingpaging)
14:24:00,505 警告 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
14:24:00,880 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} WIN-QJ3N6R5U4K3:5455 for CORE protocol
14:24:00,911 INFO [org.hornetq.core.remoting.impl.netty.NettyAcceptor] (MSC service thread 1-1) Started Netty Acceptor version 3.2.3.Final-r${buildNumber} WIN-QJ3N6R5U4K3:5445 for CORE protocol
14:24:00,911 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) Server is now live
14:24:00,911 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) HornetQ Server version 2.2.7.Final (HQ_2_2_7_FINAL_AS7, 121) [44beec42-30f1-11e1-a6a9-0800276b9e05] started
14:24:02,427 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/ConnectionFactory
14:24:02,427 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/RemoteConnectionFactory
14:24:02,989 INFO [org.jboss.as.jacorb] (MSC service thread 1-1) CORBA Naming Service Started
14:24:03,177 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\torquebox-current\jboss\standalone\deployments
14:24:03,505 INFO [org.torquebox.core.runtime] (MSC service thread 1-2) Initialize? true
14:24:03,927 INFO [org.torquebox.core.runtime] (MSC service thread 1-2) Initializer=null
14:24:03,958 INFO [org.torquebox.core.runtime] (MSC service thread 1-2) Created ruby runtime (ruby_version: RUBY1_8, compile_mode: JIT, context: global) in 8.06s
14:24:03,958 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
14:24:03,927 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010406: Registered connection factory java:/JmsXA
14:24:03,973 INFO [org.hornetq.ra.HornetQResourceAdapter] (MSC service thread 1-1) HornetQ resource adaptor started
14:24:03,973 INFO [org.jboss.as.connector.services.ResourceAdapterActivatorService$ResourceAdapterActivator] (MSC service thread 1-1) IJ020002: Deployed: file://RaActivatorhornetq-ra
14:24:03,973 INFO [org.jboss.as.deployment.connector] (MSC service thread 1-1) JBAS010401: Bound JCA ConnectionFactory [java:/JmsXA]
14:24:03,989 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Beta1 "Tesla" started in 12625ms - Started 152 of 221 services (68 services are passive or on-demand)
14:24:04,067 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "castor"
14:24:04,067 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "gemini-queues-knob.yml"
14:24:04,583 INFO [org.torquebox.core] (MSC service thread 1-1) Rootless deployment detected: gemini-queues-knob.yml
14:24:04,848 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.queue./queues/gemini_file_generation/test
14:24:04,927 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/queues/gemini_file_generation/test
14:24:04,927 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.queue./queues/gemini_file_generation/staging
14:24:04,927 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/queues/gemini_file_generation/staging
14:24:04,973 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.queue./queues/gemini_file_generation/development
14:24:04,973 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/queues/gemini_file_generation/development
14:24:04,973 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-1) trying to deploy queue jms.queue./queues/gemini_file_generation/production
14:24:04,989 INFO [org.jboss.as.messaging] (MSC service thread 1-1) JBAS011601: Bound messaging object to jndi name java:/queues/gemini_file_generation/production
14:24:05,895 情報 [org.hornetq.core.server.impl.HornetQServerImpl] (MSC service thread 1-2) trying to deploy queue jms.queue./queues/torquebox/castor/tasks/torquebox_backgroundable
14:24:05,911 INFO [org.jboss.as.messaging] (MSC service thread 1-2) JBAS011601: Bound messaging object to jndi name java:/queues/torquebox/castor/tasks/torquebox_backgroundable
14:24:05,989 INFO [org.jboss.web] (MSC service thread 1-1) registering web context:
14:24:06,005 INFO [org.torquebox.core.runtime.SharedRubyRuntimePool] (MSC service thread 1-1) Starting web runtime pool asynchronously
14:24:06,005 INFO [org.torquebox.core.runtime.SharedRubyRuntimePool] (MSC service thread 1-1) Deferring start for messaging runtime pool.
14:24:06,020 INFO [org.torquebox.core.runtime] (Thread-88) Creating ruby runtime (ruby_version: RUBY1_8, compile_mode: JIT, app: castor, context: web)
14:24:08,427 INFO [org.torquebox.core.runtime] (Thread-88) Initialize? true
14:24:08,427 INFO [org.torquebox.core.runtime] (Thread-88) Initializer=org.torquebox.web.rails.RailsRuntimeInitializer@488b0bea
14:24:08,505 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "gemini-queues-knob.yml"
14:24:08,770 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "castor"
14:24:09,083 INFO [org.torquebox.core.runtime.BundlerAwareRuntimeInitializer] (Thread-88) Setting up Bundler
14:24:29,723 ERROR [org.torquebox.core.runtime] (Thread-88) Error during execution: ENV['RAILS_ROOT']=RACK_ROOT
ENV['RAILS_ENV']=RACK_ENV
require %q(org/torquebox/web/rails/boot)
: org.jruby.exceptions.RaiseException: (LoadError) load error: net/protocol -- java.lang.OutOfMemoryError: PermGen space
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(C:/torquebox-current/jruby/lib/ruby/1.8/net/http.rb:28) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(C:/torquebox-current/jruby/lib/ruby/1.8/net/http.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier.rb:68) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55) at #<Class:0x32dd803>.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122) at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/application.rb:9) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/application.rb:2) at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1063) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/environment.rb:112) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(file:/C:/torquebox-current/jboss/modules/org/torquebox/web/main/torquebox-web.jar!/org/torquebox/web/rails/boot.rb:3)
14:24:29,723 ERROR [org.torquebox.core.runtime] (Thread-88) Failed to initialize runtime: : org.jruby.exceptions.RaiseException: (LoadError) load error: net/protocol -- java.lang.OutOfMemoryError: PermGen space
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(C:/torquebox-current/jruby/lib/ruby/1.8/net/http.rb:28) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(C:/torquebox-current/jruby/lib/ruby/1.8/net/http.rb:1) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.11/lib/hoptoad_notifier.rb:68) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:66) at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612) [jruby.jar:]
at Bundler::Runtime.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/runtime.rb:55) at #<Class:0x32dd803>.require(C:/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler.rb:122) at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/application.rb:9) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/application.rb:2) at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1063) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(vfs:/C:/torquebox-current/jboss/standalone/deployments/castor/config/environment.rb:112) at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1038) [jruby.jar:]
at #<Class:0x27f9e52f>.(root)(file:/C:/torquebox-current/jboss/modules/org/torquebox/web/main/torquebox-web.jar!/org/torquebox/web/rails/boot.rb:3)
14:24:29,723 INFO [org.torquebox.core.runtime] (Thread-88) Created ruby runtime (ruby_version: RUBY1_8, compile_mode: JIT, app: castor, context: web) in 23.68s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment