[GLASSFISH-16717] LB tests compilation error on AIX due to com.sun.net.ssl.HostnameVerifier dependency Created: 24/May/11  Updated: 04/Jan/12

Status: Open
Project: glassfish
Component/s: test
Affects Version/s: 3.1.1_b06
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: mzh777 Assignee: mzh777
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

AIX 6.1, IBM JDK 1.6.0


Tags: 3_1_1-scrubbed

 Description   

The SQE HA LB tests have dependency on JDK package com.sun.net.ssl.HostnameVerifier that doesn't exist on IBM JDK. Compilcation error on IBM JDK for LB tests:

compile-common:
[javac] Compiling 130 source files to /export/home/ming/gf-ha-qe/build
[javac] /export/home/ming/gf-ha-qe/functional/lb/src/com/sun/dft/glassfish/lb/RR/http/MultipleFailoverHttpOnly.java:24: package com.sun.net.ssl does not exist
[javac] import com.sun.net.ssl.HostnameVerifier;
[javac] ^
[javac] /export/home/ming/gf-ha-qe/functional/lb/src/com/sun/dft/glassfish/lb/RR/http/OnlyHttpsListeners.java:21: package com.sun.net.ssl does not exist
[javac] import com.sun.net.ssl.HostnameVerifier;
[javac] ^
[javac] /export/home/ming/gf-ha-qe/functional/lb/src/com/sun/dft/glassfish/lb/RR/https_routing_off/BasicHttps.java:23: package com.sun.net.ssl does not exist
[javac] import com.sun.net.ssl.HostnameVerifier;
[javac] ^
[javac] /export/home/ming/gf-ha-qe/functional/lb/src/com/sun/dft/glassfish/lb/RR/https_routing_off/FailoverHttpHttpHttpsSingleSession.java:24: package com.sun.net.ssl does not exist
[javac] import com.sun.net.ssl.HostnameVerifier;
[javac] ^

java version "1.6.0"
Java(TM) SE Runtime Environment (build pap3260sr9fp1-20110208_03(SR9 FP1))



 Comments   
Comment by Alex Pineda [ 24/May/11 ]

Need help to find the solution to this issue

Comment by Alex Pineda [ 24/May/11 ]

Changing the category to "other" as we, QA, needs help with this issue.

Comment by scatari [ 24/May/11 ]

This is a test issue, consider using javax.net.ssl.HostnameVerifier instead of Sun specific implementation. The alternative is to bundle Sun Implementation in a special jar and use it in the classpath. Assigning back to the test Engineer.

Generated at Wed Aug 24 11:07:22 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.