📄 resin-3.0.13.xtp
字号:
<document> <header> <product>resin</product> <title>Resin 3.0.13 Release Notes</title> </header><body><summary objsummary="localtoc"/><s1 title="HessianProxyFactory.setReadTimeout(long)"><p>Added a setReadTimeout to the HessianProxyFactory. This capabilityis only supported by JDK 1.5.</p></s1><s1 title="active-wait-time"><p>An active-wait-time parameter is now available for the web-app. Thisspecifies the time Resin will wait during a restart for the new web-app.If the time expires, Resin will return a 503. The default is 15s.</p></s1><s1 title="forward target in rewrite"><example title="web.xml"><web-app> <rewrite-dispatch> <forward regexp='^/foo' target='/bar'/> </rewrite-dispatch></web-app></example></s1><s1 title="Manual web-app restart cookbook"><p>A <a href="doc|jmx-servlet.xtp">Restart cookbook</a> is available forcreating an admin servlet to stop, start, or update a web-app.</p></s1><s1 title="round-robin policy"><p>HmuxLoadBalanceServlet can now use a strict round-robin balance strategy.</p><example><servlet servlet-class="com.caucho.servlets.HmuxLoadBalanceServlet"> <init> <cluster>a</cluster> <strategy>load-balance</strategy> </init></servlet></example></s1><s1 title="clustered configuration and deployment"><p>Resin Pro can now be configured and deployed based on a masterconfiguration server. Configuration files and .wars placed on themaster will be propagated to the cluster.</p><p>The clustered files use the special "config:" scheme in the configurationfile, e.g. in archive-directory. The scheme is read-only and backedup on a client-side database to provide reliability when the masteris taken down.</p><example title="master configuration"><servlet-mapping url-pattern="/config"> <servlet-class>com.caucho.vfs.remote.RemoteFilesystemServlet</servlet-class> <init> <root>${resin.rootDir}</root> </init></servlet-mapping></example><p>On a config client, "config:" reads from the master.On the master or a non-clustered server, "config:" acts as a normalrelative path.</p> <example title="webapps configuration"><web-app-deploy> <archive-directory>config:webapps</archive-directory> <expand-directory>webapps</expand-directory><web-app-deploy></example><p>The config clients are started with the "-config-server"command-line argument, pointing to the configuration server.</p><example>unix> bin/httpd.sh -config-server http://config:8081/config \ -conf config:conf/resin.conf \ -server a</example></s1><s1 title="resin:type"><p>resin:type is now allowed in more places in the configuration file,in particular in the openssl <password> element.</p></s1><s1 title="Connection configuration"><p>The <database> configuration can now configure the createdconnections with <connection>. Currently the <transaction-isolation>,<read-only>, and <catalog> are configurable.</p><example><database jndi-name="jdbc/example"> <driver> ... </driver> <connection> <transaction-isolation>read-committed</transaction-isolation> </connection></database></example></s1><s1 title="Load balancer cluster client control"><p>Individual load balancer clients can now be disabled through JMX.</p><p>Given the following cluster</p><example><cluster-definition id="a"> <srun host="localhost" port="6802"/></cluster-definition></example><p>The name of a cluster client is:</p><example>resin:Server=Default, type=ClusterClient, Cluster=a, host=localhost, port=6802</example><p>The MBean interface is in com.caucho.server.cluster.mbean.ClusterClientMBean. The appropriate methods are <code>enable()</code>,<code>disable()</code>, and <code>isActive()</code>.</p></s1><s1 title="503 failover with HmuxLoadBalanceServlet"><p>The 503 failover has been improved with HmuxLoadBalanceServlet.</p><p>In addition, the web-app busy/inactive reporting has changed. Now,you can disable a single backend web-appand the load balancer will failover the web-app requeststo the following server.</p></s1><s1 title="driver-type"><p>The <database> driver now has optional driver-type.</p><example><database> <jndi-name>test</jndi-name> <driver type="test.jdbc.TestDriver" driver-type="ConnectionPoolDataSource"> <url>jdbc:test:foo</url> </driver> </database></example></s1><s1 title="server.rootDir"><p>Added server.rootDir to the tree-loader for shared jars.</p></s1><s1 title="access-log path-format"><p>The <access-log> can have a path-format attribute whichspecifies the path by date. Unlike the archive-path, the log iscreated the formatted name directly.</p></s1><s1 title="archive-path"><p>Added archive-path to web-app.</p></s1><s1 title="host-alias-regexp"><p>Added regexp support for host aliases.</p></s1><s1 title="IoC configuration for JMS"><p>Resin now has two IoC resources for JMS, a listener and amessage sender.</p><p>ListenerResource provides the capabilities of EJB message beans, withoutthe complexity of EJB.</p><example><resource type="com.caucho.jms.resource.ListenerResource"> <init> <connection-factory>\${jmsFactory}</connection-factory> <destination>\${queue}</destination> <listener type="example.MyListener"/> </init></resource></example></s1><s1 title="var for resource/bean"><p>Resin's IoC configuration tag, <resource> can now accepta "var" attribute, storing the resource in EL for later use.</p><example><resource var="child" type="example.MyChild"></resource><resource jndi-name="bean" type="example.MyBean"> <init> <child>\${child}</child> </init></resource></example></s1><s1 title="resin EL variables"><p>New configuration EL variables:</p><table><tr><td>$\{resin.home}</td><td>Same as $\{resinHome}</td></tr><tr><td>$\{resin.rootDir}</td><td>Same as $\{serverRoot}</td></tr><tr><td>$\{resin.resinProfessional}</td><td>Same as $\{isResinProfessional}</td></tr></table></s1><s1 title="Refactoring"><p>The deploy and config code has been refactored. Neither change shouldbe user-visible.</p></s1><s1 title="Special Thanks"><p>Thanks to Mircea Crisan for tracking down the JdbcMessageinit order issue with Postgres.</p><p>Thanks to John Didion for finding the missingHessian deserializer cache.</p><p>Thanks to Andy Nahapetian for finding and fixingthe Hessian reference serialization bug.</p></s1></body></document>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -