![]() |
| |||||||||||
| Resin 3.1 Documentation Examples Changes Overview Installation Configuration Quercus SOA/IoC JSP Servlets and Filters Admin (JMX) EJB Amber Security Performance Hessian XML and XSLT Third-party Troubleshooting/FAQ Command-Line Options Tags Common Tasks Relax Schema howto Config FAQ Scrapbook DB Scrapbook Environment tags <resin> <cluster> <server> Port tags <host> <web-app> <database> Session tags Rewrite tags Service tags Log tags EL variables and functions Control tags Tag Index |
Resin uses a tag-based xml configuration file, usually as , for declaring all available options. In addition, Resin supports EL variables, expressions and control structures. Environment tagsEnvironment tags configure class-loaders, logging, authentication and resources like databases, JMS queues, EJB servers, and web service clients. Many of the resources are stored in JNDI or in EL variables for later assembly. Any environment resource can appear in any of Resin environments: <resin>, <cluster>, <host> and <web-app>. Resources configured at parent levels are shared among all children, so a database can share connection pools for all web-apps or an authenticator can provide single-signon. <resin>The top-level <resin> tag contains any <cluster> defined for a deployment. It also provides an environment for class-loaders, logging and shared resources. <cluster>Each <cluster> contains a set of virtual hosts served by a collection of <server>s. The cluster provides load-balancing and distributed sessions for scalability and reliability. <server>The <server> tag configures a JVM instance in a cluster. It configures HTTP and cluster sockets, keepalives and timeouts, thread pooling, load balancing, and JVM arguments. Port tagsThe port tags configure <http> ports, addresses, cluster-ports and custom protocol TCP ports. <host>Describes the virtual host configuration tags. <web-app>
Web applications are configured with the <web-app> tag, which can occur in a number of places.
<database>The tag configures a database as a javax.sql.DataSource with numerous options. Resin offers robust database connection pooling. Session tagsResin adds a number of additions to the standard tag. Rewrite tagsResin's <rewrite-dispatch> tag allows configuration for URL aliasing, rewriting, dispatching, and redirection. <rewrite-real-path> configures an alias for files located on the filesystem. Service tagsResin's provides web service support with <web-service> and <web-service-client> for multiple protocols: REST, SOAP, Hessian, VM. Log tagsResin can perform access logging, specify where JDK logging interface messages go, and redirect the stderr and stdout for your applications. EL variables and functionsEach Environment in Resin has an associated set of EL variables and functions, and Resin's configuration files support EL expressions. Control tagsResin's configuration files provide support for certain control tags for conditional processing. Tag IndexAlphabetical index of all configuration tags.
| |||||||||||