the database configuration page for the full
See the thirdparty driver configuration page for
sample configurations for several database drivers.
JNDI DataSource tutorial
and the DataSource
inversion-of-control tutorial for sample JDBC usage patterns.
Unix needs root privileges to bind to port 80 and 443, but Resin should
avoid running as root for security. It's best to use a port mapper
or firewall to map the protected port to an unprotected port
like 8080 to avoid running as root entirely.
On Linux, use iptables. An example iptable configuration.
If iptables is not available, the user-name and group-name
configuration can use setuid to change Resin's user after binding ports.
When the HTTP port is mapped from 80 to port 8080 or when a load balancer
redirects to an internal IP address, the application often needs
the external address, not the server's view.
Use host-name in the <host>
to set the canonical host and port name to the external address.
See the JMX restart example.
Copyright (c) 1998-2009 Caucho Technology, Inc. All rights reserved.
are registered trademarks of Caucho Technology, Inc.