I am attempting to test a RESTful webservice on Glassfish everything works ok until actually try to process a simple GET it throws this:
Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.0.1.v20100213-r6600): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Java Runtime Environment (JRE) version 1.6 is not supported by this driver. Use the sqljdbc4.jar class library, which provides support for JDBC 4.0. Error Code: 0
I thought this was related to the presence of an earlier version sqljbc and 1.5 JDK as far I know I am using 1.6 and sqljdbc4.jar is included. Any ideas?
Thanks Rickud