Resin Application Server version 4.0.25 Release
Caucho® released Resin 4.0.25 application server in January, with updated PaaS and WebSocket support. Specific PaaS improvements include cloud support with dynamic server updates and cloud configuration. WebSocket support was also updated for compliance with the final RFC 6455 release. The WebSocket protocol allows clients and servers to establish reliable, asynchronous, two-way communications over a persistent connection. WebSocket applications reduce the web server load and application complexity while maintaining optimum reliability.
Resin 4.0.25 includes:
- Resin PDF reports – now include Resin path, ports, licenses and application health status information. Reports can be generated on-demand within Resin-admin, automatically from health.xml, or by using Resin’s CLI.
- Resin WebSocket – passes protocol tests for the final RFC version of WebSockets.
- Password configuration – database passwords can now be scrambled in the config file, using encrypted passwords generated on the command line.
- DOS attack protection – updated to protect against Hash Table Vulnerability.
- Form-parameter-max – parameter limit added to
to restrict the maximum number of parameters in a form.
- Resin CLI added $HOME/.resin and -mode – to allow remote CLI administration by setting the server address without the need to change the /etc/resin.properties.
- Resin Cloud Support for home-cluster – to designate Triad hub servers and instruct additional cloud servers for automatic cluster connection and configuration.
- Resin Cloud Support for dynamic servers – new servers will automatically download any cloud configuration changes including database driver and application deployments.
- Resin Config updates:
- /etc/resin/resin-inf – configuration files and jar libraries can now be placed in /resin-inf directory for automatic inclusion in Resin, without the need to change resin.xml
- EL/rvar merging – EL variables in the resin.xml will now lookup properties without needing the "rvar" function
- Sample resin.xml updated – for better base configuration, sample resin.xml has been updated and split into sample "cluster-default.xml"
- Cloud configuration support – for immediate cloud configuration updates of new servers added to the Triad cluster hub
Resin 4 Wiki and Cookbooks are now available!
wiki4.caucho.com is a new Wiki devoted exclusively to Resin version 4, with all fresh content. We intend to keep this resource updated regularly, and have started by adding a number of Resin Cookbooks! These are short step-by-step instructions on how to use specific functionality of the Resin Java EE Application Server. Cookbook topics range from basic How To instructions to reasonably complex examples of configurations. They are great for new Resin users as well as experts who want to refresh their skills or learn about new capabilities.
Resin 4 Cookbooks:
- Resin Custom URL Rewriting
How to create custom Resin Rewrite Rules to take control of the Resin Web Server URL processing.
- Resin Clustered Application Server Configuration
An example of a complete web server configuration with applications deployed in webapps/, the Resin Health System activated, and Cloud support/clustering enabled.
- Resin Messaging: CDI and JMS Configuration
How to set up Resin CDI/XML configuration using configured JMS facades to simplify message sending, using both CDI and JNDI for compatibility.
- WebSocket and Hessian
Using Websocket with Hessian for custom WebSocket client.
- Resin Web Server: URL Write to Forbid non-SSL Request
How to use Resin 4.0′s URL rewrite as a security rule to require SSL for a section of a website.
- Java Cache with Cache Dependency Injection (CDI)
How to set up a Resin jCache ClusterCache configuration and inject it with CDI for faster application performance.
- Hessian Performance OutputStream
Speed up Hessian writing and save on garbage collection time.
San Diego Java User’s Group – January 17th with James Ward from Heroku
We had another fully attended and well delivered presentation at SDJUG by James Ward who discussed “Running Java, Play! And Scala Apps on the Cloud.” Ward demonstrated how simple and fast it is to deploy on Heroku PaaS platform with GIT. Heroku is a polyglot Cloud Application Platform that provides a new way of building and deploying web apps.
Next month’s meeting, David Dudas will discuss the Amazon Appstore for Android SDK. Discussion topics will include app development for Kindle Fire and mobile app monetization with in-app purchasing.
SDJUG 2012 event calendar:
- February 21st – David Dudas of A2Z Research and Development
- March 20th – Sang Shin of JavaPassion.com (still voting but it looks like the winning topic may be CDI)
Please join us for an evening of knowledge sharing, networking and food. SDJUG meetings are held at the Caucho® San Diego office.
Engineering positions – OPEN
We are actively looking for Java Protocol and Network Software Developers. Our engineering office is based in San Francisco next to the Montgomery BART station. If you are located in the Bay Area, we can be flexible with telecommuting.
This position includes core application server development and involves active contributions to our technology and roadmap direction. As part of our team, you will be working with the latest Java web specifications such as WebSocket, Hessian and HMTP/XMPP, as well as pushing new Internet Network protocols. You will have the opportunity to influence the next generation of Java web specifications from the ground up as well as explore and test your software engineering limits.
To join our engineering or sales team, please send your cover letter, resume and sample code to email@example.com.
Introducing Resin Command Line – part 2
There were several more command line additions since the publication of the Resin Command Line Overview a few months back. The additional commands allow enabling or disabling of servers, adding licenses, deploying new configuration files and generating admin passwords. Resin 4.0.25 features these new commands that round out the last bit of changes to the Resin CLI. In this blog entry, Caucho® engineer, Alex Rojkov will dive into the details of the new commands.
Resin PaaS-ready Solution for Cloud Deployment
PaaS, Platform as a Service, has taken prominence in the Cloud Computing ecosystem. It’s a popular choice for deploying applications to an IaaS, Infrastructure as a Service, environment. PaaS providers like Amazon AWS Elastic Beanstalk, Force.com and Google App Engine (GAE) free up SysAdmins and DevOps’ time from day-to-day application management. However when code flexibility and environment control outweighs convenience, then having a PaaS-ready solution like Resin Application Server is a better choice for deployment on Amazon EC2, Savvis and other IaaS platform providers. Resin’s PaaS-ready solution offers advanced clustering support such as versioned cluster-wide application deployment, data and session replication, service elasticity and much more.
Deployment Reliability with Resin Health System Monitoring and Actions
Because your site’s reliability is important, Resin monitors its internal sensors every 60 seconds, recording your server’s memory, CPU, network, database and cluster metrics. Many JVM, application server, and OS metrics are recorded. It saves the data so you can analyze problems after they occur. Saved data allows Resin to identify trends and anomalies in deployment. The Resin Health System can be directed to act based on health check results by mailing notifications, gathering further thread and memory information or even restarting. Resin brings high reliability and peace of mind to your Java deployment.
Monitoring Application Server Health Through Statistical Analysis of JMX Attributes
The Resin Application Server Health System (RHS) provides many useful tools to monitor, report and alert on the health of your application. Monitoring all the typical metrics such as high CPU, low memory, deadlocked threads and such are preconfigured in health.xml. However RHS goes beyond typical metrics by looking for anomalies in JMX attributes. Any numeric attribute of any MBean in JMX can be configured for monitoring, analysis, and remediation.
Copyright (c) 1998-2012 Caucho® Technology, Inc. All rights reserved.
Caucho®, resin® and quercus® are registered trademarks of Caucho® Technology, Inc.