Skip to content

Instantly share code, notes, and snippets.

@therobot
Created July 18, 2011 16:37

Revisions

  1. therobot revised this gist Jul 18, 2011. 1 changed file with 27 additions and 0 deletions.
    27 changes: 27 additions & 0 deletions trinidad.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    trinidad@t2:~/seguimiento/app/current$ jruby -S trinidad -f /etc/trinidad/trinidad.yml
    Jul 18, 2011 6:37:13 PM org.apache.coyote.AbstractProtocolHandler init
    INFO: Initializing ProtocolHandler ["ajp-bio-3031"]
    Jul 18, 2011 6:37:13 PM org.apache.coyote.AbstractProtocolHandler init
    INFO: Initializing ProtocolHandler ["http-bio-3000"]
    Jul 18, 2011 6:37:13 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Tomcat
    Jul 18, 2011 6:37:13 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.11
    2011-07-18 18:37:13 INFO: No global web.xml found
    2011-07-18 18:37:14 INFO: Info: received max runtimes = 4
    2011-07-18 18:37:14 INFO: jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (OpenJDK Client VM 1.6.0_20) [linux-i386-java]
    2011-07-18 18:37:14 INFO: Info: using runtime pool timeout of 30 seconds
    2011-07-18 18:37:14 INFO: Info: received min runtimes = 1
    2011-07-18 18:37:14 INFO: Info: received max runtimes = 4
    2011-07-18 18:37:24 INFO: Info: add application to the pool. size now = 1
    2011-07-18 18:37:24 INFO: The start() method was called on component [Realm[Simple]] after start() had already been called. The second call will be ignored.
    2011-07-18 18:37:24 INFO: No global web.xml found
    2011-07-18 18:37:24 INFO: Info: received max runtimes = 4
    2011-07-18 18:37:24 INFO: jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (OpenJDK Client VM 1.6.0_20) [linux-i386-java]
    2011-07-18 18:37:24 INFO: Info: using runtime pool timeout of 30 seconds
    2011-07-18 18:37:24 INFO: Info: received min runtimes = 1
    2011-07-18 18:37:24 INFO: Info: received max runtimes = 4
    2011-07-18 18:37:31 SEVERE: Error while registering Oracle JDBC Diagnosability MBean.
    2011-07-18 18:37:35 INFO: Info: add application to the pool. size now = 1
    2011-07-18 18:37:35 INFO: Starting ProtocolHandler ["ajp-bio-3031"]
    2011-07-18 18:37:35 INFO: Starting ProtocolHandler ["http-bio-3000"]
  2. therobot created this gist Jul 18, 2011.
    15 changes: 15 additions & 0 deletions trinidad.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    ---
    port: 3000
    ajp:
    port: 3031
    environment: production
    jruby_min_runtimes: 1
    jruby_max_runtimes: 4
    log: INFO
    web_apps:
    seguimiento:
    web_app_dir: /home/trinidad/seguimiento/app/current
    context: /backend
    seguimiento-frontend:
    web_app_dir: /home/trinidad/seguimiento-frontend/app/current
    context: /