TorqueBox 2.1.0 发布了,包含大量的 bug 修复和许多新特性,相关链接:
- Download TorqueBox 2.1.0 (ZIP)
- Browse HTML manual
- Browse JavaDocs
- Browse Gem RDocs
- Download PDF manual
- Download ePub manual
主要改进内容:
-
The version of AS7 that TorqueBox is based on has been updated to an incremental build based on their 7.1 branch. This fixed several clustering-related bugs.
-
The
injectmethod has been renamed tofetchto reduce confusion with Enumerable's built-ininjectmethod. All your old code will continue to work withinjectbut in some future release, probably 2.2.0,injectwill be removed. -
The default clustering mode of
TorqueBox::Infinispan::Cacheis now distributed instead of invalidated. See the caching clustering mode documentation for more details on the different modes. -
TorqueBox now respects the
$JRUBY_OPTSenvironment variable which is useful for setting default 1.8 vs 1.9 Ruby modes or various other JRuby settings that aren't exposed in our torquebox.yml or torquebox.rb configuration. See the documentation for more details. -
InvokeDynamic support in JRuby is now disabled by default in TorqueBox to work around a bug in current JDK 7 builds that manifests itself as a
NoClassDefFoundError. This is just a temporary measure to keep things working until a fixed JDK 7 is released. -
Scheduled jobs now support configurable timeout and concurrency options for more control over how long a job is allowed to run and how many jobs can be run in parallel. See the scheduled job timeout and concurrency documentation for more details.
与 2.0.3 比较的修改记录
- [TORQUE-514] - Allow setting a timeout on scheduled jobs
- [TORQUE-527] - Make TorqueBox::Logger work with the Rails console
- [TORQUE-633] - TorqueBox Should Respect $JRUBY_OPTS
- [TORQUE-677] - Print a useful error message when JRUBY_HOME is improperly set
- [TORQUE-774] - HornetQ not starting (Torquebox 2.0.1 on Ubuntu 11.10)
- [TORQUE-782] - session store logs warnings when multiple apps are deployed and one of them is at /
- [TORQUE-786] - Backstage web context missing after redeploying another app.
- [TORQUE-788] - HTTP Status 503 - The requested service () is not currently available for app A & B after deploying C. C works fine.
- [TORQUE-793] - Task concurrency > backgroundable tasks test fails on OpenJDK
- [TORQUE-806] - Scheduled job using infinispan cache not accessible in controller
- [TORQUE-808] - TorqueBox Sometimes Fails to Boot When Multiple Clustered Applications are Deployed
- [TORQUE-815] - Revert mod_cluster Backport Fixes Once Upgraded to AS 7.1.2
- [TORQUE-821] - Infinispan errors when clustered
- [TORQUE-823] - TorqueBox::Logger#info throws an error when passed nil
- [TORQUE-826] - The command `torquebox rails myapp` fails in 2.0.3 binary installations
- [TORQUE-829] - torquebox.rb is evaluated in the context of the global runtime and working directory is the JBoss directory
- [TORQUE-830] - Unintialized Constant ActiveSupport::Cache::TorqueBoxStore Error Following Caching Docs
- [TORQUE-831] - The :tx option is not included in the publish options in Table 8.2 of the documentation
- [TORQUE-833] - Infinispan cluster not communicating
- [TORQUE-834] - Errno::ENOENT: No such file or directory - config/torquebox.yml
- [TORQUE-838] - TorqueBox::Messaging::TextMessage should implement respond_to?
- [TORQUE-839] - Better error catching when the $JRUBY_HOME is not correct, there's no lib folder in it
- [TORQUE-840] - Rename inject method to fetch
- [TORQUE-842] - Integration Tests Using jmx4r Fail on RHEL 6
- [TORQUE-843] - Torquebox::Messaging::Destination should not accept a nil destination name
- [TORQUE-850] - Creating a TorqueBox Archive Fails on Windows
- [TORQUE-855] - Cache transactional values are not properly rolled back for failed XA transactions in a clustered cache
- [TORQUE-864] - Change the config sample in the job docs to not use 'throttle' as the example
- [TORQUE-870] - jdk1.7-64bit error which works in jdk1.7-32bit on windows
- [TORQUE-873] - torquebox rails command creates a "tasks" folder
- [TORQUE-874] - Exception Acquiring Ownership of Clustered Session
- [TORQUE-875] - The default cache clustering mode should be transactional distributed synchronous with optimistic locking
- [TORQUE-880] - Unable to change the Quartz threadpool size to accomodate different 'job' pool sizes
- [TORQUE-883] - FakeConstant does not resolve more than 2 levels
- [TORQUE-885] - 'rake torquebox:run' shouldn't allow RUBYOPT settings from passing through
- [TORQUE-886] - torquebox:archive mistakenly packages the 'vendor/bundle/jruby/RUBY_VERSION/cache/' directory
- [TORQUE-890] - Warn in documentation about setting JAVA_OPTS environment variable
- [TORQUE-896] - HASingleton jobs and services don't start if a cluster only has a single node
TorqueBox 的详细介绍:请点这里
TorqueBox 的下载地址:请点这里
