Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4485387

HTTPS File post test cases FAIL using Merlin B72

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      solaris_8

      Description


      Platform : IA Solaris 8 / Solaris Sparc 7
      Browser : Netscape 4.x/
      SUT : dnm-dtf-014, j2dsqe-lab-1, blueski

      Steps to Reproduce

      On a IA solaris machine , Install the J2SE for merlin build 72 from :
      /net/sqesvr/deployment3/merlin/beta/x86.b72/

       2.) go to the below link and execute the testcases
            http://sqesvr.eng.sun.com/deployment1/ws/doc/proc/JPI_https.html

       3.)Go to Test case 3 (File Post ) --> Apache Web Server
          Execute the test case

      RESULT : It displays as FAILED in the Java Console.

      Here is the console dump when trace enabled to level 5
      --------------------------------------------------------------------------------

      Java(TM) Plug-in: Version 1.4.0
      Using JRE version 1.4.0-beta_refresh Java HotSpot(TM) Client VM
      User home directory = /home/srinim
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      p: reload proxy configuration
      q: hide console
      r: reload policy configuration
      s: dump system properties
      t: dump thread list
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      Referencing classloader: sun.plugin.ClassLoaderInfo@6a435f, refcount=1
      Jul 27, 2001 11:18:17 AM sun.plugin.usability.PluginLogger log
      INFO: Referencing classloader: sun.plugin.ClassLoaderInfo@6a435f, refcount=1
      Loading certificates from JPI session certificate store
      Jul 27, 2001 11:19:00 AM sun.plugin.usability.PluginLogger log
      INFO: Loading certificates from JPI session certificate store
      Loaded certificates from JPI session certificate store
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Loaded certificates from JPI session certificate store
      Added trace listener: sun.plugin.navig.motif.MotifAppletViewer[FilePost,0,0,460x125,invalid,layout=java.awt.BorderLayout]
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Added trace listener: sun.plugin.navig.motif.MotifAppletViewer[FilePost,0,0,460x125,invalid,layout=java.awt.BorderLayout]
      Added progress listener: sun.plugin.navig.motif.MotifAppletViewer[FilePost,0,0,460x125,invalid,layout=java.awt.BorderLayout]
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Added progress listener: sun.plugin.navig.motif.MotifAppletViewer[FilePost,0,0,460x125,invalid,layout=java.awt.BorderLayout]
      Loading applet...
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Loading applet...
      Initializing applet...
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Initializing applet...
      Starting applet...
      Jul 27, 2001 11:19:01 AM sun.plugin.usability.PluginLogger log
      INFO: Starting applet...
      Opening https://129.144.85.140:8443/https/tests/FilePost.class
      Jul 27, 2001 11:19:02 AM sun.plugin.usability.PluginLogger log
      INFO: Opening https://129.144.85.140:8443/https/tests/FilePost.class
      Connecting https://129.144.85.140:8443/https/tests/FilePost.class with proxy=webcache-cup:8080
      Jul 27, 2001 11:19:02 AM sun.plugin.usability.PluginLogger log
      INFO: Connecting https://129.144.85.140:8443/https/tests/FilePost.class with proxy=webcache-cup:8080
      Evaluate self.document.cookie =
      Jul 27, 2001 11:19:02 AM sun.plugin.usability.PluginLogger log
      INFO: Evaluate self.document.cookie =
      Checking if certificate is in JPI session certificate store
      Jul 27, 2001 11:19:05 AM sun.plugin.usability.PluginLogger log
      INFO: Checking if certificate is in JPI session certificate store
      User selected: 0
      Jul 27, 2001 11:19:16 AM sun.plugin.usability.PluginLogger log
      INFO: User selected: 0
      Adding certificate in JPI session certificate store
      Jul 27, 2001 11:19:16 AM sun.plugin.usability.PluginLogger log
      INFO: Adding certificate in JPI session certificate store
      Added certificate in JPI session certificate store
      Jul 27, 2001 11:19:16 AM sun.plugin.usability.PluginLogger log
      INFO: Added certificate in JPI session certificate store
      Saving certificates in JPI session certificate store
      Jul 27, 2001 11:19:16 AM sun.plugin.usability.PluginLogger log
      INFO: Saving certificates in JPI session certificate store
      Saved certificates in JPI session certificate store
      Jul 27, 2001 11:19:16 AM sun.plugin.usability.PluginLogger log
      INFO: Saved certificates in JPI session certificate store
      User selected: 0
      Jul 27, 2001 11:19:22 AM sun.plugin.usability.PluginLogger log
      INFO: User selected: 0
      Evaluate function setStatus() { self.status='Applet FilePost loaded';};void(setTimeout("setStatus()", 1500)) = null
      Jul 27, 2001 11:19:23 AM sun.plugin.usability.PluginLogger log
      INFO: Evaluate function setStatus() { self.status='Applet FilePost loaded';};void(setTimeout("setStatus()", 1500)) = null
      Opening http://129.144.85.140:8080/https/tests/DocBase.java
      Jul 27, 2001 11:19:24 AM sun.plugin.usability.PluginLogger log
      INFO: Opening http://129.144.85.140:8080/https/tests/DocBase.java
      Connecting http://129.144.85.140:8080/https/tests/DocBase.java with proxy=webcache-cup:8080
      Jul 27, 2001 11:19:24 AM sun.plugin.usability.PluginLogger log
      INFO: Connecting http://129.144.85.140:8080/https/tests/DocBase.java with proxy=webcache-cup:8080
      Evaluate function setStatus() { self.status='Applet FilePost inited';};void(setTimeout("setStatus()", 1500)) = null
      Jul 27, 2001 11:19:24 AM sun.plugin.usability.PluginLogger log
      INFO: Evaluate function setStatus() { self.status='Applet FilePost inited';};void(setTimeout("setStatus()", 1500)) = null
      /**
       * <APPLET CODE=DocBase.class HEIGHT=300 WIDTH=600>
       * <param name=REQUEST-URL value="http://javaweb/~vmanda/https/DocBase.java">
       * </APPLET>
       */
      import java.awt.*;
      import java.applet.*;
      import java.io.*;
      import java.net.*;


      public class DocBase extends Applet {

          TextArea t;

          public void init() {
      setLayout(new BorderLayout());
      t = new TextArea();
      add(t, BorderLayout.CENTER);

      //show();
      this.setVisible (true) ;
          }

          public void start() {
      String requestStr = "" ;

      try {
      requestStr = getParameter ("REQUEST-URL") ;

      if ((requestStr == null)
      ||
      (! requestStr.startsWith ("http"))) {

      System.out.println (" *** Request URL not set. ***") ;
      }

      URL url = new URL(requestStr);

      System.out.println(getDocumentBase());

      URLConnection conn = url.openConnection();
      conn.setAllowUserInteraction(true);

      conn.connect();

      int i = 0;
      String header;
      do {
      header = conn.getHeaderField(i);
      if (header!=null) {
      System.out.println("Header " + i + " " +
      conn.getHeaderFieldKey(i) + " : " + header);
      }
      i++;
      } while (header!=null);

      InputStream in = conn.getInputStream();

      BufferedInputStream din = new BufferedInputStream(in);

      int ch;

      while ((ch = din.read()) != -1)
      {
      t.append(String.valueOf((char)ch));
      }

      din.close();
      in.close();
      }
      catch (Throwable e) {
      e.printStackTrace();
      }
          }
      }
      Opening https://129.144.85.140:8443/servlet/PostServlet
      Jul 27, 2001 11:19:25 AM sun.plugin.usability.PluginLogger log
      INFO: Opening https://129.144.85.140:8443/servlet/PostServlet
      Connecting https://129.144.85.140:8443/servlet/PostServlet with proxy=webcache-cup:8080
      Jul 27, 2001 11:19:25 AM sun.plugin.usability.PluginLogger log
      INFO: Connecting https://129.144.85.140:8443/servlet/PostServlet with proxy=webcache-cup:8080
      Checking if certificate is in JPI session certificate store
      Jul 27, 2001 11:19:27 AM sun.plugin.usability.PluginLogger log
      INFO: Checking if certificate is in JPI session certificate store
      Evaluate function setStatus() { self.status='Applet FilePost started';};void(setTimeout("setStatus()", 1500)) = null
      Jul 27, 2001 11:19:32 AM sun.plugin.usability.PluginLogger log
      INFO: Evaluate function setStatus() { self.status='Applet FilePost started';};void(setTimeout("setStatus()", 1500)) = null

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                senugulaorcl Sridhar Enugula (Inactive)
                Reporter:
                smadishesunw Srinivas Madishetty (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: