Permalink
Commits on Oct 8, 2012
  1. slight grammar correction in the restart section

    nacengineer committed with kares Oct 8, 2012
    change than to then
  2. we're at 1.4.4.PRE

    kares committed Oct 8, 2012
Commits on Sep 20, 2012
  1. prepare for trinidad_jars 1.1.0

    kares committed Sep 20, 2012
  2. DO NOT CHANGE resources.doc_base (at least for now)

    kares committed Sep 20, 2012
    - makes JRuby::Rack quite sad since we're somehow still using the default app layout
    - also it will probably make users less confused? due how $servlet_context.getRealPath will assume app root as base
  3. support for packing up another jar with trinidad_jars

    kares committed Sep 20, 2012
    - trinidad-rb.jar with a bunch of Java to be used by Trinidad
    - refactor src/tomcat-core to contain patches for tomcat-core.jar
    - make src/trinidad-rb be a source for trinidad-rb.jar
Commits on Sep 19, 2012
  1. prepare for release 1.4.2

    kares committed Sep 19, 2012
  2. allow to keep (and configure) the jsp servlet

    kares committed Sep 19, 2012
    - moved default servlet configuration from Default into Shared
    - fix war? context_path checking - should convert to_s first
    - changed servlet mapping configuration behavior - when specified removes all current mappings and sets those specified
  3. change the (custom class) servlet naming convention to 'rack'

    kares committed Sep 19, 2012
    and use it for filter-name as well to allow a custom filter class
  4. decrease jruby.runtime.acquire.timeout default to 5.0 secs

    kares committed Sep 19, 2012
    (JRuby-Rack defaults to 10.0 secs currently)
  5. README updates

    kares committed Sep 19, 2012
    - mention 'new' assets serving capabilities
    - align with the revisited CLI options
    - make sure it's clear that the same default (pooling vs thread-safe) is used no matter the type of application
Commits on Sep 18, 2012
  1. only set the context_name for a configured web app

    kares committed Sep 18, 2012
    and leave the path resolution for the WebApp itself
  2. Rack::Handler Threads=MIN:MAX option makes no-sense

    kares committed Sep 18, 2012
    (no support in JRuby-Rack with embed usage)
  3. add `--runtimes min:max` option to CLI

    kares committed Sep 18, 2012
    - allow to disable threadsafe! detection by :threadsafe option
    - better jruby min/max runtimes resolution from config
  4. revisit commad-line parser

    kares committed Sep 18, 2012
    - add java_lib java_classes options (deprecate old)
    - dry out configuration defaults as much as possible
    - review option order to be more sensible
Commits on Sep 17, 2012
  1. support public (root) configuration with resource cache setup

    kares committed Sep 17, 2012
    - configure caching_allowed?, cache_max_size, cache_object_max_size and cache_ttl context parameters
    - support non-relative public directory to be specified
  2. make sure we point default servlet to public root !

    kares committed Sep 17, 2012
    + added explicit support for providing aliases (to achieve desired backward compatibility)
    - static assets (all from /public) should thus be server by TC
    - if the public dir doe not exist we keep it set to root directory (for now)
    - this is an important security fix as well (not exposing application files)
Commits on Sep 16, 2012
  1. a taste of WebApp::Lifecycle::Shared refactoring

    kares committed Sep 16, 2012
    - add a logger (delegating to the standard context log)
    - set doc_base (we "undocumented" overrides in config)
    - #set_work_dir replaced with #adjust_context
  2. allow absolute paths with web_xml configuration

    kares committed Sep 16, 2012
    + debug jars being added to class-path
Commits on Sep 15, 2012
  1. master is trinidad-1.4.2.PRE

    kares committed Sep 15, 2012
  2. replace WebApp's :libs_dir and :classes_dir

    kares committed Sep 15, 2012
    with :java_lib and :java_classes options (backwards compatible)
    also introduces sensible defaults - lib/java and lib/java/classes
Commits on Sep 14, 2012
  1. make web app work_dir default to ROOT/tmp

    kares committed Sep 14, 2012
    + make sure it is actually being set on the context
  2. only update the wrapper when a servlet_class specified

    kares committed Sep 14, 2012
    (instead of removing it a creating and adding a new one)
Commits on Sep 13, 2012
  1. support (servlet) :init_params with servlet configs

    kares committed Sep 13, 2012
    make sure RackServlet can be configured as an instance
  2. allow default servlet overrides (useful when serving assets)

    kares committed Sep 13, 2012
    also better RackServlet overrides (now there's a servlet-name convention used as well in case one overrides RackServlet)
  3. better servlet resolving - resolve optionally by name as well

    kares committed Sep 13, 2012
    support RackServlet naming convention for a custom class
Commits on Sep 12, 2012