To disable TLSv1.0 on GlassFish on the admin console go to Configurations->server-config->HTTP Service->HTTP Listeners->Http Listener 2->SSL then uncheck the box for TLS and click save. If versions above TLS1.0 are available then they should be listed there and checked.
Alternatively run the asadmin command set configs.config.server-config.network-config.protocols.protocol.http-listener-2.ssl.tls-enabled=false
.
N.B. I do not know if GlassFish 3.1.2 supports TLS 1.1 or later, but GlassFish 4 later does.
CLICK HERE to find out more related problems solutions.