Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 284 lines (177 sloc) 8.525 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
== Trinidad 1.4.0.RC (2012-07-03)

* requires latest Tomcat 7.0.28 (jars 1.0.5) due context reloading fix
* requires latest jruby-rack 1.1.7 due delegating RackLogger to JUL
* Trinidad::WebApp API revisited some changes are non-backwards compatible !
* enable running multiple applications with different ruby versions (using the
  jruby_compat_version configuration option)
* allow arbitrary keys to be stored with Trinidad::Configuration
* changed Trinidad::Lifecycle::Base to be a (ruby-like) base lifecycle listener
  skeleton implementation, thus removed all web app specifics from the class
  (include Trinidad::Lifecycle::WebApp::Shared to gain the same functionality)
* removed unused Trinidad::Rack module and KeyTool from Trinidad::Tomcat
* reinvented server/application logging with Trinidad::Logging :
  - refactored Trinidad's global logging configuration with JUL
  - application logs into log/env.log by default with daily rolling
  - console logs are now less chatty and only print logs from applications
    running in development mode (configuration to come in a later release)
  - make sure Trinidad's custom log formatter prints thrown exceptions
  - use local timestamps with (file) log formatter by default
* Trinidad::Server#add_web_app for code re-use during rolling redeploys
* refactored application (monitor based `touch 'tmp/restart.txt'`) reloading
  - bring back synchronous context reloading and make it default
  - "zero downtime" async rolling reload is still supported and configurable via
    the reload_strategy: rolling configuration option
  - updated the context restart code - hot deploys should now work reliably (#75)
  - moved Trinidad::Lifecycle::Host under Trinidad::Lifecycle::WebApp::Host
  - Trinidad::Lifecycle::Host now accepts a server instance instead of a tomcat
  - introduced Trinidad::WebApp::Holder to be used instead of bare Hash
* add async_supported attribute for servlet (3.0) configuration

== Trinidad_jars 1.0.5 (2012-07-03)

* Upgrade to Tomcat 7.0.28
* Patched org.apache.juli.FileHandler to allow daily rolling customization

== Trinidad_jars 1.0.4 (2012-06-14)

* Upgrade to Tomcat 7.0.27

== Trinidad_jars 1.0.3 (2012-04-04)

* Upgrade to Tomcat 7.0.26

== Trinidad 1.3.5 (2012-04-04)

* Correctly detect :rackup from main config for web apps (#66)
* Rearrange trinidad.gemspec to be (always) usable with Bundler's :git paths.
* Use out/err streams from the Ruby runtime for logging instead of the default console log handler.
* Make sure tomcat exits on initialization failure.
* Yield from block passed to Trinidad's Rack::Handler

== Trinidad 1.3.4 (2012-02-20)

* Do not explicitely load rack/handler/trinidad.rb, it solves load issues with trinidad_init_services.

== Trinidad 1.3.3 (2012-02-16)

* Fix issues loading the default configuration file from the rack handler

== Trinidad 1.3.2 (2012-01-13)

* Fix #29: Rack::Handler.register not found error

== Trinidad 1.3.1 (2012-01-06)

* Fix Rack handler configuration issues

== Trinidad_jars 1.0.2 (2011-12-31)

* Bump Tomcat's version to 7.0.23

== Trinidad 1.3.0 (2011-12-30)

* Support for virtual hosts
* Ruby configuration DSL
* Rack handler

== Trinidad 1.2.3 (2011-07-13)

* fix JRuby class loader generation with hot deploy

== Trinidad 1.2.2 (2011-07-12)

* Better log formatter
* Allow to use an ERB template as configuration file
* Fix trinidad_init_services compatibility issues

== Trinidad 1.2.1 (2011-06-15)

* Allow to specify the monitor file from the command line

== Trinidad 1.2.0 (2011-05-24)

* Zero downtime hot deploy
* Autodetect framework and threadsafe environment
* Upgrade jruby-rack dependency to 1.0.9

== Trinidad 1.1.1 (2011-03-27)

* Remove shared runtime initialization

== Trinidad 1.1.0 (2011-03-18)

* Hot deployment integrated in the core gem
* Load config/trinidad.yml by default without the `-f` option if it exists
* Load config.ru for applications under the `apps_base` directory when the option is enabled
* Share the JRuby runtime with JRuby-Rack

== Trinidad_jars 1.0.1 (2011-03-17)

* Upgrade to Tomcat 7.0.11

== Trinidad_jars 1.0.0 (2011-01-18)

* Upgrade to Tomcat 7.0.6, first stable release of the Tomcat 7 branch.

== 1.0.5 (2011-01-13)

* Fix trailing spaces on arguments. Thank you Windows.

== 1.0.4 (2011-01-11)

* Add 'jruby.compat.version' parameter to let jruby-rack loads on 1.9 mode

== 1.0.3 (2010-12-08)

* fix TRINIDAD-31: fix bug causing trailing slashes errors loading assets

== 1.0.2 (2010-11-11)

* stop using application directory as work directory to prevent TRINIDAD-27 and other issues

== Trinidad_jars 0.3.3 (2010-11-11)

* fix TRINIDAD-27: Tomcat 7.0.2 deletes working directory upon shutdown

== 1.0.1 (2010-11-04)

* fix problem loading lifecycle

== 1.0.0 (2010-11-04)

* Warbler support
* Add APR listener to run under native connectors
* fixes #24: setting address doesn't affect listening socket
* fix issues configuring the logger out of the lifecycle listener

== 0.9.12 (2010-10-21)

* fix problems loading tomcat classes from rack application
* fix xml parsing of web.xml. Thanks to Karol Bucek

== 0.9.11 (2010-10-20)

* configure applications base directory to run several applications into the same container

== 0.9.10 (2010-10-02)

* configure logging as expected by rails applications

== 0.9.9 (2010-09-29)

* set tomcat's server address properly

== 0.9.8 (2010-09-27)

* fix http connector protocol enabling nio

== 0.9.7 (2010-09-27)

* add option --adress to set the Trinidad's host

== Trinidad_jars 0.3.2 (2010-09-26)

* fix TRINIDAD-21: trinidad_jars 0.3.1 breaks logging extension

== 0.9.6 (2010-09-12)

* add option to specify the application directory path from the command line

== Trinidad_jars 0.3.1 (2010-09-12)

* update to Tomcat 7.0.2
* fix TRINIDAD-17: NPE when web app has a context path

== 0.9.5 (2010-08-08)

* fix TRINIDAD-15: trinidad defines String#camelize incompatibly with ActiveSupport: Argument is missing
* update JRuby-Rack dependency to avoid compatibility issues with rvm'

== 0.9.4 (2010-08-04)

* fix error configuring ssl

== 0.9.3 (2010-07-27)

* Tomcat updated to version 7.0.0
* fix TRINIDAD-9: Tomcat SSL configure options keystore and keystoreFile
* fix TRINIDAD-10: When a web.xml is provided the tomcat's context doesn't start properly

== 0.9.2 (2010-05-24)

* Autoload the rackup file when it's under the directory WEB-INF.
* Let jruby-rack reads the rackup file instead of passing its content as an init parameter.
* Allow to configure the rack servlet from the configuration options.
* Allow to use crt files to configure SSL

== 0.9.1 (2010-05-09)

* Move all configuration logic to a Lifecycle listener:
    - Keeps the initial configuration so the provided web xml files are no more needed.
    - Avoids workarounds in the hotdeploy extension.
* Disable more Tomcat's default behaviours. Process Tlds is also disabled.
* Allow to specify webapp extensions in the extensions root section.
* Allow to configure the Http connector.

== 0.9.0 (2010-04-28)

* Tomcat updated to version 6.0.26, added constant to get its version.
* Jars cleaned, 300kb less to load :)
* Default configuration file name moved from tomcat.yml to trinidad.yml
* Fixes bug merging configuration files
* Configuring application through web.xml to avoid weird lifecycle problems

== 0.8.3 (2010-04-17)

* Extensions improvements:
    - Enable command line extensions.
    - Allow to overload the server.

== 0.8.2 (2010-04-09)

* Fixes yaml parser error. Thank to @elskwid

== 0.8.1 (2010-04-06)

* Uses JRuby-Rack gem

== 0.8.0 (2010-04-04)

* Support for extensions (database connection pooling is the first one using it)
* Splitting the gem in two, the core gem and the jars gem

== 0.7.0 (2009-12-01)

* Support to run different applications within the same Tomcat container

== 0.6.0 (2009-11-02)

* Rackup compatibe frameworks support

== 0.5.0 (2009-10-27)

* JRuby-rack updated to version 0.9.5
* Added Rack dependency to avoid using vendorized version

== 0.4.1 (2009-07-26)

* using jruby-rack development version to solve some bugs related with it.

== 0.4.0 (2009-07-16)

* support for ssl connections
* support for ajp connections

== 0.3.0 (2009-07-07)

* project renamed due to tomcat legal issues

== 0.2.0 (2009-06-23)

* custom configuration from a yaml file
* load options from a custom web.xml

== 0.1.2

* Autoload application custom jars and classes.
* Added some specs.
* Server refactor.

== 0.1

* Initial release.
* Running default rails applications.
Something went wrong with that request. Please try again.