Post has shared content

I have a Java application that schedules two cron jobs after every 1 and 15 mins. It runs on Glassfish 4. We are using Hibernate with JPA Entity Manager for executing the queries on SQL Server database.

JDBC Connection Pool Settings are Initial and Minimum Pool Size:16 Maximum Pool Size:64 Pool Resize Quantity:4 Idle Timeout:0 Max Wait Time:0

JDBC Connection Pool Statistics after 22 Hours run NumConnUsed 0 count NumConnAcquired 14404 count NumConnReleased 14404 count NumConnCreated 16 count NumConnFree 16count

The number of acquired connections keeps on incrementing and the Glassfish 4 crashes after around 10 days with below exception.

RAR5117 : Failed to obtain/create connection from connection pool [ com.beonic.tiv5 ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: java.lang.RuntimeException: Got exception during XAResource.start:

Please suggest how to optimize Glassfish so that it doesn't crash.

hi,
I encountered an error 500 in accessing glassfish admin console. I'm currently using glassfish version 4.1. When i look at the glassfish server log, there is an error that says "error in creating tree form" . can you help me with this issue? thanks

Hi,
I would like to know if it is possible to re-read config files (web.xml, ejb-jar.xml, persistence.xml, etc) without undeploy/deploy the app. I have a webapp used by many enterprises, where I just config a new database for each new enterprise, without to be necessary to change the Java code. The problem is that, for each new enterprise, I have to undeploy/deploy the app because config files are changed, mainly ejb-jar.xml and persistence.xml.

Post has attachment

Is it possible do restart the connection pools to databases without restart all the Glassfish Server? I have an environment with many databases/many webapps, and sometimes it is needed to restart some database server, but I didn't like to restart GF. The webapps uses Firebird, PostgreSQL or MySQL database servers.

Hi, I have used GF 3.1.2.2 for many years and now I need to install a letsencrypt SSL certificate to secure my webapp. The webapp is running fine with a new keystores.jks file that I created with letsencrypt cert. But Admin Console doesn't log and server.log arises this error:

[#|2016-05-17T11:31:15.344-0400|SEVERE|glassfish3.1.2|org.glassfish.admingui|_ThreadID=72;_ThreadName=Thread-2;|javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target;
restRequest: endpoint=https://localhost:4848/management/domain/anonymous-user-enabled
attrs={}
method=GET|#]

What do I need to do to solve this?
I tried to reinstall GF, overwrite the keystore.jks after install, but this doesn't work too.

Post has attachment

please anyone tell me how to solve the glassfish (https) ssl certificate problem?its weird because due to this my Android application not connecting with glassfish.

Post has attachment
I need help with this problem
When I type asadmin I get "The system cannot find the path specified."

I'm using glassfish3 on Windows7 x64, I already installed jdk6

Please your help fiends
Thanks
Photo
Wait while more posts are being loaded