JDK-6234682 : JCK15a: IE5 not able to bring up agent if deployment.javapi.jre.1.6.0.args changed.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2005-03-02
  • Updated: 2012-03-23
  • Resolved: 2005-03-09
Related Reports
Relates :  
Description
IE6 is not able to open the Y:\dtf\unified\knight-ws\suites\jck\jck1.5a\JCK-runtime-15a\classes\win-slave.html if deployment.javapi.jre.1.6.0.args=-client -Djavatest.security.allowPropertiesAccess=true -javaagent:Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/agent1.jar=file:///Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/tests/,opt1 -javaagent:Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/agent2.jar=file:///Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/tests/,opt2 -classpath=Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/classes;Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/javatest.jar  is set in the deployment.properties.

JDK            : mustang b24 (due to bug6215905, we cannot run JCK Plugin tests until bug6215905 was fixed in mustang b24)
JCK            : jck1.5a
Platform[s]    : Windows 2000
switch/Mode    : Fail: IE 6 plugin  
                 Pass: Mozilla 1.7
JCK test owner : http://javaweb.eng/jck/usr/owners.jto

Failed case    :  It cause this test failed.
 api/java_lang/instrument/Instrumentation/index.html#Instrumentation

deployment.properties and jti file are attached in the bug

jti file location:
  None
How to reproduce:
=====================
1. Map Y://cady/export
2. cd Y:/dtf/unified/results/export6/mustang/b24/jck/jck-jck-win2k_IE6-2005-02-18-14-04-02-0935/AT-02.18-14.06.17/RUNTIME.JPLIS.AGENT and run "javatest.sh"  (this will bring up IE and JavaTest.)
3. The slave agent will not start in IE.
4. Close the IE after sometime.
4. Open the Mozilla and open the same URL as IE.
5. Mozilla able to open the html file.

6. Open the deployment.properties from  $HOME//Application Data/Sun/Java/Deployment
7. Comment out deployment.javapi.jre.1.6.0.arg and start the IE6.  The test will failed becase it requires those args.


Test Machine:
anticline (2370, SCA14)


Error log:
=============
No error log


###@###.### 2005-03-02 00:28:15 GMT
###@###.### 2005-03-07 23:56:16 GMT

Comments
WORK AROUND If we open the JavaCosole before opening the IE with the html file, it is passed. This is just a WorkAround for now, but beta release is not acceptable. ###@###.### 2005-03-07 23:56:16 GMT
07-03-2005

EVALUATION I could see the same failure with Mozilla 1.7.2 on win2k. With either IE or Mozilla, I saw java.net.SocketException: Connection reset I'm attaching a java console output to this bug report. At this point, there is no hard evidence that this is a deployment or java plugin issue. I'm requesting to transfer this bug back to the jck team for further problem isolation. ###@###.### 2005-03-07 21:09:58 GMT The harness.trace file shows the following: --------------------------- # Trace file started at Mon Mar 07 12:59:43 PST 2005 # JavaTest version 3.2_02 # class directory: Y:\dtf\unified\knight-ws\suites\jck\jck1.5a\JCK-runtime-15a\lib\javate st.jar # using java: g:\progra~1\java\jdk1.6.0\jre Starting tests. Test suite class: com.sun.jck.lib.JCKTestSuite Test finder class: com.sun.javatest.finder.BinaryTestFinder Test starting: api/java_lang/instrument/Instrumentation/index.html#Instrumentation Test finished: api/java_lang/instrument/Instrumentation/index.html#Instrumentation: Faile d. Class linking error trying to instantiate test class "javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationTests": java.lang.NoClassDefFoundError: javaso ft/sqe/tests/api/java/lang/instrument/Instrumentation/LocalDirClassLoader Doing post-run cleanup Completed: Some tests did not pass ------------------------------- The javasoft.sqe.tests.api.java.lang.instrument.Instrumentation.InstrumentationTests class doesn't exist in either Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/agent1.jar or Y:/dtf/unified/knight-ws/suites/jck/jck1.5a/JCK-runtime-15a/lib/agent2.jar This is likely a test config. issue. ###@###.### 2005-03-07 21:27:55 GMT I'm able to load the win-slave.html applet with b26 without having to start the java console first. I tested it on a win2k machine with IE 6.0. Please re-test with b26. ###@###.### 2005-03-08 01:29:32 GMT ==================================== same problem shows in mustang b26 on anticline (win2k with IE6.0) ###@###.### 2005-03-09 00:00:04 GMT I've just vnc'ed into the anticline machine and noticed that the IE browser in that machine is version 5.0. The minimum IE version supported by Mustang is 6.0. Su-chen will re-test with another win2K machine with IE 6.0. ###@###.### 2005-03-09 01:14:34 GMT ================================= The bug happens with IE5.0, which is not supported in mustang (http://javaweb.sfbay.sun.com/java/web/jdk/releases/mustang/mustang-supported-configs.html). The test passes with IE6.0. So,I'm closing the bug. ###@###.### 2005-03-09 19:27:52 GMT
07-03-2005