From owner-freebsd-java@FreeBSD.ORG Wed Oct 12 19:40:54 2005 Return-Path: X-Original-To: java@freebsd.org Delivered-To: freebsd-java@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1449516A41F for ; Wed, 12 Oct 2005 19:40:54 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 413D743D5A for ; Wed, 12 Oct 2005 19:40:53 +0000 (GMT) (envelope-from ronald-freebsd8@klop.yi.org) Received: from [82.171.39.195] (helo=guido.klop.ws) by smtp-out0.tiscali.nl with smtp (Tiscali http://www.tiscali.nl) id 1EPmT6-0005OV-GS for ; Wed, 12 Oct 2005 21:40:52 +0200 Received: (qmail 97937 invoked from network); 12 Oct 2005 19:40:50 -0000 Received: from localhost.thuis.klop.ws (HELO outgoing.local) (127.0.0.1) by localhost.thuis.klop.ws with SMTP; 12 Oct 2005 19:40:50 -0000 Date: Wed, 12 Oct 2005 21:40:48 +0200 To: "java@freebsd.org" From: "Ronald Klop" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: User-Agent: Opera M2/8.50 (FreeBSD, build 1358) Cc: Subject: http over ssl gives an empty map of headerFields X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Oct 2005 19:40:54 -0000 Hello, I'm trying to run an application which makes a connection over ssl. It retreives some fields using the method HttpUrlConnection.getHeaderFields(). But this returns an empty Map. If I run the same program on a Linux machine with Sun JDK 1.5 it runs very well and get some headerfields (which are important for the application). My system is. $ uname -a FreeBSD guido.klop.ws 6.0-RC1 FreeBSD 6.0-RC1 #0: Tue Oct 11 00:29:56 CEST 2005 root@guido.klop.ws:/usr/obj/usr/src/sys/GUIDO i386 $ java -version java version "1.5.0-p2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-p2-root_06_oct_2005_21_46) Java HotSpot(TM) Client VM (build 1.5.0-p2-root_06_oct_2005_21_46, mixed mode) If I can find the time I will try to create a better testcase, but maybe it is a known problem and somebody knows how to fix this. Ronald. -- Ronald Klop Amsterdam, The Netherlands