title: Is Java 8 with Glassfish 2.1.1 possible?
body: <p>As the title says, is it possible? Right now, we have Java 6 + sqljdbc4 + glassfish 2.1.1. We're planning on upgrading our Java 6 to Java 8 in order for Sqljdbc42.jar to work, because we are having JDBC Connectivity issue and the solution might be to upgrade to sqljdbc42. Please see Option 1 in this link:</p>
  
  <p><a href="https://blogs.msdn.microsoft.com/dataaccesstechnologies/2016/11/30/intermittent-jdbc-connectivity-issue-the-driver-could-not-establish-a-secure-connection-to-sql-server-by-using-secure-sockets-layer-ssl-encryption-error-sql-server-returned-an-incomplete-respons/" rel="nofollow noreferrer">https://blogs.msdn.microsoft.com/dataaccesstechnologies/2016/11/30/intermittent-jdbc-connectivity-issue-the-driver-could-not-establish-a-secure-connection-to-sql-server-by-using-secure-sockets-layer-ssl-encryption-error-sql-server-returned-an-incomplete-respons/</a></p>
  
  <p>Of course some of you might say to upgrade Glassfish to a later version but in case is this is not an option, would errors occur? I found out that editing the asenv.bat will do the trick (<a href="http://alvinalexander.com/blog/post/java/fixing-glassfish-jdk-path-problem-solved" rel="nofollow noreferrer">http://alvinalexander.com/blog/post/java/fixing-glassfish-jdk-path-problem-solved</a>) but I'm not sure about the deeper problems we might face.</p>
  
  <p>Thank you so much for your answers.</p>