From owner-freebsd-java@FreeBSD.ORG Fri Sep 10 22:13:59 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AFAF106567A; Fri, 10 Sep 2010 22:13:59 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 10D9E8FC0C; Fri, 10 Sep 2010 22:13:58 +0000 (UTC) Received: by qyk31 with SMTP id 31so47917qyk.13 for ; Fri, 10 Sep 2010 15:13:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=qMVzBg+LxomehOUp2N6OvwFtoi5RzhmJZ1+DKExNGRs=; b=Rg/ZdoCjjwSLO3iCMh4dQ94hfdBtmcrSY/KmlhE/MxffHUAcCWtkb8WSwdMouIQiGI McqBgwxM9XUw1Sxvzqrjxx2yrAd7PNx9DUJplHsmvg5P8XXZdY3qrie8LUf51c2p2FxB H3BWSYM1fj+M9GXPRXoKpb+ARypXKTnzCpyMM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=TDF2D/o50I3NjlIVLOm0vZu3xbQJxqBPnQ7U02dQu14+XzkycCbsHLjvlIUloiWgIB 8mlxy/PZ6QDYGpLL4UW+LV8wqTnNwPLT4tka2DOww0tnTwumNJJ14Sitm8tatMMKsAHF R6LaFrCAgUt86Q62YnpXLwKsWmVCuZnATz/6U= Received: by 10.224.28.211 with SMTP id n19mr762157qac.318.1284156838112; Fri, 10 Sep 2010 15:13:58 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.188.204 with HTTP; Fri, 10 Sep 2010 15:13:38 -0700 (PDT) In-Reply-To: <201009101746.52045.jkim@FreeBSD.org> References: <201009091743.01109.jkim@FreeBSD.org> <201009101446.40030.jkim@FreeBSD.org> <201009101746.52045.jkim@FreeBSD.org> From: Ivan Voras Date: Sat, 11 Sep 2010 00:13:38 +0200 X-Google-Sender-Auth: lgs6qLO3enLv6P-xitOerWFG2TA Message-ID: To: Jung-uk Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-java@freebsd.org Subject: Re: IcedTea6 Mozilla plugin with OpenJDK6 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: Fri, 10 Sep 2010 22:13:59 -0000 On 10 September 2010 23:46, Jung-uk Kim wrote: > All applets or some applets? =C2=A0Can you test some trivial applets? > Something like the following: > > file:///usr/local/openjdk6/demo/jfc/SwingApplet/SwingApplet.html Surprisingly, yes I can. But I cannot start for example this one: http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html And even with the simple applet that works I get ridiculous CPU usage of firefox: PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMM= AND 647 ivoras 15 44 0 228M 94320K ucond 5 1:58 268.95% firefox-bin >> (process:82994): Gtk-WARNING **: Locale not supported by C library. >> =C2=A0 =C2=A0 =C2=A0 Using the fallback 'C' locale. >> *** NSPlugin Viewer =C2=A0*** WARNING: unhandled variable 18 (> variable>) in NPN_GetValue() > > Although it is a different problem, I know what it is. :-) > > Please try www/nspluginwrapper-devel instead of www/nspluginwrapper: > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/nspluginwrapper-devel/ This makes firefox crash with the output: betelgeuse:~> firefox3 (process:98515): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. *** NSPlugin Viewer *** ERROR: NPN_GetValue() wait for reply: Connection c= losed *** NSPlugin Viewer *** WARNING:(/home/jkim/new/a/nspluginwrapper-1.3.0/src/npw-viewer.c:1136):invo= ke_NPN_GetValue: assertion failed: (rpc_method_invoke_possible(g_rpc_connection)) Abort trap (core dumped) I had to reinstall the old one before it works again. It still produces these error messages but it doesn't crash: (process:592): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. *** NSPlugin Viewer *** WARNING: unhandled variable 18 () in NPN_GetValue() *** NSPlugin Viewer *** WARNING: unhandled variable 18 () in NPN_GetValue() (for what it's worth, my LOCALE is hr_HR.UTF-8). >> openjdk version "1.6.0" >> OpenJDK Runtime Environment (build 1.6.0-b20) >> OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode) >> net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: >> Could not initialize applet. > Do you see /var/tmp/icedteaplugin-* directory, something like this? > > %ls -dl /var/tmp/icedteaplugin-jkim/ > drwx------ =C2=A02 jkim =C2=A0wheel =C2=A01536 Sep =C2=A09 18:32 /var/tmp= /icedteaplugin-jkim/ Yes, it contains some pipes: betelgeuse:/var/tmp/icedteaplugin-ivoras> ll total 0 prw------- 1 ivoras wheel 0 Sep 11 00:10 543-icedteanp-appletviewer-to-plugin| prw------- 1 ivoras wheel 0 Sep 11 00:10 543-icedteanp-plugin-to-appletviewer| prw------- 1 ivoras wheel 0 Sep 11 00:11 647-icedteanp-appletviewer-to-plugin| prw------- 1 ivoras wheel 0 Sep 11 00:11 647-icedteanp-plugin-to-appletviewer|