Skip to content

Instantly share code, notes, and snippets.

@evanwong
Created May 21, 2014 18:13
Show Gist options
  • Save evanwong/7a1a8517ba98847afeda to your computer and use it in GitHub Desktop.
Save evanwong/7a1a8517ba98847afeda to your computer and use it in GitHub Desktop.
Starting Go Server with command: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/bin/java -server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m -Duser.language=en -Dorg.mortbay.jetty.Request.maxFormContentSize=30000000 -Djruby.rack.request.size.threshold.bytes=30000000 -Duser.country=US -Dcruise.config.dir=/etc/go -Dcruise.config.file=/etc/go/cruise-config.xml -Dcruise.server.port=8153 -Dcruise.server.ssl.port=8154 -jar /usr/share/go-server/go.jar
Starting Go Server in directory:
2014-05-21 12:54:35,598 INFO [main] GoSslSocketConnector:61 - Using SSL socket selector SslSelectChannelConnector (NIO) with maxIdleTime=30000
2014-05-21 12:54:35,762 INFO [main] GoServer:132 - Configuring Jetty using /etc/go/jetty.xml
2014-05-21 12:54:38,936 INFO [main] H2Database:123 - [db] Using connection configuration jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=FALSE;CACHE_SIZE=131072;TRACE_LEVEL_FILE=1;TRACE_MAX_FILE_SIZE=16;DATABASE_EVENT_LISTENER='com.thoughtworks.go.server.util.H2EventListener' [User: sa]
2014-05-21 12:54:38,937 INFO [main] H2Database:113 - Creating datasource with url=jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=FALSE;CACHE_SIZE=131072;TRACE_LEVEL_FILE=1;TRACE_MAX_FILE_SIZE=16;DATABASE_EVENT_LISTENER='com.thoughtworks.go.server.util.H2EventListener'
2014-05-21 12:54:38,939 INFO [main] DbDeployMigration:48 - Upgrading database at org.apache.commons.dbcp.BasicDataSource@734f6fe1. This might take a while depending on the size of the database.
Reading change scripts from directory /var/lib/go-server/db/h2deltas...
dbdeploy v2.11
2014-05-21 12:54:38,979 INFO [main] H2EventListener:30 - Initializing database: jdbc:h2:db/h2db/cruise
Creating index SYS:SYS_ID 0%
2014-05-21 12:54:39,199 INFO [main] H2EventListener:82 - Creating index SYS:SYS_ID 0%
Creating index SYS:SYS_ID 0%
2014-05-21 12:54:39,199 INFO [main] H2EventListener:82 - Creating index SYS:SYS_ID 0%
2014-05-21 12:54:39,290 INFO [main] H2EventListener:34 - Database is opened
2014-05-21 12:54:39,294 INFO [main] H2EventListener:30 - Initializing database: jdbc:h2:db/h2db/cruise
Changes currently applied to database:
1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001..1303004, 1304001, 1401001
Scripts available:
1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001..1303004, 1304001, 1401001
To be applied:
(none)
2014-05-21 12:54:39,310 INFO [main] H2EventListener:30 - Initializing database: jdbc:h2:db/h2db/cruise
2014-05-21 12:54:39,312 INFO [main] DbDeployMigration:63 - Database upgraded
2014-05-21 12:54:39,313 INFO [main] H2EventListener:77 - Closing database
2014-05-21 12:54:39,456 INFO [main] H2Database:123 - [db] Using connection configuration jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=131072;TRACE_LEVEL_FILE=1;TRACE_MAX_FILE_SIZE=16;DATABASE_EVENT_LISTENER='com.thoughtworks.go.server.util.H2EventListener' [User: sa]
2014-05-21 12:54:39,457 INFO [main] H2Database:113 - Creating datasource with url=jdbc:h2:db/h2db/cruise;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=131072;TRACE_LEVEL_FILE=1;TRACE_MAX_FILE_SIZE=16;DATABASE_EVENT_LISTENER='com.thoughtworks.go.server.util.H2EventListener'
2014-05-21 12:54:39,917 INFO [main] H2EventListener:30 - Initializing database: jdbc:h2:db/h2db/cruise
Creating index SYS:SYS_ID 0%
2014-05-21 12:54:40,021 INFO [main] H2EventListener:82 - Creating index SYS:SYS_ID 0%
Creating index SYS:SYS_ID 0%
2014-05-21 12:54:40,021 INFO [main] H2EventListener:82 - Creating index SYS:SYS_ID 0%
2014-05-21 12:54:40,052 INFO [main] H2EventListener:34 - Database is opened
2014-05-21 12:54:40,054 INFO [main] H2EventListener:30 - Initializing database: jdbc:h2:db/h2db/cruise
2014-05-21 12:54:40,097 WARN [main] ConfigurationFactory:134 - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/ehcache-core-2.0.0.jar!/ehcache-failsafe.xml
2014-05-21 12:54:40,128 WARN [main] CacheManager:566 - Creating a new instance of CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
The source of the configuration was net.sf.ehcache.config.generator.ConfigurationSource$DefaultConfigurationSource@19dad1ae.
The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1400694880128.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
2014-05-21 12:54:40,202 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.go.domain.NotificationFilter]; using defaults.
2014-05-21 12:54:40,210 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.go.domain.User]; using defaults.
2014-05-21 12:54:40,212 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.go.config.EnvironmentVariableConfig]; using defaults.
2014-05-21 12:54:40,223 WARN [main] EhCacheProvider:93 - Could not find configuration [com.thoughtworks.go.domain.User.notificationFilters]; using defaults.
2014-05-21 12:54:40,254 WARN [main] EhCacheProvider:93 - Could not find configuration [org.hibernate.cache.UpdateTimestampsCache]; using defaults.
2014-05-21 12:54:40,255 WARN [main] EhCacheProvider:93 - Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
2014-05-21 12:54:40,579 INFO [main] ServerVersion:69 - [Startup] Go Version: 14.1.0(18882-d0272e1d227b5e)
2014-05-21 12:54:40,583 INFO [main] ServerVersion:70 - [Startup] PID: 25717
2014-05-21 12:54:40,584 INFO [main] ServerVersion:71 - [Startup] JVM properties: {jruby.rack.request.size.threshold.bytes=30000000, java.runtime.name=OpenJDK Runtime Environment, java.protocol.handler.pkgs=com.simontuffs, sun.boot.library.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/amd64, java.vm.version=24.51-b03, java.vm.vendor=Oracle Corporation, java.vendor.url=http://java.oracle.com/, path.separator=:, java.vm.name=OpenJDK 64-Bit Server VM, file.encoding.pkg=sun.io, sun.java.launcher=SUN_STANDARD, user.country=US, sun.os.patch.level=unknown, java.vm.specification.name=Java Virtual Machine Specification, user.dir=/var/lib/go-server, java.runtime.version=1.7.0_55-mockbuild_2014_04_16_12_11-b00, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.endorsed.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/endorsed, os.arch=amd64, java.io.tmpdir=/tmp, line.separator=
, java.vm.specification.vendor=Oracle Corporation, os.name=Linux, cruise.config.dir=/etc/go, sun.jnu.encoding=UTF-8, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, java.specification.name=Java Platform API Specification, java.class.version=51.0, jetty.home=/var/lib/go-server, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, os.version=2.6.32-431.1.2.0.1.el6.x86_64, cruise.server.port=8153, user.home=/var/go, user.timezone=GMT-05:00, org.mortbay.jetty.Request.maxFormContentSize=30000000, java.awt.printerjob=sun.print.PSPrinterJob, file.encoding=UTF-8, java.specification.version=1.7, java.class.path=/usr/share/go-server/go.jar, user.name=go, cruise.config.file=/etc/go/cruise-config.xml, java.vm.specification.version=1.7, sun.java.command=/usr/share/go-server/go.jar, java.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre, sun.arch.data.model=64, user.language=en, java.specification.vendor=Oracle Corporation, awt.toolkit=sun.awt.X11.XToolkit, java.vm.info=mixed mode, java.version=1.7.0_55, java.ext.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/ext:/usr/java/packages/lib/ext, sun.boot.class.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64/jre/classes, java.vendor=Oracle Corporation, file.separator=/, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, cruise.server.ssl.port=8154, rails.use.compressed.js=true, sun.cpu.isalist=}
2014-05-21 12:54:40,585 INFO [main] ServerVersion:72 - [Startup] Environment Variables: {TERM=xterm, GEM_PATH=/usr/local/rvm/gems/ruby-2.0.0-p353:/usr/local/rvm/gems/ruby-2.0.0-p353@global, JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.55.x86_64, SHLVL=2, SERVER_WORK_DIR=/var/lib/go-server, _system_arch=x86_64, rvm_version=1.25.7 (stable), _system_name=CentOS, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, MAIL=/var/spool/mail/go, HOSTNAME=xxx.xxx.xxx.xxx, PWD=/var/lib/go-server, rvm_prefix=/usr/local, LOGNAME=go, IRBRC=/usr/local/rvm/rubies/ruby-2.0.0-p353/.irbrc, G_BROKEN_FILENAMES=1, _=/usr/bin/nohup, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, OLDPWD=/var/go, SHELL=/bin/bash, rvm_bin_path=/usr/local/rvm/bin, HISTSIZE=1000, _system_type=Linux, PATH=/usr/local/rvm/gems/ruby-2.0.0-p353/bin:/usr/local/rvm/gems/ruby-2.0.0-p353@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p353/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/rvm/bin:/var/go/bin, GEM_HOME=/usr/local/rvm/gems/ruby-2.0.0-p353, USER=go, GO_SERVER_PORT=8153, HISTCONTROL=ignoredups, HOME=/var/go, rvm_path=/usr/local/rvm, _system_version=6, LESSOPEN=|/usr/bin/lesspipe.sh %s, GO_SERVER_SSL_PORT=8154, LANG=en_US.UTF-8, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass}
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
Compiler warnings:
WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
2014-05-21 12:54:42,897 INFO [main] MagicalGoConfigXmlWriter:95 - [Serializing Config] Generating config partial.
2014-05-21 12:54:42,898 INFO [main] GoConfigDataSource:129 - Config file changed at 1400694882000
2014-05-21 12:54:42,898 INFO [main] GoConfigDataSource:130 - Reloading config file: /etc/go/cruise-config.xml
2014-05-21 12:54:42,955 INFO [main] MagicalGoConfigXmlWriter:95 - [Serializing Config] Generating config partial.
2014-05-21 12:54:42,992 INFO [main] CachedGoConfig:110 - About to notify config listeners
2014-05-21 12:54:42,993 INFO [main] CachedGoConfig:112 - Finished notifying all listeners
2014-05-21 12:54:43,000 INFO [main] BuildAssignmentService:136 - [Configuration Changed] Removing jobs for pipelines that no longer exist in configuration.
2014-05-21 12:54:43,037 INFO [main] PipelineRepository:84 - Start updating pipeline timeline
2014-05-21 12:54:43,054 INFO [main] PipelineRepository:88 - Pipeline timeline updated
2014-05-21 12:54:43,055 INFO [main] PipelineSqlMapDao:109 - Loading active pipelines into memory.
2014-05-21 12:54:43,056 INFO [main] PipelineSqlMapDao:406 - Retriving Active Pipelines from Database...
2014-05-21 12:54:43,062 INFO [main] PipelineSqlMapDao:111 - Done loading active pipelines into memory.
2014-05-21 12:54:43,120 INFO [main] ConsoleActivityMonitor:66 - Found '0' building jobs. Added them with '2014-05-21T12:54:43.063-05:00' as the last heard time
/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
2014-05-21 12:54:47,341 WARN [main] /go:89 - unable to create shared application instance
org.jruby.rack.RackInitializationException: can't activate rack (~> 1.0.0, runtime) for [], already activated rack-1.5.2 for []
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:50:in `require_frameworks_with_servlet_env'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:134:in `process'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:113:in `run'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33:in `load'
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:33:in `load_environment'
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:156:in `new'
from <script>:2
from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from <script>:2:in `new'
from <script>:2
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:164)
at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:51)
at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:27)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.thoughtworks.go.server.JettyServer.start(JettyServer.java:56)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:97)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:89)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: org.jruby.exceptions.RaiseException: can't activate rack (~> 1.0.0, runtime) for [], already activated rack-1.5.2 for []
at Kernel.raise(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:271)
at Rails::Initializer.require_frameworks(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:50)
at Rails::Initializer.require_frameworks_with_servlet_env(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:134)
at Rails::Initializer.process(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:113)
at #<Class:01x66c2c671>.run(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33)
at (unknown).(unknown)(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33)
at Kernel.load(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:33)
at JRuby::Rack::RailsBooter.load_environment(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:156)
at #<Class:01x177a65ca>.new(<script>:2)
at (unknown).(unknown)(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Kernel.instance_eval(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Kernel.instance_eval(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Rack::Builder.initialize(<script>:2)
at (unknown).new(<script>:2)
at (unknown).(unknown)(:1)
2014-05-21 12:54:47,342 WARN [main] /go:89 - Error: application initialization failed
org.jruby.rack.RackInitializationException: unable to create shared application instance
at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:39)
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:40)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at com.thoughtworks.go.server.JettyServer.start(JettyServer.java:56)
at com.thoughtworks.go.server.GoServer.startServer(GoServer.java:97)
at com.thoughtworks.go.server.GoServer.go(GoServer.java:89)
at com.thoughtworks.go.server.util.GoLauncher.main(GoLauncher.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.simontuffs.onejar.Boot.run(Boot.java:306)
at com.simontuffs.onejar.Boot.main(Boot.java:159)
Caused by: org.jruby.rack.RackInitializationException: can't activate rack (~> 1.0.0, runtime) for [], already activated rack-1.5.2 for []
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:50:in `require_frameworks_with_servlet_env'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:134:in `process'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:113:in `run'
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33
from /var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33:in `load'
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:33:in `load_environment'
from file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:156:in `new'
from <script>:2
from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from <script>:2:in `new'
from <script>:2
at org.jruby.rack.DefaultRackApplicationFactory$4.init(DefaultRackApplicationFactory.java:164)
at org.jruby.rack.DefaultRackApplicationFactory.getApplication(DefaultRackApplicationFactory.java:51)
at org.jruby.rack.SharedRackApplicationFactory.init(SharedRackApplicationFactory.java:27)
... 22 more
Caused by: org.jruby.exceptions.RaiseException: can't activate rack (~> 1.0.0, runtime) for [], already activated rack-1.5.2 for []
at Kernel.raise(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:271)
at Rails::Initializer.require_frameworks(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:50)
at Rails::Initializer.require_frameworks_with_servlet_env(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:134)
at Rails::Initializer.process(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/vendor/rails/railties/lib/initializer.rb:113)
at #<Class:01x66c2c671>.run(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33)
at (unknown).(unknown)(/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/rails/config/environment.rb:33)
at Kernel.load(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:33)
at JRuby::Rack::RailsBooter.load_environment(file:/var/lib/go-server/work/Jetty_0_0_0_0_8153_cruise.war__go__.mt8b37/webapp/WEB-INF/lib/jruby-rack-0.9.6-b6d3d45.jar!/jruby/rack/rails.rb:156)
at #<Class:01x177a65ca>.new(<script>:2)
at (unknown).(unknown)(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Kernel.instance_eval(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Kernel.instance_eval(/usr/local/rvm/gems/ruby-2.0.0-p353/gems/rack-1.5.2/lib/rack/builder.rb:55)
at Rack::Builder.initialize(<script>:2)
at (unknown).new(<script>:2)
at (unknown).(unknown)(:1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment