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. 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:

Here is the bug: