HTTPS from JDK1.2.1 to JDK 1.4.1

We are trying to connect application running on JDK1.2.1 to application in JDK 1.4.1. Both applications are in Oracle 9ias application server but with different JDK and different physical machines.
We are getting following error while trying to access to application on JDK 1.4.1
java.lang.ArrayStoreException
at java.lang.System.arraycopy(System.java)
at java.util.Vector.copyInto(Vector.java)
at com.sun.net.ssl.internal.www.protocol.https.ChunkedInputStream.c(DashoA6275)
at
com.sun.net.ssl.internal.www.protocol.https.ChunkedInputStream.<init>(DashoA6275
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.b(DashoA6275)
at com.sun.net.ssl.internal.www.protocol.https.HttpClient.a(DashoA6275)
at
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getInputStream(Da
shoA6275)
at Perc939CallServlet.callServlet(Perc939CallServlet.java:103)
We are using Entrust certificate and we already put cacerts file from jdk1.4 to jdk1.2.1 in jdk/jre/lib/security.
This application was working till we upgraded version from 1.3.1 to 1.4.1.
Is this is problem of 1.4.1 and how do we resolve this?
Small code that will help is as follows
//Dynamic registration of SunJSSE provider
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
System.setProperty("ssl.SocketFactory.provider", "com.sun.net.ssl.internal.ssl.Provider");
//Create a URL object from the sURL String representation.
uRemoteURL = new URL(sURL);
//Get a connection to the remote object referred to by the URL
ucConn = uRemoteURL.openConnection();
//Set the DoOutput flag to true to use the URL connection for output
ucConn.setDoOutput(true);
ucConn.setRequestProperty("Pragma", "no-cache");
oosToWrite = new ObjectOutputStream(ucConn.getOutputStream());
//Write sInputString to the OutputStream which will be read from the remote servlet
oosToWrite.writeObject(sInputString);
oosToWrite.flush();
oosToWrite.close();
ucConn.connect();
System.out.println("Connection " + ucConn.toString());
if(ucConn==null)
     System.out.println("Connection is Null");
System.out.println("getInputStream " + ucConn.getInputStream());
if(ucConn.getInputStream()==null)
     System.out.println("ucConn.getInputStream() is Null");
// Read the string object from the InputStream and return
oisToRead = new ObjectInputStream(ucConn.getInputStream());
Object oReadObject = oisToRead.readObject();
sOutputString = oReadObject.toString();
oisToRead.close();
return (sOutputString);

Basically ArrayStoreException comes :
Indicate that an attempt has been made to store the wrong type of object into an array of objects.
But in jdk1.4.1 it is said that
No usage of java.lang.ArrayStoreException
it may be problem of jdk1.4.1 and try to upgrade to 1.4.2
Regards,
Anand

Similar Messages

  • Error in @Override while chaning from JDK1.6 to JDk1.5

    Hi,
    I am getting following error while migrating from JDK1.6 to JDK1.5.
    Multiple markers at this line
         - implements org.quartz.Job.execute
         - The method execute(JobExecutionContext) of type TransferFiles must override a superclass
         method
    I have a class which implements Job interface having one method execute(JobExecutionContext context) . I am overriding this method inside one of my class by using @Override annotataion.
    It is working absolutely fine in JDK1.6 but while migrating to JDK1.5 it is showing the above error.
    Kindly help me in this regard.
    Thanks,
    AK

    Thank you very much for your kind help. I would like to tell you that by changing my enviroment to JDK1.5 from JDK1.6 it is asking for change the project facet. After changing the Project Facet from 6.0 to 5.0 I am getting error at @Override annotation line.
    I am sharing my code here.
    @Override
         public void execute(JobExecutionContext arg0) throws JobExecutionException {
              System.out.println("Quartz Scheduler: " + new Date());
              errFileList.clear();
              ArrayList<String> inputFileList = new ArrayList<String>();
              try {
                   Authenticate.setUser();
                   inputFileList = getInputFileList(yesterdayDate());
                   int x = 0;
                   Iterator<String> inputIterator = inputFileList.iterator();
                   while (inputIterator.hasNext()) {
                        String inputFile = inputIterator.next();
                        StringTokenizer st = new StringTokenizer(inputFile, "&");
                        String output = null;
                        while (st.hasMoreTokens()) {
                             String view = (String) st.nextElement();
                             if (view.startsWith("view")) {
                                  StringTokenizer st1 = new StringTokenizer(view, "=");
                                  while (st1.hasMoreTokens()) {
                                       output = (String) st1.nextElement();
                        x++;
                        String outputFile = OUTPUT_FILES + output + XML;
                        getAuthentication(Authenticate.getUserId(), Authenticate
                                  .getPassword());
                        status = copyfile(inputFile, outputFile, x);
                        runTime();
                   runDate();
                   LOG.info("Error Files Are : " + getErrorFileList());
                   LOG.info("No of Error Files : " + errFileList.size());
                   if ((null != status) && (errFileList.size() > 0)) {
                        setSendMail(true);
                        EmailHandler
                                  .dispatchEmail(toMailList(), Email.ERROR_FILES,
                                            TransferFiles.getErrorFileList().toString(),
                                            Email.FROM);
                   // readLogfile(
                   // "C:/Program Files/Apache Software Foundation/Tomcat 5.5/webapps/XmlFileTransformation/FileTransform.log"
              } catch (Exception e) {
                   System.out.println("Exception" + e);
                   LOG.error("Exception" + e);
    Here I have two suggestions coming by eclipse.
    1.create execute method in super type ToolConstants
    2.Remove @Override annotation.
    but I have the same method inside an interface named as Job. So after removing the @Override annotation
    I am getting the following runtime exception.
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    java.lang.NoClassDefFoundError: javax/activation/DataSource
         fileTransform.FileTransServlet.doPost(FileTransServlet.java:52)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    Please help me.
    Thanks,
    Ak

  • BufferedReader.readLine() from a socket repeats input (JDK 1.4 beta/Win95)

    When I call BufferedInput.readLine(), and the data source is a socket, readLine()
    will return the most recent text indefinitely until the client sends more text.
    Isn't BufferedInput.readLine() supposed to clear the
    buffer with each readLine() call?
    Socket settings:
    getTcpNoDelay: false
    getSoLinger: 10
    getSoTimeout: 75
    getSendBufferSize: 8192
    getReceiveBufferSize: 8192
    Locations of complete source and output:
    http://www.nationalinformatics.com/download/SocketServerClientTest.java
    http://www.nationalinformatics.com/download/SocketServerTest_output.txt
    http://www.nationalinformatics.com/download/SocketServerTest.java
    http://www.nationalinformatics.com/download/SocketServerClientTest.java
    http://www.nationalinformatics.com/download/SocketServerClientThread.java
    </PRE>
    Sample output:
    SocketServerThread: readline loop.
    SocketServerThread: Input line is 'hello' (length: 5)
    SocketServerThread: input line was read
    SocketServerThread: readline loop.
    SocketServerThread: Input line is 'hello' (length: 5)
    SocketServerThread: input line was read
    . . . etc, until the client sends "Java Rules!" down the wire . . .
    SocketServerThread: readline loop.
    SocketServerThread: Input line is 'Java Rules!' (length: 11)
    SocketServerThread: input line was read
    SocketServerThread: readline loop.
    SocketServerThread: Input line is 'Java Rules!' (length: 11)
    SocketServerThread: input line was read
    . . . etc . . .
    Thread code that reads input from the client:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    /** SocketServerThread is an independent thread that is used to test
        socket connections.
        <p>Copyright 2001 (c) Richard Schilling.  All rights reserved.
    class SocketServerThread extends Thread {
         private boolean running;
            private Socket socket = null;
            public SocketServerThread(Socket s, boolean r) {
                    socket = s;
              running = r;
            public void run() {
                    try {
                            // Create a reader to receive messages from the client
                            BufferedReader in = new BufferedReader(
                                     new InputStreamReader(socket.getInputStream())
                            String inputLine = null;
                            while ( running) {
                        System.out.println("SocketServerThread: readline loop.");
                        boolean lineread = false;
                        while (!lineread){
                             lineread = true;
                             try {
                                  inputLine = in.readLine();
                             } catch (InterruptedIOException e){
                                  lineread = false;
                                  System.out.println("SocketServerThread: Interrupted exception while reading from 'in'");
                             } catch (SocketException e){
                                  lineread = false;
                                  System.out.println("SocketServerThread: could not read input stream 'in'");
                        if (inputLine != null){
                             if (inputLine.length() > 0){
                                  String TrimmedInputLine = inputLine.trim();
                                  System.out.println("SocketServerThread: Input line is '" + TrimmedInputLine + "' (length: " + TrimmedInputLine.length() + ")");
                                                    /* Process the string that has been received from the client.
                                  System.out.println("SocketServerThread: input line was read");
                                                    if (TrimmedInputLine.equalsIgnoreCase("bye")){
                                       running = false;
                        else{
                                  // set the status of this thread so that it closes the connection and exits.                              
                                  running = false;
                        inputLine = null;
                                    yield();
                            in.close();
                            System.out.println("SocketServerThread: CONNECTION WITH CLIENT CLOSED");
                    } catch (IOException e) {
                            e.printStackTrace();

    Sounds like a bug to me. Do the other read() methods work as expected? I suppose you could compare the source from JDK1.3 with the source from JDK1.4 and see if something changed.
    Worst case write your own method. I had to write one for J2ME since they decided that functionality wasn't important. grr.
    Good luck.

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • Migration of large application from JDK1.4 to 1.6

    Hi,
    I want to migrate some large application code base's from jdk1.4 to jdk1.6. Need some help regarding this. Please let me know the following as mentioned below :
    1. Is there any tool/s available that can be used for this migration (Because manually it is very difficult for a application with almost 15,000 java files and 15 * 10^6 KLOC within a limited time frame).
    2. Steps that should be followed in such cases.
    3, If any tool is not available for such activity what are the salient points that are needed to be considered while migrating.
    Thanks in advance
    AnjanN

    I want to migrate some large application code base's from jdk1.4 to jdk1.6. Need some help regarding this. Please let me know the following as mentioned below :
    1. Is there any tool/s available that can be used for this migration (Because manually it is very difficult for a application with almost 15,000 java files and 15 * 10^6 KLOC within a limited time frame).
    2. Steps that should be followed in such cases.
    3, If any tool is not available for such activity what are the salient points that are needed to be considered while migrating.
    What is it that you think needs to be 'migrated'?
    Most applications will run just fine using 1.6 - it is compatible with 1.4 already.
    You need to conduct your own tests using 1.6 to see if there are any problems/issues with your app.

  • Problem in calling webservice using https from livecycle designer

    I  want to call a webservice written in .net(c#) using https  from livecycle  designer.I can call webservice using http ,but when i try with https it is  failing.If there any special configuration have to do in server for this ?I have  already put crossdomain in server.
    Waiting  for your reply
    thank's

    How did you call from LC? Please help me out either one is fine to me http or https
    Srujan

  • Configurational settings for calling HTTP from ABAP

    Hi,
    I need to call HTTP from ABAP.
    Other than ABAP code, what configurational settings (and functional settings, if any) I need to do for this scenario..
    Please help...
    Thanks,
    Shivaa...
    Moderator message - Duplicate post locked
    Edited by: Rob Burbank on May 7, 2009 3:44 PM

    Hi All,
    I have a problem to pass a file.txt in a parameter of a web service.
    Iam using CL_HTTP_CLIENT and I am passing the parameters (user, password and file):
    clear wa_form.
    wa_form-name = 'user'.
    wa_form-value = '33333333333'.
    append wa_form to it_form.
    clear wa_form.
    wa_form-name = 'password'.
    wa_form-value = '11111111'.
    append wa_form to it_form.
    clear wa_form.
    wa_form-name = 'file'.
    wa_form-value = data. ---> "data" is a type string with the data of the file.txt.
    append wa_form to it_form.
      r_client->request->set_form_fields( fields = it_form ).
    I have not problem with the user and password parameters.
    Thank.

  • How to retrieve the protocol (http / https) from WDJ application URL

    Hi All,
    In my WDJ component, I need to get the ServerName, Port and the protocol (http / https) from the WDJ application URL. I am able to get the server name and the port but unable to get the protocol. Any help would be highly appreciated.
    Code I am using is :
    String ServerName = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerName();
    String port = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getServerPort();
    Regards,
    Srinivas Sistu

    Hello,
    The interface ServletRequest has the following methods:
    getProtocol:  Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
    getSchema: Returns the name of the scheme used to make this request, for example, http, https, or ftp. Different schemes have different rules for constructing URLs, as noted in RFC 1738.
    IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
    HttpServletRequest httpRequest = (HttpServletRequest) WDProtocolAdapter
           .getProtocolAdapter().getRequestObject().getProtocolRequest();
    String protocol = httpRequest.getScheme();
    String url = protocol + "://" + request.getServerName() + ":" + request.getServerPort();
    msgManager.reportSuccess(url);
    Regards,
    Jann Cortés

  • Problems After shifting swing application from jdk1.3 to 1.4

    hi,
    i have shifted my Swing application from jdk1.3 to 1.4, some component settings changed in j2se1.4. are listed below
    1). i have added JComboBox to JPanel using BoxLayout, in jdk1.3 it is normal where as in 1.4 comboBox height is increased to panel height.
    Sample code
    (in a Panel)
         setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
    add(getYearComboBox());
         add(getMonthNameComboBox());
         add(getDayOfMonthComboBox());
    2). in jdk1.3 the icon which is set to JFrame is visible in the JOptioPane.showConfirmationDialog() also, but in 1.4 the icon is not visible in conformation dialog box.
    Sample Code
    in a JFrame's constructor
    public OptionPaneTest()
    ImageIcon icon = new ImageIcon("icon.gif");
    setIconImage(icon.getImage());     
    setSize(250,100);
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(java.awt.event.WindowEvent e) {
                        System.exit(0);
    setVisible(true);
    JOptionPane.showMessageDialog(this,"hai", "Hai",JOptionPane.WARNING_MESSAGE);
    3). the Labels added to the panel or frame are displaying in light blue color with jdk1.3 and the same label displaying in black with j2se1.3
    Sample Code
    in a JPanel
    setLayout(new BorderLayout(20, 20));
    add(new JLabel("Testing Label Color"), BorderLayout.CENTER);
    please send solution to any or all.
    thanks in advance,
    Pavan.DV

    Thanks for your sugession.
    You realized me by showing the fact that there are no many classes
    Keep suggesting like this.
    I don't even know how to see the API documentation Before you told me.
    Don't take any issue as simple thing and never give foolish suggessions like this.
    If you know the Answer then share it or else musukoni kurcho ra

  • XSLT recursion changed direction from JDK1.4 to JDK1.5?

    We make use of XSLT template recursion, and when we tried to test our code with JDK 1.5, the recursion "changed direction". I believe some sort of optimization is taking place that's inappropriately switching around the order or something.
    Here's a test case:
    test-data.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <rating>3</rating>test-temp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet
        version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:template match="/">
    <html>
    <body>
    <xsl:call-template name="showRating">
    <xsl:with-param name="num" select="'1'"/>
    </xsl:call-template>
    </body>
    </html>
    </xsl:template>
    <!-- SHOW RATED STARS -->
    <xsl:template name="showRating">
       <xsl:param name="num"/>
        <xsl:if test="$num <= rating">
        <img border="0" src="yellow_star.gif" valign="absmiddle"/>
        </xsl:if>
        <xsl:if test="$num > rating">
        <img border="0" src="white_star.gif" valign="absmiddle"/>
        </xsl:if>
    <xsl:if test="$num <= '4'">
    <xsl:text>
    </xsl:text>  <!-- CRLF -->
    <xsl:call-template name="showRating">
    <xsl:with-param name="num" select="$num + 1" />
    </xsl:call-template>
    </xsl:if>
    </xsl:template>
    </xsl:stylesheet>testxslt.java:
    import java.io.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class testxslt {
      public static void main(String[] args) {
        try {
          new testxslt();
        catch(Throwable t) {
          System.err.println(t + ": " + t.getMessage());
          t.printStackTrace();
      private testxslt() throws Exception {
        String stylesheet = readFile("test-temp.xml");
        String data = readFile("test-data.xml");
        String out = transform(stylesheet, data);
        System.out.println(out);
      private String readFile(String filename) throws IOException {
        StringBuffer out = new StringBuffer();
        Reader r = new FileReader(filename);
        int count;
        char buf[] = new char[1024];
        while((count = r.read(buf)) > 0)
          out.append(buf, 0, count);
        r.close();
        return out.toString();
      private String transform(String stylesheet, String data) throws Exception {
        ByteArrayOutputStream resultStream = new ByteArrayOutputStream();
        StreamResult transStreamResult = new StreamResult(resultStream);
        Source xmlData = new StreamSource(new StringReader(data));
        StreamSource styleSource = new StreamSource(new StringReader(stylesheet));
        TransformerFactory tf = TransformerFactory.newInstance();
        Templates t = tf.newTemplates(styleSource);
        Transformer trans = t.newTransformer();
        trans.transform(xmlData, transStreamResult);
        return resultStream.toString();
    }If you run it with jdk1.4, the yellow stars will (correctly) print first. If you run it with JDK 1.5, the white stars will print first.
    WTF?

    More info: I downloaded xalan from xml.apache.org, and by adding xalan.jar to the classpath, I can get JDK1.5 to output the stars in the right order. So this appears to be some issue having directly to do with the XSLTC transformer.

  • Is JDMK 5.1 supported from jdk1.5.0 / Solaris10?

    Hi all,
    I have to upgrade a snmp agent based on jdmk 5.1 and i have to install it on Solaris10 with jdk1.5.0. The system is currently running on Solaris 9 with jdk1.4.2.
    I wonder if jdmk 5.1 support jdk1.5.0/Solaris10.
    From the jdmk 5.1 product page the issue is not clear: http://java.sun.com/products/jdmk/components.html
    thanks in advance,
    paolo_76

    Hi all,
    I have to upgrade a snmp agent based on jdmk 5.1 and
    i have to install it on Solaris10 with jdk1.5.0. The
    system is currently running on Solaris 9 with
    jdk1.4.2.
    I wonder if jdmk 5.1 support jdk1.5.0/Solaris10.Hi Paolo,
    Yes Java DMK 5.1 was released specifically to support jdk 1.5.0.
    You should refer to Java DMK 5.1 release notes - I believe the information
    is in there.
    If you have more questions regarding Java DMK I suggest you send them to
    the JDMK-FORUM. You can subscribe to the JDMK-FORUM from
    http://archives.java.sun.com/jdmk-forum.html
    (click on 'join or leave the list')
    I hope this will help you,
    Best regards,
    -- daniel
    From the jdmk 5.1 product page the issue is not
    clear:
    http://java.sun.com/products/jdmk/components.html
    thanks in advance,
    paolo_76

  • Connecting to https with jdk1.5 throwing InvalidAlgorithmParameterException

    Hi,
    My current system has jdk1.3, weblogic7.1 and axis1.1.
    I have a simple class in java which I use to connect to https://*.jsp.
    Here is the sample code.
    System.setProperty("javax.net.ssl.trustStore","/usr/local/client.keystore");
    System.setProperty"java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());   
    System.setProperty("java.security.egd", "file:/dev/urandom");
    URL url = new URL("https://xyz.com/index.jsp");
    InputStreamReader isr = new InputStreamReader(url.openStream());
       char[] buf = new char[1024];
        int nread;
        while ((nread = isr.read(buf, 0, buf.length)) > 0)
          System.out.print(new String(buf, 0, nread));
        System.out.flush();This code works well in jdk1.3 with jsse.jar, jnet.jar, jcert.jar in the classpath and a keystore which has a trusted entry for https://xyz.com/
    I use the first 4lines of the code in a Axis Client to transfer SOAP msgs in https protocol.
    Now I am migrating to JDK1.5, WebLogic9.1 and Axis1.3.
    I have the same keystore. I do not have jsse.jar, jnet.jar, jcert.jar because jdk1.5 has JSSE.
    This same set of code is giving exception in JDK1.5.
    Any Solution?
    Thanks
    Senthil
    Here is the exception from the stack trace
    Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trust
    Anchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptionAlerts.java:166)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1443)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1426)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1045)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
    at java.net.URL.openStream(URL.java:1007)
    at axistest.URLReader.main(URLReader.java:24)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:56)
    at sun.security.validator.Validator.getInstance(Validator.java:146)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:840)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)

    I have se same problem.
    I do a System.setProperty("javax.net.ssl.trustStore", <path_filetruststore>)
    and I have the same error.
    Can you tell me if you revolve this problem? how?

  • Problems(java.lang.OutOfMemoryError)  Migrating from jdk1.3 to jdk1.4

    Hi,
    We are trying to migrate our application written using Swing EJB,JMS from jdk 1.3.1_06-b01 version to jdk1.4.1. With jdk1.3 everything works fine, but with jdk1.4, after the client is launched I get a java.lang.OutOfMemoryError, even for simple operation like seleting a node in the tree. We had set the initial heap size to 64m and max heap size to 150m. If I change the heap size to -Xms=96m an d-Xmx=256m the application works fine, but it hogs a lot of memory(nearly 210m for simple operations). Is there a memory issue with jdk1.4. If yes are there any possible workarounds?
    Any help would be appreciated.
    Thanks
    Dheeresh

    Don't use any memory settings, the memory will be allowed dynamically.
    Denis

  • Oracle Lite + Resin + jdk1.2.2 or jdk 1.3.1 problem

    Hi!
    Can some one help me this the following:
    I used Oracle Lite database, Resin app server and jdk1.2.2
    When I try to connect my database through simple java-application, all goes fine! But, when I trying to get database communication from my application server and problem arise. First of all dll's such as
    OLJDBC40.DLL, OLAD2040.DLL, OLOBJ40.DLL, OLOD2040.DLL OLSQL40.DLL are in the Path and JVM loads them at runtime. I got connection to DB. Than I try to get some DatabaseMetaData info and got EXCEPTION_ACCESS_VIOLATION (for jdk1.3) and "java.exe has generated error (for jdk1.2.2)" errors from VM.
    So, any idea?
    Any help apriciated...
    RGS,
    parasolko

    Hi,
    I have got the similar problem when I used MS SQL server + Tomcat + JDK1.3.0 via JdbcOdbc driver. In that configuration the JVM crashs very often. It seems that JdbcOdbc's got unstable problem. Then, I tried other type 4 JDBC driver, it works fine and JVM won't crash. Try Sprinta 2000 JDBC driver, it's a type 4 driver and fast stable.
    Ma

  • How do I access https from a non administrator account?

    I have my son set up as a user on the home iMac. I enabled parental controls. After installing 10.6.8, his account was unable to access https. I disabled parental controls and restarted. He was still unable to access https. I gave him administrator rights then he was able to access https. I do not want him to have administrator rights and I want to enable parental controls. I also want him to have access to gmail which requires https. Is this possible or was this disabled as part of the update? Note - this has worked fine under 10.5 and 10.6.

    Even easier, enable parental controls like you wanted to, then allow unrestricted access to web sites, then use DNS IP addresses 208.67.222.222 (220.220 for 2nd) onthe computer for DNS,  then pay $10/yr for an opendns.com account where you restrict access to unwanted sites from your house. that easy.

Maybe you are looking for

  • Mac OS X 10.7.4 Broke OpenGL Profiler, how to fix it?

    So as it says, 10.7.4 doesn't allow OpenGL Profiler to work with an applicaiton. Break points, viewing reasources, etc doesn't register. I found this thread: https://discussions.apple.com/thread/3958500?start=0&tstart=0 But could not find out how to

  • How do I cancel a download that won't go through....it's waiting

    I am trying download music.....there is a problem with my credit card so it won't download...it is in a holding pattern trying to download.  My laptop downloaded the music and used the same credit card.  My iPad just won't give up.  How do I cancel..

  • Jsp and db2 problem

    Hi guys: I installed tomcat4, db2 run time client on one red hat 7.2. Everything works fine. My jsp can access db2 database. Now I am installing the same thing into another box, red hat 7.2, tomcat4 and db2 run time client. I can write a java code to

  • Virtual copy in a smart collection does not show up in that collection

    LR5; When I make a virtual copy in a smart collection it does not show up in that collection but in the original folder... All of the metadata and custom fields are identical....

  • Getting images to render without degradation

    Hi guys I need some help. I'm a new Final Cut Studio user, and want to know how to ensure my imported images (high rez JPEG files) render smoothly in FC? The specific images are newspaper clippings, and when I render them as a Quicktime movie, the te