Use Tomcat Connector for Load Balancing Glassfish or SJSAS

In this tutorial i describe how you can use the Tomcat Connector (mod_jk module) as a load balancer for the Glassfish or Sun Java System Application Server (SJSAS). It’s availabe as a loadable module for the Apache webserver and for the Microsoft IIS. The Tomcat Connector uses the packet oriented binary AJP13 protocol for the communication between the servlet container and the webserver. This architecture is optimized for speed and is much faster as a proxy configuration. Download components Download the actual mod_jk distribution for either Apache or IIS webserver. Download the actual Tomcat 5.5 distribution. Download commons-logging and commons-modeler[…]

Read more

Firebird connection pool with SJSAS

To use a connection pool datasource with the Sun Java System Application server you must copy the Firebird JDBC driver “Jaybird” in the directory ${com.sun.aas.instanceRoot}/lib/ext of your application server. The variable ${com.sun.aas.instanceRoot} stands for the application server instance directory, e.g. c:\sun\appserver\domains\domain1 for the default instance under windows environment. The jaybird driver includes the following special classes for sun application servers: org.firebirdsql.pool.sun.AppServerDataSource org.firebirdsql.pool.sun.AppServerConnectionPoolDataSource org.firebirdsql.pool.sun.AppServerXADataSource Use the following properties to configure the datasource: userName FireBird username password FireBird password databaseName FireBird database URL (host:<database path>) encoding Database charset loginTimeout Login timeout (seconds)

Read more