Glassfish: java.sql.SQLException: Serial context communication Exception

The connection pool is there and it has the right JNDI name and you still see this? This happened to me when I edited the domain.xml directly. I don’t know what causes it. It went away after I dropped the JDBC resource and recreated it and the error went away.

Advertisements

java.io.IOException: DerInputStream.getLength(): lengthTag=69, too big in Solaris and Glassfish

This is a bug in Solaris with encryption. To get around this, disable the encryption in Glassfish using the following option:
-Dcom.sun.net.ssl.enableECC=false

Here is the bug:
https://bugs.openjdk.java.net/browse/JDK-8031441