How to setup Cluster on Glassfish v3 This how to imposes that you already have glassfish v3 setup and: – running under the user “fish” – have ssh key trust between both servers (howto setup that) To setup glassfish it […]
glassfish disable trace method
Glassfish can not disable the trace method witch is a security problem! This is what the Oracle support wrote me: I did some testing using the following CLI method because it is not possible to use the GUI to alter […]
How can I configure GlassFish to use a 64-bit JVM?
If you need to break the 2GB or 4GB heap memory size(depending on your OS/JVM combinaison) the maximum barrier for your GlassFish-powered application, you can move to a 64-bit JVM. The following applies to the GlassFish “developer” and “cluster” profiles. To […]
How to setup timezone on glassfish
How to setup timezone on glassfish/jvm Download http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/tzupdater-1_3_33-2010l.zip?BundledLineItemUUID=IXeJ_hCvlacAAAErQScpGPRn&OrderID=97KJ_hCvNGcAAAErNCcpGPRn&ProductID=T56J_hCwuZIAAAEre0AZ1adz&FileName=/tzupdater-1_3_33-2010l.zip Application Server > JVM Settings > JVM Options Add JVM Option -Duser.timezone=Brazil/East Configuration –> System settings user.timezone = Brazil/East Restart glassfish # service glassfish stop # java -jar tzupdater.jar -u -v # […]
How to monitor J2EE applications
How to monitor J2EE applications I found a cool JMX plugin that is does just that. In the example I am doing for Glassfish but I believe it can be done for Weblogic or Tomcat as well. I found quite […]
socket:java.net.SocketException: Too many open files
On our Glassfish enviroment we started seeing the following error: socket:java.net.SocketException: Too many open files Its caused by a limit on the OS. To find out your OS limit type: # ulimit -n To check how many open files a […]
How to Install GlassFish on CentOS
How to Install GlassFish ESB on CentOS / Red Hat / Fedora I did my installation on a CentOS 5.4 and I confirm all works, just follow step-by-step. Download JDK 6u12 # cd /usr # wget http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u12-linux-i586.bin?BundledLineItemUUID=wFlIBe.lB8gAAAElzSEadwyv&OrderID=8fxIBe.lQPoAAAEluyEadwyv&ProductID=1O1IBe.pLl4AAAEerDlTv_an&FileName=/jdk-6u12-linux-i586.bin Download GlassFish 2.1 […]