FW: Problem using Https connection on tomcat 4 jdk 1.4

2002-11-18 Thread Ritu Kumar
Hi,
 
I am using tomcat 4.1.12  jdk 1.4.
 
I am having problem using HTTPS as a protocol to connect to another servlet.
( No problem if I use HTTP protocol)
I do not get any errors, but the code seems to hang.
 
If I use tomcat 4.1.12  jdk 1.3 , the same code works fine.
 
Any idea why this could be happining ?

Ritu Kumar 
703-464-5379 

 



Re: FW: Problem using Https connection on tomcat 4 jdk 1.4

2002-11-18 Thread Torsten Fohrer

how do you connecting to the other servlet?

Torsten

On Monday 18 November 2002 21:16, Ritu Kumar wrote:
 Hi,

 I am using tomcat 4.1.12  jdk 1.4.

 I am having problem using HTTPS as a protocol to connect to another
 servlet. ( No problem if I use HTTP protocol)
 I do not get any errors, but the code seems to hang.

 If I use tomcat 4.1.12  jdk 1.3 , the same code works fine.

 Any idea why this could be happining ?

 Ritu Kumar
 703-464-5379


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: FW: Problem using Https connection on tomcat 4 jdk 1.4

2002-11-18 Thread Ritu Kumar
Here is the part of my code to connect to another servlet
 

 System.setProperty(java.protocol.handler.pkgs,
com.sun.net.ssl.internal.www.protocol);
Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
HttpsURLConnection.setDefaultHostnameVerifier(this);
 URL url = new
URL(https://xyz.org/xxx/SystemAuthenticator.jk;);  
 connection = url.openConnection();
//send file

connection.setDoOutput(true);
  
PrintWriter out = new
PrintWriter(connection.getOutputStream());
String outString
=mode=initusername=+username+password=+password;+
out.println(outString);

out.close();
 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 3:29 PM
To: Tomcat Users List
Subject: Re: FW: Problem using Https connection on tomcat 4  jdk 1.4



how do you connecting to the other servlet?

Torsten

On Monday 18 November 2002 21:16, Ritu Kumar wrote:
 Hi,

 I am using tomcat 4.1.12  jdk 1.4.

 I am having problem using HTTPS as a protocol to connect to another
 servlet. ( No problem if I use HTTP protocol)
 I do not get any errors, but the code seems to hang.

 If I use tomcat 4.1.12  jdk 1.3 , the same code works fine.

 Any idea why this could be happining ?

 Ritu Kumar
 703-464-5379


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]