GlassFish Archive
Yesterday I was trying to integrate GlassFish Application server with Apache in a Linux box. I was following my Integrating Apache with GlassFish tutorial which I tried in my local windows box. When I restarted my Apache web server, the server was throwing some error message and mod_jk did not work. This time the error [...]
Integrating GlassFish Application server with Apache web server
3 Comments Published October 14th, 2008 in GlassFishA typical production topology for GlassFish will be a front ending GlassFish with Apache for serving the static files. To integrate GlassFish Application Server with Apache web server follow the below steps. My Apache version was Apache/2.2.4 (Win32).
1. Download Mod JK from http://tomcat.apache.org/download-connectors.cgi. I downloaded mod_jk-1.2.26-httpd-2.2.4.so from there.
2. Rename mod_jk-1.2.26-httpd-2.2.4.so to mod_jk.so
3. Copy mod_jk.so file [...]
java.lang.NoSuchFieldError: USE_CUSTOM_STATUS_MSG_IN_HEADER
2 Comments Published October 10th, 2008 in GlassFishToday I was trying to integrate GlassFish Application Server with Apache 2.2. After making all the required configurations, both Apache and GlassFish server successfully started. However when I try to access a JSP using Mod JK I was getting the following exception in my GlassFish log file.
java.lang.NoSuchFieldError: USE_CUSTOM_STATUS_MSG_IN_HEADER
[...]
Creating and configuring a MySQL DataSource in GlassFish Application Server
0 Comments Published August 6th, 2008 in GlassFishCreating and configuring a MySQL DataSource in GlassFish Application Server.
Follow the below steps for creating and configuring a MySQL DataSource in GlassFish application server.
1. Download MySQL JDBC driver from http://dev.mysql.com/downloads/connector/j/3.1.html
2. Extract the contents of the zip file
3. Copy mysql-connector-java-x.x.x-bin.jar to GLASS_FISH_INSTALL_DIR\lib folder.
3. Start your GlassFish Application server by issuing the command ‘asadmin.bat start-domain domain1′ [...]
