PROBLEM: unable to find valid certification path to requested target Erro server.log (java/glassfish): Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:325) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:219) at sun.security.validator.Validator.validate(Validator.java:218) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) […]
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 […]
Install Java in Ubuntu 8.04 and Ubuntu 8.10
So you need to browse JVM cable websites using Firefox, here is how to do it: # apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts The following NEW packages will be installed: gsfonts-x11 java-common odbcinst1debian1 sun-java6-bin sun-java6-jre unixodbc xutils-dev 103MB # find / […]